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 { Namespace string PeerAuthentications []kubernetes.IstioObject DestinationRules []kubernetes.IstioObject MatchingLabels labels.Labels Services []v1.Service AutoMtlsEnabled bool AllowPermissive bool }
func (MtlsStatus) MeshMtlsStatus ¶
func (m MtlsStatus) MeshMtlsStatus() TlsStatus
func (MtlsStatus) NamespaceMtlsStatus ¶
func (m MtlsStatus) NamespaceMtlsStatus() TlsStatus
func (MtlsStatus) OverallMtlsStatus ¶
func (m MtlsStatus) OverallMtlsStatus(nsStatus, meshStatus TlsStatus) string
func (MtlsStatus) WorkloadMtlsStatus ¶ added in v1.31.0
func (m MtlsStatus) WorkloadMtlsStatus() string
Returns the mTLS status at workload level (matching the m.MatchingLabels)
Click to show internal directories.
Click to hide internal directories.