Documentation ¶
Overview ¶
NOTE! This file is forked from kubernetes/pkg/registry/rbac/rest/storage_rbac.go, as it is otherwise very hard to import without importing the whole Kubernetes project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostStartHook ¶
func PostStartHook() genericapiserver.PostStartHookFunc
Types ¶
type PolicyData ¶
type PolicyData struct { ClusterRoles []rbacapiv1.ClusterRole ClusterRoleBindings []rbacapiv1.ClusterRoleBinding Roles map[string][]rbacapiv1.Role RoleBindings map[string][]rbacapiv1.RoleBinding // ClusterRolesToAggregate maps from previous clusterrole name to the new clusterrole name ClusterRolesToAggregate map[string]string // ClusterRoleBindingsToSplit maps from previous ClusterRoleBinding Name to a template for the new ClusterRoleBinding ClusterRoleBindingsToSplit map[string]rbacapiv1.ClusterRoleBinding }
func (*PolicyData) EnsureRBACPolicy ¶
func (p *PolicyData) EnsureRBACPolicy() genericapiserver.PostStartHookFunc
Click to show internal directories.
Click to hide internal directories.