dockercrtclient

package
v0.0.0-...-47a5711 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func New

func New(providerClient *docker.Client) *Instance

func NewBuilder

func NewBuilder(providerClient *docker.Client, showBuildLogs bool) *Instance

func (*Instance) BuildImage

func (ref *Instance) BuildImage(options imagebuilder.DockerfileBuildOptions) error

func (*Instance) BuildOutputLog

func (ref *Instance) BuildOutputLog() string

func (*Instance) GetImagesHistory

func (ref *Instance) GetImagesHistory(imageRef string) ([]crt.ImageHistory, error)

func (*Instance) GetRegistryAuthConfig

func (ref *Instance) GetRegistryAuthConfig(account, secret, configPath, registry string) (crt.AuthConfig, error)

func (*Instance) HasImage

func (ref *Instance) HasImage(imageRef string) (*crt.ImageIdentity, error)

func (*Instance) InspectImage

func (ref *Instance) InspectImage(imageRef string) (*crt.ImageInfo, error)

func (*Instance) ListImages

func (ref *Instance) ListImages(imageNameFilter string) (map[string]crt.BasicImageInfo, error)

func (*Instance) ListImagesAll

func (ref *Instance) ListImagesAll() ([]crt.BasicImageInfo, error)

func (*Instance) LoadImage

func (ref *Instance) LoadImage(localPath string, outputStream io.Writer) error

func (*Instance) PullImage

func (ref *Instance) PullImage(opts crt.PullImageOptions, authConfig crt.AuthConfig) error

func (*Instance) SaveImage

func (ref *Instance) SaveImage(imageRef, localPath string, extract, removeOrig bool, inactivityTimeout int) error

Jump to

Keyboard shortcuts

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