mtls

package
v1.87.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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_v1.PeerAuthentication
	DestinationRules    []*networking_v1.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

type NameNamespace struct {
	Name      string
	Namespace string
}

type TlsStatus

type TlsStatus struct {
	DestinationRuleStatus    string
	PeerAuthenticationStatus string
	OverallStatus            string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL