Skip to content

Refactor OnCompleted() of metadata handlers #1573

@wangxiaoxuan273

Description

@wangxiaoxuan273

OnCompleted should have no parameters as it only renders metadata output. We also need to make it an independent interface and make metadata handlers contain it.

The OnCompleted() function will be renamed as Render().

Affected command:

  • oras attach (refactor done)
  • oras pull (done)
  • oras manifest push (done)
  • oras manifest index
  • oras discover (done)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions