Documentation ¶
Index ¶
- type ContainerImage
- func (ci *ContainerImage) CheckContainerImage() error
- func (ci *ContainerImage) EnsureSourceImage() error
- func (ci *ContainerImage) GetImage(all bool) error
- func (ci *ContainerImage) GetMetadata() error
- func (ci *ContainerImage) GetReference() error
- func (ci *ContainerImage) RetagImage(srcImage, destImage string) error
- func (ci *ContainerImage) SetDockerClient() error
- type ContainerImageInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerImage ¶
type ContainerImage struct { DClient *dockerclient.Client URL string FilePath string Auth string TLSVerify bool Debug bool Manifest *types.ImageInspect Ref *reference.DockerImageReference }
func NewContainerImage ¶
func NewContainerImage(url, auth, filepath string, dCLi *dockerclient.Client) (*ContainerImage, error)
func (*ContainerImage) CheckContainerImage ¶
func (ci *ContainerImage) CheckContainerImage() error
func (*ContainerImage) EnsureSourceImage ¶
func (ci *ContainerImage) EnsureSourceImage() error
func (*ContainerImage) GetImage ¶
func (ci *ContainerImage) GetImage(all bool) error
func (*ContainerImage) GetMetadata ¶
func (ci *ContainerImage) GetMetadata() error
func (*ContainerImage) GetReference ¶
func (ci *ContainerImage) GetReference() error
func (*ContainerImage) RetagImage ¶
func (ci *ContainerImage) RetagImage(srcImage, destImage string) error
func (*ContainerImage) SetDockerClient ¶
func (ci *ContainerImage) SetDockerClient() error
type ContainerImageInterface ¶
type ContainerImageInterface interface { GetImage() GetMetadata() GetReference() }
Click to show internal directories.
Click to hide internal directories.