peerauthentications

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshMtlsChecker

type MeshMtlsChecker struct {
	// MeshPolicy or ServiceMeshPolicy, it depends of the parent checker
	MeshPolicy    kubernetes.IstioObject
	MTLSDetails   kubernetes.MTLSDetails
	IsServiceMesh bool
}

Note that MeshMtlsChecker will work with MeshPolicy and ServiceMeshPolicy resources

func (MeshMtlsChecker) Check

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

type NamespaceMtlsChecker

type NamespaceMtlsChecker struct {
	PeerAuthn   kubernetes.IstioObject
	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