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 access policy 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 *discoveryv1alpha2.Mesh, virtualMesh *discoveryv1alpha2.MeshStatus_AppliedVirtualMesh, outputs istio.Builder, ) }
The access control translator translates a VirtualMesh EnforcementPolicy into Istio AuthorizationPolicies.
func NewTranslator ¶
func NewTranslator() Translator
Click to show internal directories.
Click to hide internal directories.