Documentation ¶
Overview ¶
Package ingress holds utilities related to the implementation of ingress controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHash ¶
ComputeHash computes a hash of the Ingress Spec, Namespace and Name
func ExpandedHosts ¶
ExpandedHosts sets up hosts for the short-names for cluster DNS names.
func HostsPerVisibility ¶
func HostsPerVisibility(ing *v1alpha1.Ingress, visibilityToKey map[v1alpha1.IngressVisibility]sets.String) map[string]sets.String
HostsPerVisibility takes an Ingress and a map from visibility levels to a set of string keys, it then returns a map from that key space to the hosts under that visibility.
func InsertProbe ¶
InsertProbe adds a AppendHeader rule so that any request going through a Gateway is tagged with the version of the Ingress currently deployed on the Gateway. TODO: move this to github.com/knative/networking — currently it is used by downstream consumers, see: https://github.com/knative/serving/issues/7482.
Types ¶
This section is empty.