ociartifact

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobAccessForOCIArtifact

func BlobAccessForOCIArtifact(refname string, opts ...Option) (blobaccess.BlobAccess, string, error)

func BlobAccessProviderForOCIArtifact

func BlobAccessProviderForOCIArtifact(name string, opts ...Option) bpi.BlobAccessProvider

Types

type Filter added in v0.7.0

type Filter = filters.Filter

type Option

type Option = optionutils.Option[*Options]

func WithContext

func WithContext(ctx oci.ContextProvider) Option

func WithFilter added in v0.7.0

func WithFilter(f filters.Filter) Option

func WithPrinter

func WithPrinter(p common.Printer) Option

func WithVersion

func WithVersion(v string) Option

type Options

type Options struct {
	Context oci.Context
	Version string
	Filter  Filter
	Printer common.Printer
}

func (*Options) ApplyTo

func (o *Options) ApplyTo(opts *Options)

func (*Options) GetPrinter

func (o *Options) GetPrinter() common.Printer

func (*Options) OCIContext

func (o *Options) OCIContext() oci.Context

func (*Options) Printf

func (o *Options) Printf(msg string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL