 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
const (
	// GatewayConfigName is the config map name for the gateway configuration.
	GatewayConfigName = "config-gateway"
)
    Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
	Network *networkcfg.Config
	Gateway *Gateway
}
    Config is the configuration for the route reconciler.
func FromContext ¶
FromContext obtains a Config injected into the passed context.
func FromContextOrDefaults ¶
FromContextOrDefaults is like FromContext, but when no Config is attached it returns a Config populated with the defaults for each of the Config fields.
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gateway ¶
type Gateway struct {
	// Gateways map from gateway to label selector.  If a route has
	// labels matching a particular selector, it will use the
	// corresponding gateway.  If multiple selectors match, we choose
	// the most specific selector.
	Gateways map[v1alpha1.IngressVisibility]GatewayConfig
}
    Gateway maps gateways to routes by matching the gateway's label selectors to the route's labels.
func NewGatewayFromConfigMap ¶
NewGatewayFromConfigMap creates a Gateway from the supplied ConfigMap
func (*Gateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayConfig ¶
type GatewayConfig struct {
	GatewayClass string
	Gateway      *types.NamespacedName
	Service      *types.NamespacedName
}
    func (*GatewayConfig) DeepCopy ¶
func (in *GatewayConfig) DeepCopy() *GatewayConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfig.
func (*GatewayConfig) DeepCopyInto ¶
func (in *GatewayConfig) DeepCopyInto(out *GatewayConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Store ¶
type Store struct {
	*configmap.UntypedStore
}
    Store is a typed wrapper around configmap.Untyped store to handle our configmaps.
+k8s:deepcopy-gen=false
func NewStore ¶
NewStore creates a configmap.UntypedStore based config store.
logger must be non-nil implementation of configmap.Logger (commonly used loggers conform)
onAfterStore is a variadic list of callbacks to run after the ConfigMap has been processed and stored.
See also: configmap.NewUntypedStore().