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
Click to show internal directories.
Click to hide internal directories.