Documentation ¶
Index ¶
- type TestSuite
- func (ts *TestSuite) Cleanup()
- func (ts *TestSuite) CreateApplicationMapping(appName string) error
- func (ts *TestSuite) DeleteApplicationMapping(appName string) error
- func (ts *TestSuite) GenerateCertificateForApplication(t *testing.T, application compass.Application) tls.Certificate
- func (ts *TestSuite) GetMockServiceURL() string
- func (ts *TestSuite) Setup() error
- func (ts *TestSuite) WaitForApplicationToBeDeployed(t *testing.T, applicationName string)
- func (ts *TestSuite) WaitForConfigurationApplication()
- func (ts *TestSuite) WaitForProxyInvalidation()
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) CreateApplicationMapping ¶
func (*TestSuite) DeleteApplicationMapping ¶
func (*TestSuite) GenerateCertificateForApplication ¶
func (ts *TestSuite) GenerateCertificateForApplication(t *testing.T, application compass.Application) tls.Certificate
func (*TestSuite) GetMockServiceURL ¶
func (*TestSuite) WaitForApplicationToBeDeployed ¶
func (*TestSuite) WaitForConfigurationApplication ¶
func (ts *TestSuite) WaitForConfigurationApplication()
func (*TestSuite) WaitForProxyInvalidation ¶
func (ts *TestSuite) WaitForProxyInvalidation()
Click to show internal directories.
Click to hide internal directories.