package rbac
import "k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac"
Package rbac implements the authorizer.Authorizer interface using roles base access control.
Index ¶
Types ¶
type RBACAuthorizer ¶
type RBACAuthorizer struct {
// contains filtered or unexported fields
}
func New ¶
func New(roleRegistry role.Registry, roleBindingRegistry rolebinding.Registry, clusterRoleRegistry clusterrole.Registry, clusterRoleBindingRegistry clusterrolebinding.Registry, superUser string) *RBACAuthorizer
func (*RBACAuthorizer) Authorize ¶
func (r *RBACAuthorizer) Authorize(attr authorizer.Attributes) (bool, string, error)
Source Files ¶
rbac.go
- Version
- v1.4.3
- Published
- Oct 16, 2016
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 6 minutes ago –
Tools for package owners.