mtls

package
v1.66.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 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_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

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