runtimeagent

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	CompassClient          *compass.Client
	K8sResourceChecker     *assertions.K8sResourceChecker
	ProxyAPIAccessChecker  *assertions.ProxyAPIAccessChecker
	EventsAPIAccessChecker *assertions.EventAPIAccessChecker
	ApplicationCRClient    v1alpha1.ApplicationInterface

	Config testkit.TestConfig
	// contains filtered or unexported fields
}

func NewTestSuite

func NewTestSuite(config testkit.TestConfig) (*TestSuite, error)

func (*TestSuite) AddDenierLabels

func (ts *TestSuite) AddDenierLabels(t *testing.T, appId string, apiIds ...string)

func (*TestSuite) Cleanup

func (ts *TestSuite) Cleanup()

func (*TestSuite) GenerateCertificateForApplication

func (ts *TestSuite) GenerateCertificateForApplication(t *testing.T, application compass.Application) tls.Certificate

func (*TestSuite) GetMockServiceURL

func (ts *TestSuite) GetMockServiceURL() string

func (*TestSuite) RemoveDenierLabels

func (ts *TestSuite) RemoveDenierLabels(t *testing.T, appId string, apiIds ...string)

func (*TestSuite) Setup

func (ts *TestSuite) Setup() error

func (*TestSuite) WaitForApplicationToBeDeployed

func (ts *TestSuite) WaitForApplicationToBeDeployed(t *testing.T, applicationName string)

func (*TestSuite) WaitForConfigurationApplication

func (ts *TestSuite) WaitForConfigurationApplication()

func (*TestSuite) WaitForProxyInvalidation

func (ts *TestSuite) WaitForProxyInvalidation()

Jump to

Keyboard shortcuts

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