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.
Click to show internal directories.
Click to hide internal directories.