Documentation ¶
Index ¶
- Constants
- type AnyValue
- type EventAPIAccessChecker
- type K8sResourceChecker
- func (c *K8sResourceChecker) AssertAPIPackageDeleted(t *testing.T, logger *testkit.Logger, apiPackage *graphql.PackageExt, ...)
- func (c *K8sResourceChecker) AssertAPIPackageResources(t *testing.T, logger *testkit.Logger, apiPackage *graphql.PackageExt, ...)
- func (c *K8sResourceChecker) AssertAppResourcesDeleted(t *testing.T, applicationName string)
- func (c *K8sResourceChecker) AssertResourcesForApp(t *testing.T, logger *testkit.Logger, application compass.Application)
- type Labels
- type ProxyAPIAccessChecker
- func (c *ProxyAPIAccessChecker) AssertAPIAccess(t *testing.T, log *testkit.Logger, applicationId string, ...)
- func (c *ProxyAPIAccessChecker) CallAPIThroughGateway(t *testing.T, log *testkit.Logger, api *graphql.APIDefinitionExt, ...) *http.Response
- func (c *ProxyAPIAccessChecker) GetPathBasedOnAuth(auth *graphql.Auth) string
- type PublishRequest
- type PublishResponse
- type ServiceData
Constants ¶
View Source
const ( SpecAPIType = "API" SpecEventsType = "Events" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventAPIAccessChecker ¶
type EventAPIAccessChecker struct {
// contains filtered or unexported fields
}
func NewEventAPIAccessChecker ¶
func NewEventAPIAccessChecker(eventsURL string, directorClient *compass.Client, skipTLSVerify bool) *EventAPIAccessChecker
func (*EventAPIAccessChecker) AssertEventAPIAccess ¶
func (c *EventAPIAccessChecker) AssertEventAPIAccess(t *testing.T, application compass.Application, certificate tls.Certificate)
func (*EventAPIAccessChecker) SendEvent ¶
func (c *EventAPIAccessChecker) SendEvent(t *testing.T, application compass.Application, certificate tls.Certificate) (*http.Response, error)
type K8sResourceChecker ¶
type K8sResourceChecker struct {
// contains filtered or unexported fields
}
func NewK8sResourceChecker ¶
func NewK8sResourceChecker(appClient v1alpha1.ApplicationInterface, clusterAssetGroupClient dynamic.ResourceInterface) *K8sResourceChecker
func (*K8sResourceChecker) AssertAPIPackageDeleted ¶
func (c *K8sResourceChecker) AssertAPIPackageDeleted(t *testing.T, logger *testkit.Logger, apiPackage *graphql.PackageExt, applicationName string)
func (*K8sResourceChecker) AssertAPIPackageResources ¶
func (c *K8sResourceChecker) AssertAPIPackageResources(t *testing.T, logger *testkit.Logger, apiPackage *graphql.PackageExt, applicationName string)
func (*K8sResourceChecker) AssertAppResourcesDeleted ¶
func (c *K8sResourceChecker) AssertAppResourcesDeleted(t *testing.T, applicationName string)
func (*K8sResourceChecker) AssertResourcesForApp ¶
func (c *K8sResourceChecker) AssertResourcesForApp(t *testing.T, logger *testkit.Logger, application compass.Application)
type ProxyAPIAccessChecker ¶
type ProxyAPIAccessChecker struct {
// contains filtered or unexported fields
}
func NewAPIAccessChecker ¶
func NewAPIAccessChecker( namespace string, kymaConfigurator *kymaconfig.KymaConfigurator, ) *ProxyAPIAccessChecker
func (*ProxyAPIAccessChecker) AssertAPIAccess ¶
func (c *ProxyAPIAccessChecker) AssertAPIAccess(t *testing.T, log *testkit.Logger, applicationId string, packages []*graphql.PackageExt)
func (*ProxyAPIAccessChecker) CallAPIThroughGateway ¶
func (c *ProxyAPIAccessChecker) CallAPIThroughGateway(t *testing.T, log *testkit.Logger, api *graphql.APIDefinitionExt, secretName, path string) *http.Response
func (*ProxyAPIAccessChecker) GetPathBasedOnAuth ¶
func (c *ProxyAPIAccessChecker) GetPathBasedOnAuth(auth *graphql.Auth) string
type PublishRequest ¶
type PublishResponse ¶
Click to show internal directories.
Click to hide internal directories.