Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Ingress 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 Ingresses. GatewayKeyPrefix = "gateway." // LocalGatewayKeyPrefix is the prefix of all keys to configure Istio gateways for public & private Ingresses. LocalGatewayKeyPrefix = "local-gateway." // ReconcileExternalGatewayKey the is the name of the configuration entry that specifies // reconciling external Istio Gateways or not. ReconcileExternalGatewayKey = "reconcileExternalGateway" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
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.
func (Gateway) QualifiedName ¶ added in v0.8.0
QualifiedName returns gateway name in '{namespace}/{name}' format.
type Istio ¶
type Istio struct { // IngressGateway specifies the gateway urls for public Ingress. IngressGateways []Gateway // LocalGateway specifies the gateway urls for public & private Ingress. LocalGateways []Gateway // ReconcileExternalGateway specifies if external Istio Gateways will be reconciled or not. ReconcileExternalGateway bool }
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().