e2e

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestTimeout = time.Minute * 3
)

Variables

This section is empty.

Functions

func WaitUntil added in v0.4.0

func WaitUntil(t *testing.T, condition wait.ConditionFunc)

WaitUntil periodically executes specified condition until it returns true.

Types

type Fixture

type Fixture struct {
	KubeClientset       kubernetes.Interface
	AppClientset        appclientset.Interface
	ArgoCDNamespace     string
	DeploymentNamespace string
	ArgoCDClientset     argocdclient.Client
	SettingsManager     *settings.SettingsManager
	// contains filtered or unexported fields
}

Fixture represents e2e tests fixture.

func NewFixture

func NewFixture() (*Fixture, error)

NewFixture creates e2e tests fixture: ensures that Application CRD is installed, creates temporal namespace, starts repo and api server, configure currently available cluster.

func (*Fixture) EnsureCleanState added in v0.12.1

func (f *Fixture) EnsureCleanState()

func (*Fixture) RepoURL added in v0.12.1

func (f *Fixture) RepoURL() string

func (*Fixture) RunCli added in v0.4.0

func (f *Fixture) RunCli(args ...string) (string, error)

Jump to

Keyboard shortcuts

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