Documentation ¶
Index ¶
- func NewTagManifestStatusPrinter(target oras.Target) oras.Target
- func Print(a ...any) error
- func PrintStatus(desc ocispec.Descriptor, status string, verbose bool) error
- func PrintSuccessorStatus(ctx context.Context, desc ocispec.Descriptor, status string, ...) error
- func ShortDigest(desc ocispec.Descriptor) (digestString string)
- func StatusPrinter(status string, verbose bool) func(context.Context, ocispec.Descriptor) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTagManifestStatusPrinter ¶
func NewTagManifestStatusPrinter(target oras.Target) oras.Target
NewTagManifestStatusPrinter creates a wrapper type for printing tag status.
func PrintStatus ¶ added in v0.14.0
func PrintStatus(desc ocispec.Descriptor, status string, verbose bool) error
PrintStatus prints transfer status.
func PrintSuccessorStatus ¶ added in v0.14.0
func PrintSuccessorStatus(ctx context.Context, desc ocispec.Descriptor, status string, fetcher content.Fetcher, committed *sync.Map, verbose bool) error
PrintSuccessorStatus prints transfer status of successors.
func ShortDigest ¶
func ShortDigest(desc ocispec.Descriptor) (digestString string)
ShortDigest converts the digest of the descriptor to a short form for displaying.
func StatusPrinter ¶ added in v0.14.0
StatusPrinter returns a tracking function for transfer status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.