applicationcontroller

package
v0.0.0-...-4315425 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationStateAssertion

type ApplicationStateAssertion func(*v1alpha1.Application) bool

type ReleaseStateAssertion

type ReleaseStateAssertion func(*release.Release) bool

type TestSuite

type TestSuite struct {
	// contains filtered or unexported fields
}

func NewTestSuite

func NewTestSuite(t *testing.T) *TestSuite

func (*TestSuite) AssertApplicationState

func (ts *TestSuite) AssertApplicationState(t *testing.T, assertion ApplicationStateAssertion)

func (*TestSuite) AssertReleaseState

func (ts *TestSuite) AssertReleaseState(t *testing.T, assertion ReleaseStateAssertion)

func (*TestSuite) AssertRunArg

func (ts *TestSuite) AssertRunArg(t *testing.T, name string, expectedArg string)

func (*TestSuite) AssertRunArgGateway

func (ts *TestSuite) AssertRunArgGateway(t *testing.T, expectedArg string)

func (*TestSuite) CheckAccessLabel

func (ts *TestSuite) CheckAccessLabel(t *testing.T)

func (*TestSuite) CheckK8sResourceRemoved

func (ts *TestSuite) CheckK8sResourceRemoved(t *testing.T)

func (*TestSuite) CheckK8sResourcesDeployed

func (ts *TestSuite) CheckK8sResourcesDeployed(t *testing.T)

func (*TestSuite) CleanUp

func (ts *TestSuite) CleanUp()

func (*TestSuite) CreateApplication

func (ts *TestSuite) CreateApplication(t *testing.T, accessLabel string, skipInstallation bool)

func (*TestSuite) CreateLabeledApplication

func (ts *TestSuite) CreateLabeledApplication(t *testing.T, labels map[string]string)

func (*TestSuite) DeleteApplication

func (ts *TestSuite) DeleteApplication(t *testing.T)

func (*TestSuite) EnsureReleaseNotInstalling

func (ts *TestSuite) EnsureReleaseNotInstalling(t *testing.T)

func (*TestSuite) GetReleaseVersion

func (ts *TestSuite) GetReleaseVersion(t *testing.T) int

func (*TestSuite) UpdateLabeledApplication

func (ts *TestSuite) UpdateLabeledApplication(t *testing.T, labels map[string]string)

func (*TestSuite) WaitForReleaseToInstall

func (ts *TestSuite) WaitForReleaseToInstall(t *testing.T)

func (*TestSuite) WaitForReleaseToUninstall

func (ts *TestSuite) WaitForReleaseToUninstall(t *testing.T)

func (*TestSuite) WaitForReleaseToUpgrade

func (ts *TestSuite) WaitForReleaseToUpgrade(t *testing.T)

func (*TestSuite) WaitForRunArg

func (ts *TestSuite) WaitForRunArg(t *testing.T, name string, expectedArg string)

func (*TestSuite) WaitForRunArgGateway

func (ts *TestSuite) WaitForRunArgGateway(t *testing.T, expectedArg string)

Jump to

Keyboard shortcuts

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