Documentation ¶
Index ¶
- Constants
- func MakeEndpointProbeIngress(ctx context.Context, ing *v1alpha1.Ingress, previousState []*v1.HTTPProxy) *v1alpha1.Ingress
- func MakeHTTPProxies(ctx context.Context, ing *v1alpha1.Ingress, ...) []*v1.HTTPProxy
- func ServiceNames(ctx context.Context, ing *v1alpha1.Ingress) map[string]ServiceInfo
- type ServiceInfo
Constants ¶
View Source
const ( // GenerationKey holds the generation of the parent KIngress resource that the HTTPProxy's // spec is derived from. This is updated along with the spec of child HTTPProxy resources // and then used to cleanup stale HTTPProxy resources owned by the parent. GenerationKey = "contour.networking.knative.dev/generation" // ParentKey hold the name of the parent KIngress resource, since OwnerReferences cannot // be used in filter expressions. ParentKey = "contour.networking.knative.dev/parent" // DomainHashKey contains the hash of the fqdn for which this HTTPProxy exists. We use // the hash in place of the actual fqdn because there is a limit on the length of label // values. DomainHashKey = "contour.networking.knative.dev/domainHash" // ClassKey contains the name of the contour class annotation used to select the // Contour instance that handles a given HTTP Proxy. ClassKey = "projectcontour.io/ingress.class" // EndpointsProbeKey is placed on child Ingress resources to bypass Endpoint probing, // since the child ingress exists to be said endpoint probe. EndpointsProbeKey = "contour.networking.knative.dev/endpointsProbe" )
These are the label keys that are applied to HTTP proxy resources to facilitate reconciliation.
Variables ¶
This section is empty.
Functions ¶
func MakeEndpointProbeIngress ¶ added in v0.17.0
func MakeHTTPProxies ¶
func ServiceNames ¶
Types ¶
type ServiceInfo ¶ added in v0.17.0
type ServiceInfo struct { Port intstr.IntOrString Visibilities []v1alpha1.IngressVisibility // TODO(https://github.com/knative-sandbox/net-certmanager/issues/44): Remove this. HasPath bool }
Click to show internal directories.
Click to hide internal directories.