Documentation
¶
Index ¶
- Constants
- Variables
- func Cleanup() (err error)
- func GetBaseImage() string
- func GetVMIdFromContainerImage(image string) (vmId string, err error)
- func ListCacheDirs() (vmDirs []string, err error)
- func PodmanBootcBinary() string
- func ProjectRoot() string
- func RunCmd(cmd string, args ...string) (stdout string, stderr string, err error)
- func RunPodman(args ...string) (stdout string, stderr string, err error)
- func RunPodmanBootc(args ...string) (stdout string, stderr string, err error)
- func VMExists(id string) (exits bool, err error)
- func VMIsRunning(id string) (exits bool, err error)
- type ListEntry
- type TestVM
Constants ¶
View Source
const DefaultBaseImage = "quay.io/centos-bootc/centos-bootc-dev:stream9"
View Source
const TestImageOne = "quay.io/ckyrouac/podman-bootc-test:one"
View Source
const TestImageTwo = "quay.io/ckyrouac/podman-bootc-test:two"
Variables ¶
View Source
var BaseImage = GetBaseImage()
Functions ¶
func GetBaseImage ¶
func GetBaseImage() string
func ListCacheDirs ¶
func PodmanBootcBinary ¶
func PodmanBootcBinary() string
func ProjectRoot ¶
func ProjectRoot() string
func VMIsRunning ¶
Types ¶
type ListEntry ¶
func ParseListOutput ¶
ParseListOutput parses the output of the podman bootc list command for easier comparison
type TestVM ¶
type TestVM struct { StdIn io.WriteCloser StdOut []string IsBooted bool Id string }
func (*TestVM) SendCommand ¶
SendCommand sends a command to the VM's stdin and waits for the output
func (*TestVM) WaitForBoot ¶
Click to show internal directories.
Click to hide internal directories.