framework

package
v0.0.0-...-aa6e50c Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKubeExec

func CheckKubeExec(req *Request) interface{}

Types

type Framework

type Framework struct {
	BaseName string

	// Set together with creating the ClientSet and the namespace.
	// Guaranteed to be unique in the cluster even when running the same
	// test multiple times in parallel.
	UniqueName string

	ClientSet clientset.Interface
	Namespace *v1.Namespace // Every test has at least one namespace unless creation is skipped
}

Framework supports common operations used by e2e tests; it will keep a client & a namespace for you. Eventual goal is to merge this with integration test framework.

type Request

type Request struct {
	Pod       string
	Container string
	Namespace string
	Command   string
	Arg       string
	// contains filtered or unexported fields
}

type Writer

type Writer struct {
	Str []string
}

func (*Writer) Write

func (w *Writer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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