Versions in this module Expand all Collapse all v3 v3.4.10 Aug 29, 2022 v3.4.8 Aug 29, 2022 Changes in this version + var DefaultWaitTimeout = 90 + var OSReleasePath = "/etc/os-release" + var ProcessOneCgroupPath = "/proc/1/cgroup" + func Containerized() bool + func CreateTempDirInTempDir() (string, error) + func ExitWithError(optionalExitCode ...int) *exitMatcher + func IsCommandAvailable(command string) bool + func IsKernelNewerThan(version string) (bool, error) + func RandomString(n int) string + func SkipIfInContainer(reason string) + func StringInSlice(s string, sl []string) bool + func WaitContainerReady(p PodmanTestCommon, id string, expStr string, timeout int, step int) bool + func WaitForContainer(p PodmanTestCommon) bool + func WriteJsonFile(data []byte, filePath string) error + type HostOS struct + Arch string + Distribution string + Version string + func GetHostDistributionInfo() HostOS + type PodmanSession struct + func StartSystemExec(command string, args []string) *PodmanSession + func SystemExec(command string, args []string) *PodmanSession + func (s *PodmanSession) ErrorGrepString(term string) (bool, []string) + func (s *PodmanSession) ErrorToString() string + func (s *PodmanSession) ErrorToStringArray() []string + func (s *PodmanSession) GrepString(term string) (bool, []string) + func (s *PodmanSession) IsJSONOutputValid() bool + func (s *PodmanSession) LineInOutputContains(term string) bool + func (s *PodmanSession) LineInOutputContainsTag(repo, tag string) bool + func (s *PodmanSession) LineInOutputStartsWith(term string) bool + func (s *PodmanSession) OutputToString() string + func (s *PodmanSession) OutputToStringArray() []string + func (s *PodmanSession) WaitWithDefaultTimeout() + func (s *PodmanSession) WaitWithTimeout(timeout int) + type PodmanTest struct + ArtifactPath string + ImageCacheDir string + ImageCacheFS string + PodmanBinary string + PodmanMakeOptions func(args []string, noEvents, noCache bool) []string + RemoteCommand *exec.Cmd + RemotePodmanBinary string + RemoteSession *os.Process + RemoteSocket string + RemoteTest bool + TempDir string + func (p *PodmanTest) GetContainerStatus() string + func (p *PodmanTest) MakeOptions(args []string, noEvents, noCache bool) []string + func (p *PodmanTest) NumberOfContainers() int + func (p *PodmanTest) NumberOfContainersRunning() int + func (p *PodmanTest) NumberOfPods() int + func (p *PodmanTest) PodmanAsUserBase(args []string, uid, gid uint32, cwd string, env []string, ...) *PodmanSession + func (p *PodmanTest) PodmanBase(args []string, noEvents, noCache bool) *PodmanSession + func (p *PodmanTest) WaitContainerReady(id string, expStr string, timeout int, step int) bool + func (p *PodmanTest) WaitForContainer() bool + type PodmanTestCommon interface + MakeOptions func(args []string, noEvents, noCache bool) []string + WaitContainerReady func(id string, expStr string, timeout int, step int) bool + WaitForContainer func() bool Other modules containing this package github.com/AbhinandanKurakure/podman