Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the ClusterIngress controller depends.
Index ¶
Constants ¶
const ( // IstioConfigName is the name of the configmap containing all // customizations for istio related features. IstioConfigName = "config-istio" // GatewayKeyPrefix is the prefix of all keys to configure Istio gateways for public ClusterIngresses. GatewayKeyPrefix = "gateway." // LocalGatewayKeyPrefix is the prefix of all keys to configure Istio gateways for public & private ClusterIngresses. LocalGatewayKeyPrefix = "local-gateway." )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Istio *Istio
}
Config of Istio. +k8s:deepcopy-gen=false
func FromContext ¶
FromContext fetch config from context.
type Gateway ¶
Gateway specifies the name of the Gateway and the K8s Service backing it.
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 Istio ¶
type Istio struct { // IngressGateway specifies the gateway urls for public ClusterIngress. IngressGateways []Gateway // LocalGateway specifies the gateway urls for public & private ClusterIngress. LocalGateways []Gateway }
Istio contains istio related configuration defined in the istio config map.
func NewIstioFromConfigMap ¶
NewIstioFromConfigMap creates an Istio config from the supplied ConfigMap
func (*Istio) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Istio.
func (*Istio) DeepCopyInto ¶
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 configmap.UntypedStore based config store. +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().