Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBACHandler ¶
type RBACHandler interface { Authorize(rbacRequest *rbac.Request) rbac.Decision AuthorizeHTTP(r *http.Request) rbac.Decision }
RBACHandler defines APIs to handle RBAC authorization
func NewRBACHandler ¶
func NewRBACHandler(etcdAddress string, customerName string) (RBACHandler, error)
NewRBACHandler loads role-bindings of the specific customer
Click to show internal directories.
Click to hide internal directories.