Documentation ¶
Index ¶
- func AssertGetRequest(t *testing.T, url string, expectedStatusCode int, expectedBody []byte)
- func E2EBootstrap(t *testing.T) (*framework.TestCtx, *framework.Framework, string)
- func WaitForKnativeServiceReady(t *testing.T, servingClient *servingv1alpha1.ServingV1alpha1Interface, ...) *v1alpha1.Service
- func WaitForKnativeServiceReadyDefault(t *testing.T, servingClient *servingv1alpha1.ServingV1alpha1Interface, ...) *v1alpha1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGetRequest ¶
AssertGetRequest ensures that the endpoint `url` can be accessed with an HTTP GET request.
func E2EBootstrap ¶
E2EBootstrap sets up an e2e test adding CRDs, initializing the test ctx and deploying the operator
func WaitForKnativeServiceReady ¶
func WaitForKnativeServiceReady(t *testing.T, servingClient *servingv1alpha1.ServingV1alpha1Interface, name string, namespace string, retryInterval, timeout time.Duration) *v1alpha1.Service
WaitForKnativeServiceReady waits for a Knative service to become available, failing if the service is not available after the provided Duration
func WaitForKnativeServiceReadyDefault ¶
func WaitForKnativeServiceReadyDefault(t *testing.T, servingClient *servingv1alpha1.ServingV1alpha1Interface, name string, namespace string) *v1alpha1.Service
WaitForKnativeServiceReadyDefault waits for a Knative service to become available, failing if the service is not available after the default timeout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.