peerauthentications

package
v1.45.0-snapshot.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisabledMeshWideChecker added in v1.19.0

type DisabledMeshWideChecker struct {
	PeerAuthn        security_v1beta.PeerAuthentication
	DestinationRules []networking_v1alpha3.DestinationRule
}

func (DisabledMeshWideChecker) Check added in v1.19.0

type DisabledNamespaceWideChecker added in v1.19.0

type DisabledNamespaceWideChecker struct {
	PeerAuthn        security_v1beta.PeerAuthentication
	DestinationRules []networking_v1alpha3.DestinationRule
}

func (DisabledNamespaceWideChecker) Check added in v1.19.0

type MeshMtlsChecker

type MeshMtlsChecker struct {
	MeshPolicy    security_v1beta.PeerAuthentication
	MTLSDetails   kubernetes.MTLSDetails
	IsServiceMesh bool
}

Note that MeshMtlsChecker will work with MeshPolicy resources

func (MeshMtlsChecker) Check

func (t MeshMtlsChecker) Check() ([]*models.IstioCheck, bool)

type NamespaceMtlsChecker

type NamespaceMtlsChecker struct {
	PeerAuthn   security_v1beta.PeerAuthentication
	MTLSDetails kubernetes.MTLSDetails
}

func (NamespaceMtlsChecker) Check

func (t NamespaceMtlsChecker) Check() ([]*models.IstioCheck, bool)

Checks if a PeerAuthn enabling namespace-wide has a Destination Rule enabling mTLS too

Jump to

Keyboard shortcuts

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