framework

package
v0.3.0-test-rc Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SubmarinerClients []*submarinerClientset.Clientset

Functions

func NoopCheckEndpoint added in v0.1.0

func NoopCheckEndpoint(endpoint *submarinerv1.Endpoint) (bool, string, error)

Types

type CheckEndpointFunc added in v0.1.0

type CheckEndpointFunc func(endpoint *submarinerv1.Endpoint) (bool, string, error)

type Framework

type Framework struct {
	*framework.Framework
}

Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.

func NewFramework

func NewFramework(baseName string) *Framework

NewFramework creates a test framework.

func (*Framework) AwaitNewSubmarinerEndpoint added in v0.1.0

func (f *Framework) AwaitNewSubmarinerEndpoint(cluster framework.ClusterIndex, prevEndpointUID types.UID) *submarinerv1.Endpoint

func (*Framework) AwaitSubmarinerEndpoint added in v0.1.0

func (f *Framework) AwaitSubmarinerEndpoint(cluster framework.ClusterIndex, checkEndpoint CheckEndpointFunc) *submarinerv1.Endpoint

Jump to

Keyboard shortcuts

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