istio: istio.io/istio/pilot/pkg/security/authn/v1alpha1 Index | Files

package v1alpha1

import "istio.io/istio/pilot/pkg/security/authn/v1alpha1"

Index

Package Files

model.go policy_applier.go

func GetMutualTLS Uses

func GetMutualTLS(policy *authn_v1alpha1.Policy) *authn_v1alpha1.MutualTls

GetMutualTLS returns pointer to mTLS params if the policy use mTLS for (peer) authentication. (note that mTLS params can still be nil). Otherwise, return (false, nil). Callers should ensure the proxy is of sidecar type.

func GetMutualTLSMode Uses

func GetMutualTLSMode(policy *authn.Policy) authn_model.MutualTLSMode

GetMutualTLSMode returns the mTLS mode for given. If the policy is nil, or doesn't define mTLS, it returns MTLSDisable.

func NewPolicyApplier Uses

func NewPolicyApplier(policy *authn_v1alpha1.Policy) authn.PolicyApplier

NewPolicyApplier returns new applier for v1alpha1 authentication policy.

Package v1alpha1 imports 25 packages (graph) and is imported by 6 packages. Updated 2019-10-16. Refresh now. Tools for package owners.