endpoint

package
v1.7.0-tar Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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