Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Podman cli tool Podman = "podman" // Docker cli tool Docker = "docker" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleReader ¶ added in v1.5.3
type BundleReader struct {
}
func NewBundleReader ¶ added in v1.5.3
func NewBundleReader() *BundleReader
func (*BundleReader) GetBundle ¶ added in v1.5.3
func (b *BundleReader) GetBundle(image, outputDir string) error
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
CommandRunner is configured to select a container cli tool and execute commands with that tooling.
func NewCommandRunner ¶
func NewCommandRunner(containerTool string) *CommandRunner
NewCommandRunner takes the containerTool as an input string and returns a CommandRunner to run commands with that cli tool
func (*CommandRunner) Pull ¶
func (r *CommandRunner) Pull(image string) error
Pull takes a container image path hosted on a container registry and runs the pull command to download it onto the local environment
func (*CommandRunner) Save ¶ added in v1.5.3
func (r *CommandRunner) Save(image, tarFile string) error
Save takes a local container image and runs the save commmand to convert the image into a specified tarball and push it to the local directory
Click to show internal directories.
Click to hide internal directories.