Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ServingOperatorNamespace is the default namespace for serving operator e2e tests ServingOperatorNamespace = "operator-tests" // ServingOperatorName is the default operator name for serving operator e2e tests ServingOperatorName = "knative-serving" )
Variables ¶
This section is empty.
Functions ¶
func CleanupOnInterrupt ¶
func CleanupOnInterrupt(cleanup func())
CleanupOnInterrupt will execute the function cleanup if an interrupt signal is caught
func TearDown ¶
func TearDown(clients *Clients, names ResourceNames)
TearDown will delete created names using clients.
Types ¶
type Clients ¶
type Clients struct { KubeClient *test.KubeClient Dynamic dynamic.Interface Serving servingv1alpha1.OperatorV1alpha1Interface Config *rest.Config }
Clients holds instances of interfaces for making requests to Knative Serving.
func NewClients ¶
NewClients instantiates and returns several clientsets required for making request to the Knative Serving cluster specified by the combination of clusterName and configPath.
func (*Clients) KnativeServing ¶
func (c *Clients) KnativeServing() servingv1alpha1.KnativeServingInterface
func (*Clients) KnativeServingAll ¶
func (c *Clients) KnativeServingAll() servingv1alpha1.KnativeServingInterface
type ResourceNames ¶
ResourceNames holds names of various resources.
Click to show internal directories.
Click to hide internal directories.