access

package
v1.1.0-beta19 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngressGatewayAuthPolicyName      = "allow-ingress-gateway"
	GlobalAccessControlAuthPolicyName = "global-access-control"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator interface {
	// Returns nil if no AuthorizationPolicies are required for the mesh (i.e. because AccessPolicy enforcement is disabled).
	// Output resources will be added to the istio.Builder
	// Errors caused by invalid user config will be reported using the Reporter.
	Translate(
		mesh *discoveryv1.Mesh,
		virtualMesh *discoveryv1.MeshStatus_AppliedVirtualMesh,
		outputs istio.Builder,
	)
}

The access control translator translates a VirtualMesh EnforcementPolicy into Istio AuthorizationPolicies.

func NewTranslator

func NewTranslator(ctx context.Context) Translator

Directories

Path Synopsis
Package mock_access is a generated GoMock package.
Package mock_access is a generated GoMock package.

Jump to

Keyboard shortcuts

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