Documentation ¶
Index ¶
- func PrintManifestList(dt []byte, desc ocispec.Descriptor, refstr string, out io.Writer) error
- func RegistryAuthForRef(ref string, a Auth) (string, error)
- type Auth
- type Opt
- type Resolver
- func (r *Resolver) Combine(ctx context.Context, in string, descs []ocispec.Descriptor) ([]byte, ocispec.Descriptor, 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintManifestList ¶
Types ¶
type Auth ¶
type Auth interface {
GetAuthConfig(registryHostname string) (clitypes.AuthConfig, error)
}
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Combine ¶
func (r *Resolver) Combine(ctx context.Context, in string, descs []ocispec.Descriptor) ([]byte, ocispec.Descriptor, error)
func (*Resolver) GetDescriptor ¶
Click to show internal directories.
Click to hide internal directories.