Documentation ¶
Index ¶
- func RegistryAuthForRef(ref string, a Auth) (string, error)
- type Auth
- type Opt
- type Printer
- type Resolver
- func (r *Resolver) Combine(ctx context.Context, srcs []*Source) ([]byte, ocispec.Descriptor, error)
- func (r *Resolver) Copy(ctx context.Context, src *Source, dest reference.Named) error
- func (r *Resolver) Get(ctx context.Context, in string) ([]byte, ocispec.Descriptor, error)
- func (r *Resolver) GetDescriptor(ctx context.Context, in string, desc ocispec.Descriptor) ([]byte, error)
- func (r *Resolver) Push(ctx context.Context, ref reference.Named, desc ocispec.Descriptor, dt []byte) error
- func (r *Resolver) Resolve(ctx context.Context, in string) (string, ocispec.Descriptor, error)
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth interface {
GetAuthConfig(registryHostname string) (clitypes.AuthConfig, error)
}
type Printer ¶ added in v0.8.0
type Printer struct {
// contains filtered or unexported fields
}
func NewPrinter ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.