istio: istio.io/istio/pilot/pkg/networking/plugin/authz Index | Files

package authz

import "istio.io/istio/pilot/pkg/networking/plugin/authz"

Index

Package Files

authorization.go

func NewPlugin Uses

func NewPlugin(actionType ActionType) plugin.Plugin

NewPlugin returns an instance of the authorization plugin

type ActionType Uses

type ActionType int
const (
    // Local for action ALLOW, DENY and AUDIT and is enforced by Envoy RBAC filter.
    Local ActionType = iota
    // Custom action is enforced by Envoy ext_authz filter.
    Custom
)

type Plugin Uses

type Plugin struct {
    // contains filtered or unexported fields
}

Plugin implements Istio Authorization

func (Plugin) OnInboundFilterChains Uses

func (p Plugin) OnInboundFilterChains(in *plugin.InputParams) []networking.FilterChain

OnInboundFilterChains is called whenever a plugin needs to setup the filter chains, including relevant filter chain configuration.

func (Plugin) OnInboundListener Uses

func (p Plugin) OnInboundListener(in *plugin.InputParams, mutable *networking.MutableObjects) error

OnInboundListener is called whenever a new listener is added to the LDS output for a given service Can be used to add additional filters or add more stuff to the HTTP connection manager on the inbound path

func (Plugin) OnInboundPassthrough Uses

func (p Plugin) OnInboundPassthrough(in *plugin.InputParams, mutable *networking.MutableObjects) error

OnInboundPassthrough is called whenever a new passthrough filter chain is added to the LDS output.

func (Plugin) OnInboundPassthroughFilterChains Uses

func (p Plugin) OnInboundPassthroughFilterChains(in *plugin.InputParams) []networking.FilterChain

OnInboundPassthroughFilterChains is called for plugin to update the pass through filter chain.

func (Plugin) OnOutboundListener Uses

func (p Plugin) OnOutboundListener(in *plugin.InputParams, mutable *networking.MutableObjects) error

OnOutboundListener is called whenever a new outbound listener is added to the LDS output for a given service Can be used to add additional filters on the outbound path

Package authz imports 7 packages (graph) and is imported by 2 packages. Updated 2020-11-20. Refresh now. Tools for package owners.