package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
BuildInsecureClient returns an insecure http client.
CreateIngressComformanceTests generates an slice of sequential test cases: a simple http ingress, ingress with HTTPS, ingress HTTPS with a modified hostname, ingress https with a modified URLMap.
DescribeIng describes information of ingress by running kubectl describe ing.
GenerateRSACerts generates a basic self signed certificate using a key length of rsaBits, valid for validFor time.
NewIngressTestJig instantiates struct with client.
PollURL polls till the url responds with a healthy http code.
SimpleGET executes a get on the given url, returns error if non-200 returned.
# Constants
GCEIngressManifestPath is the parent path to GCE-specific yaml test manifests.
IngressAllowHTTPKey is Allow HTTP annotation defined in ingress repository.
IngressClassKey is ingress class annotation defined in ingress repository.
IngressManifestPath is the parent path to yaml test manifests.
IngressPreSharedCertKey is Pre-shared-cert annotation defined in ingress repository.
IngressReqTimeout is the timeout on a single http request.
IngressStaticIPKey is static IP annotation defined in ingress repository.
MulticlusterIngressClassValue is ingress class annotation value for multi cluster ingress.
NEGAnnotation is NEG annotation.
NEGStatusAnnotation is NEG status annotation.
ServiceApplicationProtocolKey annotation defined in ingress repository.
StatusPrefix is prefix for annotation keys used by the ingress controller to specify the names of GCP resources such as forwarding rules, url maps, target proxies, etc that it created for the corresponding ingress.
# Structs
ConformanceTests contains a closure with an entry and exit log line.
E2ELogger is test logger.
NegStatus contains name and zone of the Network Endpoint Group resources associated with this service.
NginxIngressController manages implementation details of Ingress on Nginx.
TestJig holds the relevant state and parameters of the ingress test.
# Interfaces
TestLogger is an interface for log.