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
	KymaConfigurator       *kymaconfig.KymaConfigurator
	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) Cleanup

func (ts *TestSuite) Cleanup()

func (*TestSuite) CreateApplicationMapping

func (ts *TestSuite) CreateApplicationMapping(appName string) error

func (*TestSuite) DeleteApplicationMapping

func (ts *TestSuite) DeleteApplicationMapping(appName string) error

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) 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()

Source Files