Skip to content

Refactor OnCompleted() of metadata handlers #1573

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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