image

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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()
}

Jump to

Keyboard shortcuts

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