Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
Index ¶
Constants ¶
View Source
const (
DomainConfigName = "config-domain"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain struct { // Domains map from domain to label selector. If a route has // labels matching a particular selector, it will use the // corresponding domain. If multiple selectors match, we choose // the most specific selector. Domains map[string]*LabelSelector }
Domain maps domains to routes by matching the domain's label selectors to the route's labels.
func NewDomainFromConfigMap ¶
NewDomainFromConfigMap creates a Domain from the supplied ConfigMap
type LabelSelector ¶
LabelSelector represents map of {key,value} pairs. A single {key,value} in the map is equivalent to a requirement key == value. The requirements are ANDed.
Click to show internal directories.
Click to hide internal directories.