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

package builder

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

Index

Package Files

builder.go extauthz.go logger.go

type AuthzLogger Uses

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

func (*AuthzLogger) AppendDebugf Uses

func (al *AuthzLogger) AppendDebugf(format string, args ...interface{})

func (*AuthzLogger) AppendError Uses

func (al *AuthzLogger) AppendError(err error)

func (*AuthzLogger) Report Uses

func (al *AuthzLogger) Report(in *plugin.InputParams)

type Builder Uses

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

Builder builds Istio authorization policy to Envoy filters.

func New Uses

func New(trustDomainBundle trustdomain.Bundle, in *plugin.InputParams, option Option) *Builder

New returns a new builder for the given workload with the authorization policy. Returns nil if none of the authorization policies are enabled for the workload.

func (Builder) BuildHTTP Uses

func (b Builder) BuildHTTP() []*httppb.HttpFilter

BuildHTTP returns the HTTP filters built from the authorization policy.

func (Builder) BuildTCP Uses

func (b Builder) BuildTCP() []*tcppb.Filter

BuildTCP returns the TCP filters built from the authorization policy.

type Option Uses

type Option struct {
    IsCustomBuilder bool
    Logger          *AuthzLogger
}

General setting to control behavior

Package builder imports 28 packages (graph) and is imported by 2 packages. Updated 2021-01-16. Refresh now. Tools for package owners.