Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRequest ¶
type AuthRequest interface { GetAuthOption() AuthorizationOption GetGVR(server interface{}) schema.GroupVersionResource }
type AuthorizationOption ¶
type AuthorizationOption struct { Name string Namespace string Verb RequestOperation }
func (AuthorizationOption) Apply ¶
func (a AuthorizationOption) Apply(review *authv1.SubjectAccessReview)
type RequestOperation ¶
type RequestOperation string
const ( RequestGet RequestOperation = "get" RequestList RequestOperation = "list" RequestWatch RequestOperation = "watch" RequestCreate RequestOperation = "create" RequestDelete RequestOperation = "delete" )
Click to show internal directories.
Click to hide internal directories.