Documentation ¶
Index ¶
Constants ¶
View Source
const ( OwnedByCluster = "ingress.kcp.dev/owned-by-cluster" OwnedByIngress = "ingress.kcp.dev/owned-by-ingress" OwnedByNamespace = "ingress.kcp.dev/owned-by-namespace" )
Variables ¶
This section is empty.
Functions ¶
func LabelEscapeClusterName ¶
func LabelEscapeClusterName(n logicalcluster.Name) string
func UnescapeClusterNameLabel ¶
func UnescapeClusterNameLabel(s string) logicalcluster.Name
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
The Controller struct represents an Ingress controller instance.
- The tracker is used to keep track of the relationship between Ingresses and services.
- The envoycontrolplane, contains an XDS Server and translates the ingress to Envoy configuration.
func NewController ¶
func NewController( ingressInformer networkinginformers.IngressInformer, serviceInformer coreinformers.ServiceInformer, domain string, aggregateLeaveStatus bool) *Controller
NewController returns a new Controller which splits new Ingress objects into N virtual Ingresses labeled for each Cluster that exists at the time the Ingress is created.
The controller can optionally aggregate the leave's status into the root ingress. This makes sense if the envoy side is disabled.
Click to show internal directories.
Click to hide internal directories.