package
0.0.0-20250331014822-5ce28a23124f
Repository: https://github.com/knative/networking.git
Documentation: pkg.go.dev

# Packages

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

# Functions

AssertProberDefault is a helper for stopping the Prober and checking its SLI against the default SLO, which requires perfect responses.
CheckSLO compares the SLI of the given prober against the SLO, erroring if too low.
CleanupOnInterrupt stores cleanup functions to execute if an interrupt signal is caught.
EnsureCleanup will run the provided cleanup function when the test ends, either via t.Cleanup or on interrupt via CleanupOnInterrupt.
IsIngressReady will check the status conditions of the ingress and return true if the ingress is ready.
ListenAndServeGracefully calls into ListenAndServeGracefullyWithHandler by passing handler to handle requests for "/".
ListenAndServeGracefullyWithHandler creates an HTTP server, listens on the defined address and handles incoming requests with the given handler.
ListenAndServeTLSGracefully calls into ListenAndServeTLSGracefullyWithHandler by passing handler to handle requests for "/".
ListenAndServeTLSGracefullyWithHandler creates an HTTPS server, listens on the defined address and handles incoming requests with the given handler.
NewClientsFromConfig instantiates and returns several clientsets required for making request to the Knative Serving cluster specified by the combination of clusterName and configPath.
NewProberManager creates a new manager for probes.
RunRouteProber starts a single Prober of the given domain.
Setup creates client to run Knative Service requests.
WaitForIngressState polls the status of the Ingress called name from client every PollInterval until inState returns `true` indicating it is done, returns an error or PollTimeout.

# Constants

PollInterval is how frequently e2e tests will poll for updates.
PollTimeout is how long e2e tests will wait for resource updates when polling.
ServingNamespace is the default namespace for serving e2e tests.

# Variables

NetworkingFlags holds the flags or defaults for knative/networking settings in the user's environment.
ObjectNameForTest generates a random object name based on the test name.
ServingFlags is an alias of NetworkingFlags.

# Structs

Clients holds instances of interfaces for making requests to Knative Serving.
NetworkingClients holds instances of interfaces for making requests to Knative networking clients.
NetworkingEnvironmentFlags holds the e2e flags needed only by the networking repo.

# Interfaces

Prober is the interface for a prober, which checks the result of the probes when stopped.
ProberManager is the interface for spawning probers, and checking their results.