Authorizer checks what a user can or cannot do to a resource.
| 82 | |
| 83 | // Authorizer checks what a user can or cannot do to a resource. |
| 84 | type Authorizer interface { |
| 85 | // CanI returns true if the user can use these actions for a given resource. |
| 86 | CanI(ns string, gvr *GVR, n string, verbs []string) (bool, error) |
| 87 | } |
| 88 | |
| 89 | // Connection represents a Kubernetes apiserver connection. |
| 90 | type Connection interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…