Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package Package network holds the typed objects that define the schemas for configuring the knative/serving networking layer.
Index ¶
Constants ¶
View Source
const ( // ProbeHeaderName is the name of a header that can be added to // requests to probe the knative networking layer. Requests // with this header will not be passed to the user container or // included in request metrics. ProbeHeaderName = "k-network-probe" // ConfigName is the name of the configmap containing all // customizations for networking features. ConfigName = "config-network" // IstioOutboundIPRangesKey is the name of the configuration entry // that specifies Istio outbound ip ranges. IstioOutboundIPRangesKey = "istio.sidecar.includeOutboundIPRanges" // DefaultClusterIngressClassKey is the name of the configuration entry // that specifies the default ClusterIngress. DefaultClusterIngressClassKey = "clusteringress.class" // IstioIngressClassName value for specifying knative's Istio // ClusterIngress reconciler. IstioIngressClassName = "istio.ingress.networking.knative.dev" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // IstioOutboundIPRange specifies the IP ranges to intercept // by Istio sidecar. IstioOutboundIPRanges string // DefaultClusterIngressClass specifies the default ClusterIngress class. DefaultClusterIngressClass string }
Config contains the networking configuration defined in the network config map.
func NewConfigFromConfigMap ¶
NewConfigFromConfigMap creates a Config from the supplied ConfigMap
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.
Click to show internal directories.
Click to hide internal directories.