mtls

package
v1.34.0-snapshot.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 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 {
	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)

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