Documentation ¶
Index ¶
- Variables
- func WithAuthorization(handler, failed http.Handler, permissionsClient v1.PermissionsServiceClient, ...) (http.Handler, error)
- func WithAuthzData(parent context.Context, info *AuthzData) context.Context
- type AuthzData
- func (d *AuthzData) FilterList(body []byte) ([]byte, error)
- func (d *AuthzData) FilterObject(pom *metav1.PartialObjectMetadata, body []byte) ([]byte, error)
- func (d *AuthzData) FilterResp(resp *http.Response) error
- func (d *AuthzData) FilterTable(body []byte) ([]byte, error)
- func (d *AuthzData) FilterWatch(resp *http.Response) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func WithAuthorization ¶
func WithAuthorization(handler, failed http.Handler, permissionsClient v1.PermissionsServiceClient, watchClient v1.WatchServiceClient, workflowClient *client.Client, matcher *rules.Matcher, inputExtractor rules.ResolveInputExtractor) (http.Handler, error)
Types ¶
type AuthzData ¶
func AuthzDataFrom ¶
AuthzDataFrom returns the value of the authzdata key on the ctx
func (*AuthzData) FilterObject ¶
Click to show internal directories.
Click to hide internal directories.