Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOptions ¶
ListOptions represents list options
type PullOptions ¶
PullOptions represents pull options
type PullResult ¶
PullResult represents pull result
type PushOptions ¶
PushOptions represents push options
type PushResult ¶
type PushResult struct {
Repository string
Tag string
Digest string
Size string
RegistryURL string
}
PushResult represents push result
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry handles registry operations
func (*Registry) ListLocal ¶
func (r *Registry) ListLocal(options *ListOptions) ([]ImageInfo, error)
ListLocal lists local images
func (*Registry) Pull ¶
func (r *Registry) Pull(options *PullOptions) (*PullResult, error)
Pull pulls an image from a registry
func (*Registry) Push ¶
func (r *Registry) Push(options *PushOptions) (*PushResult, error)
Push pushes an image to a registry
func (*Registry) ValidateLocalImage ¶
ValidateLocalImage validates that an image exists locally
Click to show internal directories.
Click to hide internal directories.