package
0.0.0-20250331014822-5ce28a23124f
Repository: https://github.com/knative/networking.git
Documentation: pkg.go.dev
# Functions
NewConfigFromConfigMap returns a Config for the given configmap.
NewConfigFromMap creates a Config from the supplied data.
# Constants
AutocreateClusterDomainClaimsKey is the key for the AutocreateClusterDomainClaims property.
AutoTLSKey is the name of the configuration entry that specifies enabling auto-TLS or not.
CertificateClusterLocalDomain defines a certificate used for `cluster-local-domain-tls`.
CertificateExternalDomain defines a cerificate used for `external-domain-tls`.
CertificateSystemInternal defines a certificate used for `system-internal-tls`.
CertManagerCertificateClassName value for specifying Knative's Cert-Manager Certificate reconciler.
ClusterLocalDomainTLSKey is the name of the configuration entry that specifies if cluster-local-domain-tls is enabled or not.
ConfigName is the name of the configmap containing all customizations for networking features.
DefaultCertificateClassKey is the name of the configuration entry that specifies the default Certificate.
DefaultDomainTemplate is the default golang template to use when constructing the Knative Route's Domain(host).
DefaultExternalSchemeKey is the config for defining the scheme of external URLs.
DefaultIngressClassKey is the name of the configuration entry that specifies the default Ingress.
DefaultTagTemplate is the default golang template to use when constructing the Knative Route's tag names.
DomainTemplateKey is the name of the configuration entry that specifies the golang template string to use to construct the Knative service's DNS name.
EnableMeshPodAddressabilityKey is the config for enabling pod addressability in mesh.
EncryptionDisabled - TLS not used.
EncryptionEnabled - TLS used.
ExternalDomainTLSKey is the name of the configuration entry that specifies if external-domain-tls is enabled or not.
HTTPDisabled represents HTTP protocol is disabled in Knative ingress.
HTTPEnabled represents HTTP protocol is enabled in Knative ingress.
HTTPProtocolKey is the name of the configuration entry that specifies the HTTP endpoint behavior of Knative ingress.
HTTPRedirected represents HTTP connection is redirected to HTTPS in Knative ingress.
InternalEncryptionKey is the name of the configuration whether internal traffic is encrypted or not.
IstioIngressClassName value for specifying knative's Istio Ingress reconciler.
MeshCompatibilityModeAuto instructs consumers of network plugins, such as Knative Serving, to heuristically determine whether to connect using the Cluster IP, or to ocnnect to individual Pod IPs.
MeshCompatibilityModeDisabled instructs consumers of network plugins, such as Knative Serving, to connect to individual Pod IPs.
MeshCompatibilityModeEnabled instructs consumers of network plugins, such as Knative Serving, to use ClusterIP when connecting to pods.
MeshCompatibilityModeKey is the config for selecting the mesh compatibility mode.
NamespaceWildcardCertSelectorKey is the name of the configuration entry that specifies a LabelSelector to control which namespaces have a wildcard certificate provisioned for them.
RolloutDurationKey is the name of the configuration entry that specifies the default duration of the configuration rollout.
ServingRoutingCertName is the name of secret contains certificates for Routing data in serving system namespace.
SystemInternalTLSKey is the name of the configuration whether traffic between Knative system components is encrypted or not.
TagTemplateKey is the name of the configuration entry that specifies the golang template string to use to construct the hostname for a Route's tag.
# Structs
Config contains the networking configuration defined in the network config map.
DomainTemplateValues are the available properties people can choose from in their Route's "DomainTemplate" golang template sting.
TagTemplateValues are the available properties people can choose from in their Route's "TagTemplate" golang template sting.
# Type aliases
CertificateType indicates the type of Knative Certificate.
EncryptionConfig indicates the encryption configuration used for TLS connections.
HTTPProtocol indicates a type of HTTP endpoint behavior that Knative ingress could take.
MeshCompatibilityMode is one of enabled (always use ClusterIP), disabled (always use Pod IP), or auto (try PodIP, and fall back to ClusterIP if mesh is detected).