import "k8s.io/kubernetes/pkg/registry/rbac/rest"
const PostStartHookName = "rbac/bootstrap-roles"
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 (p *PolicyData) EnsureRBACPolicy() genericapiserver.PostStartHookFunc
type RESTStorageProvider struct { Authorizer authorizer.Authorizer }
func (p RESTStorageProvider) GroupName() string
func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool, error)
func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStartHookFunc, error)
Package rest imports 37 packages (graph) and is imported by 10 packages. Updated 2021-01-26. Refresh now. Tools for package owners.