istio: istio.io/istio/pilot/pkg/security/authz/policy Index | Files | Directories

package policy

import "istio.io/istio/pilot/pkg/security/authz/policy"

Index

Package Files

helper.go policy.go

func AuthzPolicyTag Uses

func AuthzPolicyTag(name string) string

func BindingTag Uses

func BindingTag(name string) string

func CustomPrincipal Uses

func CustomPrincipal(trustDomain, namespace, saName string) string

func NewAuthzPolicies Uses

func NewAuthzPolicies(policies []*model.Config, t mockTest) *model.AuthorizationPolicies

func NewServiceMetadata Uses

func NewServiceMetadata(hostname string, labels map[string]string, t mockTest) *authz_model.ServiceMetadata

func RoleTag Uses

func RoleTag(name string) string

func SimpleAuthorizationPolicy Uses

func SimpleAuthorizationPolicy(name string, namespace string) *model.Config

func SimpleAuthorizationProto Uses

func SimpleAuthorizationProto(name string) *authpb.AuthorizationPolicy

func SimpleBinding Uses

func SimpleBinding(name, namespace, role string) *model.Config

func SimpleBindingWithUser Uses

func SimpleBindingWithUser(name, namespace, role, user string) *model.Config

func SimpleClusterRbacConfig Uses

func SimpleClusterRbacConfig() *model.Config

func SimplePermissiveBinding Uses

func SimplePermissiveBinding(name string, namespace string, role string) *model.Config

func SimpleRole Uses

func SimpleRole(name string, namespace string, service string) *model.Config

func Verify Uses

func Verify(got *envoy_rbac.RBAC, want map[string][]string, needToCheckPrincipals bool) error

type Generator Uses

type Generator interface {
    Generate(forTCPFilter bool) *http_config.RBAC
}

Directories

PathSynopsis
v1alpha1
v1beta1

Package policy imports 14 packages (graph) and is imported by 3 packages. Updated 2019-11-16. Refresh now. Tools for package owners.