podmancrtclient

package
v0.0.0-...-f12bd69 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 15 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 context.Context) *Instance

func NewBuilder

func NewBuilder(providerClient context.Context, 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