Documentation ¶
Index ¶
- Variables
- type EndpointSession
- func (s *EndpointSession) OutputToBytes() []byte
- func (s *EndpointSession) OutputToMapToInt() map[string]int
- func (s *EndpointSession) OutputToMoreResponse() iopodman.MoreResponse
- func (s *EndpointSession) OutputToString() string
- func (s *EndpointSession) OutputToStringMap() map[string]string
- func (s *EndpointSession) StdErrToString() string
- type EndpointTestIntegration
- func (p *EndpointTestIntegration) Cleanup()
- func (p *EndpointTestIntegration) RestoreArtifactToCache(image string) error
- func (p *EndpointTestIntegration) StartVarlink()
- func (p *EndpointTestIntegration) StartVarlinkWithCache()
- func (p *EndpointTestIntegration) StopVarlink()
- func (p *EndpointTestIntegration) Varlink(endpoint, message string, more bool) *EndpointSession
Constants ¶
This section is empty.
Variables ¶
View Source
var ( STORAGE_FS = "vfs" STORAGE_OPTIONS = "--storage-driver vfs" ROOTLESS_STORAGE_FS = "vfs" ROOTLESS_STORAGE_OPTIONS = "--storage-driver vfs" CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, nginx, redis, registry, infra, labels} BB_GLIBC = "docker.io/library/busybox:glibc" )
View Source
var ( ARTIFACT_DIR = "/tmp/.artifacts" CGROUP_MANAGER = "systemd" //RESTORE_IMAGES = []string{ALPINE, BB} INTEGRATION_ROOT string ImageCacheDir = "/tmp/podman/imagecachedir" VarlinkBinary = "/usr/bin/varlink" ALPINE = "docker.io/library/alpine:latest" BB = "docker.io/library/busybox:latest" )
Functions ¶
This section is empty.
Types ¶
type EndpointSession ¶
func (*EndpointSession) OutputToBytes ¶
func (s *EndpointSession) OutputToBytes() []byte
func (*EndpointSession) OutputToMapToInt ¶
func (s *EndpointSession) OutputToMapToInt() map[string]int
func (*EndpointSession) OutputToMoreResponse ¶
func (s *EndpointSession) OutputToMoreResponse() iopodman.MoreResponse
func (*EndpointSession) OutputToString ¶
func (s *EndpointSession) OutputToString() string
func (*EndpointSession) OutputToStringMap ¶
func (s *EndpointSession) OutputToStringMap() map[string]string
func (*EndpointSession) StdErrToString ¶
func (s *EndpointSession) StdErrToString() string
type EndpointTestIntegration ¶
type EndpointTestIntegration struct { ArtifactPath string CNIConfigDir string CgroupManager string ConmonBinary string CrioRoot string //Host HostOS ImageCacheDir string ImageCacheFS string OCIRuntime string PodmanBinary string RemoteTest bool RunRoot string SignaturePolicyPath string StorageOptions string TmpDir string Timings []string VarlinkBinary string VarlinkCommand *exec.Cmd VarlinkEndpoint string VarlinkSession *os.Process }
func Setup ¶
func Setup(tempDir string) *EndpointTestIntegration
func (*EndpointTestIntegration) Cleanup ¶
func (p *EndpointTestIntegration) Cleanup()
func (*EndpointTestIntegration) RestoreArtifactToCache ¶
func (p *EndpointTestIntegration) RestoreArtifactToCache(image string) error
func (*EndpointTestIntegration) StartVarlink ¶
func (p *EndpointTestIntegration) StartVarlink()
func (*EndpointTestIntegration) StartVarlinkWithCache ¶
func (p *EndpointTestIntegration) StartVarlinkWithCache()
func (*EndpointTestIntegration) StopVarlink ¶
func (p *EndpointTestIntegration) StopVarlink()
func (*EndpointTestIntegration) Varlink ¶
func (p *EndpointTestIntegration) Varlink(endpoint, message string, more bool) *EndpointSession
Click to show internal directories.
Click to hide internal directories.