package
0.44.5
Repository: https://github.com/knative/operator.git
Documentation: pkg.go.dev

# README

Test

This directory contains tests and testing docs for Serving Operator:

Running integration tests

Before running the integration, please make sure you have installed Serving Operator by following the instruction here, and do not install custom resource for operator or knative-serving installed in your cluster.

Ensure required testing namespace exists:

kubectl create namespace knative-operator-testing

To run all integration tests:

go test -v -tags=e2e -count=1 ./test/e2e

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CleanupOnInterrupt will execute the function cleanup if an interrupt signal is caught.
NewClients instantiates and returns several clientsets required for making request to the Knative Serving cluster specified by the combination of clusterName and configPath.
TearDown will delete created names using clients.

# Variables

No description provided by the author
OperatorFlags holds the flags or defaults for knative/operator settings in the user's environment.
OperatorName is the default operator name for serving operator e2e tests.
ServingOperatorNamespace is the default namespace for serving operator e2e tests.

# Structs

Clients holds instances of interfaces for making requests to Knative Serving.
OperatorEnvironmentFlags holds the e2e flags needed only by the operator repo.
ResourceNames holds names of various resources.