Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth provides implementation to check if caller/self/kyverno has access to perofrm operations
type AuthChecks ¶ added in v1.13.0
type AuthChecks interface { // User returns the subject User() string // CanI returns 'true' if user has permissions for all specified verbs. // When the result is 'false' a message with details on missing verbs is returned. CanI(ctx context.Context, verbs []string, gvk, namespace, name, subresource string) (bool, string, error) }
AuthChecks provides methods to performing operations on resource
Click to show internal directories.
Click to hide internal directories.