Documentation
¶
Index ¶
- func GetCanonicalImageName(rawImageName string) (reference.Named, error)
- func GetCanonicalImagePullOptions(canonicalImageName string) types.ImagePullOptions
- type Docker
- func (d Docker) DockerRmi(imageID string) error
- func (d Docker) GetContainerListByName(containerName string) ([]types.Container, error)
- func (d Docker) ImagePull(image string) error
- func (d Docker) ImagesList() ([]types.ImageSummary, error)
- func (d Docker) ImagesPull(images []string) error
- func (d Docker) ImagesPullByImageListFile(fileName string) error
- func (d Docker) ImagesPullByList(images []string) error
- func (d Docker) RmContainerByName(containerName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCanonicalImageName ¶
func GetCanonicalImagePullOptions ¶
func GetCanonicalImagePullOptions(canonicalImageName string) types.ImagePullOptions
Types ¶
type Docker ¶
type Docker struct { Auth string Username string Password string // contains filtered or unexported fields }
func NewDockerClient ¶
func (Docker) GetContainerListByName ¶
func (Docker) ImagesList ¶
func (d Docker) ImagesList() ([]types.ImageSummary, error)
func (Docker) ImagesPull ¶
func (Docker) ImagesPullByImageListFile ¶
func (Docker) ImagesPullByList ¶
func (Docker) RmContainerByName ¶
Click to show internal directories.
Click to hide internal directories.