builder

package
v0.0.0-...-2c1c132 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder builds Istio authorization policy to Envoy RBAC filter.

func New

func New(trustDomainBundle trustdomain.Bundle, namespace string,
	client dubboclient.DubboV1alpha1Interface) *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) BuildDubboFilter

func (b Builder) BuildDubboFilter() []*dubbopb.DubboFilter

BuildDubboFilter returns the RBAC TCP filters built from the authorization policy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL