docker

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCanonicalImageName added in v0.5.1

func GetCanonicalImageName(rawImageName string) (reference.Named, error)

func GetCanonicalImagePullOptions added in v0.5.1

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 NewDockerClient() (*Docker, error)

func (Docker) DockerRmi

func (d Docker) DockerRmi(imageID string) error

func (Docker) GetContainerListByName

func (d Docker) GetContainerListByName(containerName string) ([]types.Container, error)

func (Docker) ImagePull

func (d Docker) ImagePull(image string) error

func (Docker) ImagesList

func (d Docker) ImagesList() ([]*types.ImageSummary, error)

func (Docker) ImagesPull

func (d Docker) ImagesPull(images []string) error

func (Docker) ImagesPullByImageListFile

func (d Docker) ImagesPullByImageListFile(fileName string) error

func (Docker) ImagesPullByList

func (d Docker) ImagesPullByList(images []string) error

func (Docker) RmContainerByName

func (d Docker) RmContainerByName(containerName string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL