Documentation ¶
Index ¶
- Variables
- type R
- func (r *R) ImageExists(image string) (bool, error)
- func (r *R) ImageHash(image string) (string, error)
- func (r *R) ImageLoad(imgpath string) error
- func (r *R) ImageRemove(imageID string) error
- func (r *R) ImageSave(image string) (pathToArchive string, _ error)
- func (r *R) ImageTag(src string, target string) error
- type RegistryClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrImageNotFound = fmt.Errorf("image not found") ErrConnectionFailed = errors.New("connection to docker daemon failed") )
Functions ¶
This section is empty.
Types ¶
type R ¶
type R struct {
// contains filtered or unexported fields
}
type RegistryClient ¶
type RegistryClient interface { ImageExists(image string) (bool, error) ImageHash(image string) (string, error) ImageSave(image string) (pathToArchive string, _ error) ImageRemove(image string) error ImageTag(src string, target string) error ImageLoad(pathToArchive string) error }
func NewRegistryClient ¶
func NewRegistryClient() (RegistryClient, error)
Click to show internal directories.
Click to hide internal directories.