Documentation ¶
Index ¶
- type TestSuite
- func (ts *TestSuite) AddDenierLabels(t *testing.T, appId string, apiIds ...string)
- func (ts *TestSuite) Cleanup()
- func (ts *TestSuite) GenerateCertificateForApplication(t *testing.T, application compass.Application) tls.Certificate
- func (ts *TestSuite) GetMockServiceURL() string
- func (ts *TestSuite) RemoveDenierLabels(t *testing.T, appId string, apiIds ...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 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 (*TestSuite) GenerateCertificateForApplication ¶
func (ts *TestSuite) GenerateCertificateForApplication(t *testing.T, application compass.Application) tls.Certificate
func (*TestSuite) GetMockServiceURL ¶
func (*TestSuite) RemoveDenierLabels ¶
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.