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