Documentation ¶
Index ¶
- type Instance
- func (ref *Instance) BuildImage(options imagebuilder.DockerfileBuildOptions) error
- func (ref *Instance) BuildOutputLog() string
- func (ref *Instance) GetImagesHistory(imageRef string) ([]crt.ImageHistory, error)
- func (ref *Instance) GetRegistryAuthConfig(account, secret, configPath, registry string) (crt.AuthConfig, error)
- func (ref *Instance) HasImage(imageRef string) (*crt.ImageIdentity, error)
- func (ref *Instance) InspectImage(imageRef string) (*crt.ImageInfo, error)
- func (ref *Instance) ListImages(imageNameFilter string) (map[string]crt.BasicImageInfo, error)
- func (ref *Instance) ListImagesAll() ([]crt.BasicImageInfo, error)
- func (ref *Instance) LoadImage(localPath string, outputStream io.Writer) error
- func (ref *Instance) PullImage(opts crt.PullImageOptions, authConfig crt.AuthConfig) error
- func (ref *Instance) SaveImage(imageRef, localPath string, extract, removeOrig bool, inactivityTimeout int) error
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 (*Instance) BuildImage ¶
func (ref *Instance) BuildImage(options imagebuilder.DockerfileBuildOptions) error
func (*Instance) BuildOutputLog ¶
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 (*Instance) ListImages ¶
func (*Instance) ListImagesAll ¶
func (ref *Instance) ListImagesAll() ([]crt.BasicImageInfo, error)
func (*Instance) PullImage ¶
func (ref *Instance) PullImage(opts crt.PullImageOptions, authConfig crt.AuthConfig) error
Click to show internal directories.
Click to hide internal directories.