endpoint

package
v1.8.1-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

type EndpointSession struct {
	*gexec.Session
}

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 (p *EndpointTestIntegration) StartVarlink()

func (*EndpointTestIntegration) StartVarlinkWithCache

func (p *EndpointTestIntegration) StartVarlinkWithCache()
func (p *EndpointTestIntegration) StopVarlink()
func (p *EndpointTestIntegration) Varlink(endpoint, message string, more bool) *EndpointSession

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL