Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const GCEIngressManifestPath + const IngressAllowHTTPKey + const IngressClassKey + const IngressManifestPath + const IngressPreSharedCertKey + const IngressReqTimeout + const IngressStaticIPKey + const MulticlusterIngressClassValue + const NEGAnnotation + const NEGStatusAnnotation + const ServiceApplicationProtocolKey + const StatusPrefix + func BuildInsecureClient(timeout time.Duration) *http.Client + func GenerateRSACerts(host string, isCA bool) ([]byte, []byte, error) + type ConformanceTests struct + EntryLog string + Execute func() + ExitLog string + func CreateIngressComformanceTests(jig *TestJig, ns string, annotations map[string]string) []ConformanceTests + type E2ELogger struct + func (l *E2ELogger) Errorf(format string, args ...interface{}) + func (l *E2ELogger) Infof(format string, args ...interface{}) + type GLogger struct + func (l *GLogger) Errorf(format string, args ...interface{}) + func (l *GLogger) Infof(format string, args ...interface{}) + type NegStatus struct + NetworkEndpointGroups map[int32]string + Zones []string + type NginxIngressController struct + Client clientset.Interface + Ns string + func (cont *NginxIngressController) Init() + func (cont *NginxIngressController) TearDown() + type TestJig struct + Address string + Class string + Client clientset.Interface + Ingress *networkingv1beta1.Ingress + Logger TestLogger + PollInterval time.Duration + RootCAs map[string][]byte + func NewIngressTestJig(c clientset.Interface) *TestJig + func (j *TestJig) AddHTTPS(secretName string, hosts ...string) + func (j *TestJig) ConstructFirewallForIngress(firewallRuleName string, nodeTags []string) *compute.Firewall + func (j *TestJig) CreateIngress(manifestPath, ns string, ingAnnotations map[string]string, ...) + func (j *TestJig) DeleteTestResource(cs clientset.Interface, deploy *appsv1.Deployment, svc *v1.Service, ...) []error + func (j *TestJig) GetDistinctResponseFromIngress() (sets.String, error) + func (j *TestJig) GetIngressNodePorts(includeDefaultBackend bool) []string + func (j *TestJig) GetRootCA(secretName string) (rootCA []byte) + func (j *TestJig) GetServicePorts(includeDefaultBackend bool) map[string]v1.ServicePort + func (j *TestJig) PrepareTLSSecret(namespace, secretName string, hosts ...string) error + func (j *TestJig) RemoveHTTPS(secretName string) + func (j *TestJig) SetHTTPS(secretName string, hosts ...string) + func (j *TestJig) SetUpBacksideHTTPSIngress(cs clientset.Interface, namespace string, staticIPName string) (*appsv1.Deployment, *v1.Service, *networkingv1beta1.Ingress, error) + func (j *TestJig) TryDeleteIngress() + func (j *TestJig) Update(update func(ing *networkingv1beta1.Ingress)) + func (j *TestJig) VerifyURL(route, host string, iterations int, interval time.Duration, ...) error + func (j *TestJig) WaitForGivenIngressWithTimeout(ing *networkingv1beta1.Ingress, waitForNodePort bool, timeout time.Duration) error + func (j *TestJig) WaitForIngress(waitForNodePort bool) + func (j *TestJig) WaitForIngressAddress(c clientset.Interface, ns, ingName string, timeout time.Duration) (string, error) + func (j *TestJig) WaitForIngressToStable() + func (j *TestJig) WaitForIngressWithCert(waitForNodePort bool, knownHosts []string, cert []byte) error + type TestLogger interface + Errorf func(format string, args ...interface{}) + Infof func(format string, args ...interface{})