Documentation ¶
Index ¶
- Constants
- func AddLoggingToTransport(rt http.RoundTripper) http.RoundTripper
- func AzureProfileString() string
- func BuildBinaries(outputDirectory string, debug bool) error
- func BuildPushContainers(push, debug bool) error
- func CertsDirectory() string
- func ClientCert() string
- func ClientKey() string
- func ConsulServiceAddress(service, tag string) (string, error)
- func Curl(addr string, opts CurlOpts) (string, error)
- func CurlEventuallyShouldRespond(opts CurlOpts, substr string, timeout ...time.Duration)
- func Exec(name string, args ...string) (string, error)
- func GlooSoloDirectory() string
- func HelmDirectory() string
- func ImageTag() string
- func KubeE2eDirectory() string
- func KubeLogs(pod string) string
- func KubeResourcesDirectory() string
- func Kubectl(args ...string) error
- func KubectlOut(args ...string) (string, error)
- func KubectlOutAsync(args ...string) (*bytes.Buffer, chan struct{}, error)
- func LocalE2eDirectory() string
- func Must(err error)
- func NewTestAttribute(name string) *v1.Attribute
- func NewTestConfig() *v1.Config
- func NewTestRole(name string, vServices ...string) *v1.Role
- func NewTestRoute1() *v1.Route
- func NewTestRoute2() *v1.Route
- func NewTestRouteWithCORS() *v1.Route
- func NewTestSecrets() map[string]*dependencies.Secret
- func NewTestUpstream1() *v1.Upstream
- func NewTestUpstream2() *v1.Upstream
- func NewTestVirtualService(name string, routes ...*v1.Route) *v1.VirtualService
- func NomadE2eDirectory() string
- func RandString(length int) string
- func RegisterCommonFailHandlers()
- func RegisterPreFailHandler(prefail func())
- func ServerCert() string
- func ServerKey() string
- func SetupKubeForE2eTest(namespace string, buildImages, push, debug bool) error
- func SetupKubeForTest(namespace string) error
- func SoloDirectory() string
- func TeardownKube(namespace string) error
- func TeardownKubeE2E(namespace string) error
- func TestRunner(args ...string) (string, error)
- func TestRunnerAsync(args ...string) (*bytes.Buffer, chan struct{}, error)
- func ToMap(spec interface{}) (map[string]interface{}, error)
- func WaitNamespaceStatus(namespace, status string, finished func(output string) bool) error
- func WaitPodStatus(pod, status string, finished func(output string) bool) error
- func WaitPodsRunning(podNames ...string) error
- func WaitPodsTerminated(podNames ...string) error
- type Clients
- type CurlOpts
- type MockResolver
Constants ¶
View Source
const AzureProfileStringTemplate = `` /* 970-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AddLoggingToTransport ¶
func AddLoggingToTransport(rt http.RoundTripper) http.RoundTripper
func AzureProfileString ¶
func AzureProfileString() string
func BuildPushContainers ¶
builds and pushes all docker containers needed for test
func CertsDirectory ¶
func CertsDirectory() string
func ClientCert ¶
func ClientCert() string
func ConsulServiceAddress ¶
uses default config
func GlooSoloDirectory ¶
func GlooSoloDirectory() string
func HelmDirectory ¶
func HelmDirectory() string
func KubeE2eDirectory ¶
func KubeE2eDirectory() string
func KubeResourcesDirectory ¶ added in v0.4.2
func KubeResourcesDirectory() string
func KubectlOut ¶
func LocalE2eDirectory ¶
func LocalE2eDirectory() string
func NewTestAttribute ¶
func NewTestConfig ¶
func NewTestRoute1 ¶
func NewTestRoute2 ¶
func NewTestRouteWithCORS ¶
func NewTestSecrets ¶
func NewTestSecrets() map[string]*dependencies.Secret
func NewTestUpstream1 ¶
func NewTestUpstream2 ¶
func NewTestVirtualService ¶
func NewTestVirtualService(name string, routes ...*v1.Route) *v1.VirtualService
func NomadE2eDirectory ¶
func NomadE2eDirectory() string
func RandString ¶
func RegisterCommonFailHandlers ¶
func RegisterCommonFailHandlers()
func RegisterPreFailHandler ¶
func RegisterPreFailHandler(prefail func())
func ServerCert ¶
func ServerCert() string
func SetupKubeForE2eTest ¶
func SetupKubeForTest ¶
func SoloDirectory ¶
func SoloDirectory() string
func TeardownKube ¶
func TeardownKubeE2E ¶
func TestRunner ¶
TestRunner executes a command inside the TestRunner container
func TestRunnerAsync ¶
TestRunnerAsync executes a command inside the TestRunner container returning a buffer that can be read from as it executes
func WaitNamespaceStatus ¶
func WaitPodStatus ¶
func WaitPodsRunning ¶
WaitPodsRunning waits for all pods to be running
func WaitPodsTerminated ¶
waitPodsTerminated waits for all pods to be terminated
Types ¶
type Clients ¶ added in v0.4.2
type Clients struct { Kube kubernetes.Interface Gloo storage.Interface RestConfig *restclient.Config KubeconfigPath string MasterUrl string }
func GetClients ¶ added in v0.4.2
type MockResolver ¶
type MockResolver struct {
Result string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.