policy

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 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 SubjectResolver

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

SubjectResolver resolves policy subject from Authorizables.

func NewSubjectResolver

func NewSubjectResolver(ctx context.Context, callback func(types.NamespacedName)) *SubjectResolver

NewSubjectResolver constructs a new SubjectResolver.

func (*SubjectResolver) ResolveFromRef

func (r *SubjectResolver) ResolveFromRef(ref tracker.Reference, parent interface{}) (*metav1.LabelSelector, error)

ResolveFromRef resolves policy binding subject from the reference.

Directories

Path Synopsis
istio

Jump to

Keyboard shortcuts

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