Documentation
¶
Index ¶
- func Exist(ctx context.Context, reference string, tag string, plainHTTP bool) (bool, error)
- func Exists(ctx context.Context, ref string, tag string, registries []Registry) map[string]bool
- type Exister
- type Image
- type ImportOption
- type Puller
- type Pusher
- type Registry
- func (r Registry) Exist(ctx context.Context, name string, tag string) (bool, error)
- func (r Registry) Fetch(ctx context.Context, name string, tag string) (*v1.Descriptor, error)
- func (r Registry) GetName() string
- func (r Registry) Pull(ctx context.Context, name string, tag string) (*v1.Descriptor, error)
- func (r Registry) Push(ctx context.Context, sourceURL string, name string, tag string, arch *string) (v1.Descriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Image ¶
type Image struct { Registry string Repository string Tag string Digest string UseDigest bool Patch *bool }
func RefToImage ¶ added in v0.1.6
func (Image) TagOrDigest ¶
type ImportOption ¶
Click to show internal directories.
Click to hide internal directories.