Documentation ¶
Index ¶
Constants ¶
View Source
const ( MTLSEnabled = "MTLS_ENABLED" MTLSPartiallyEnabled = "MTLS_PARTIALLY_ENABLED" MTLSNotEnabled = "MTLS_NOT_ENABLED" MTLSDisabled = "MTLS_DISABLED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MtlsStatus ¶
type MtlsStatus struct { PeerAuthentications []*security_v1beta.PeerAuthentication DestinationRules []*networking_v1beta1.DestinationRule MatchingLabels labels.Labels AutoMtlsEnabled bool AllowPermissive bool RegistryServices []*kubernetes.RegistryService }
func (MtlsStatus) MeshMtlsStatus ¶
func (m MtlsStatus) MeshMtlsStatus() TlsStatus
func (MtlsStatus) NamespaceMtlsStatus ¶
func (m MtlsStatus) NamespaceMtlsStatus(namespace string) TlsStatus
func (MtlsStatus) OverallMtlsStatus ¶
func (m MtlsStatus) OverallMtlsStatus(nsStatus, meshStatus TlsStatus) string
func (MtlsStatus) WorkloadMtlsStatus ¶ added in v1.31.0
func (m MtlsStatus) WorkloadMtlsStatus(namespace string) string
Returns the mTLS status at workload level (matching the m.MatchingLabels)
type NameNamespace ¶ added in v1.45.0
Click to show internal directories.
Click to hide internal directories.