Documentation ¶
Index ¶
Constants ¶
View Source
const PostStartHookName = "rbac/bootstrap-roles"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyData ¶
type PolicyData struct { ClusterRoles []rbac.ClusterRole ClusterRoleBindings []rbac.ClusterRoleBinding Roles map[string][]rbac.Role RoleBindings map[string][]rbac.RoleBinding }
func (*PolicyData) EnsureRBACPolicy ¶
func (p *PolicyData) EnsureRBACPolicy() genericapiserver.PostStartHookFunc
type RESTStorageProvider ¶
type RESTStorageProvider struct {
Authorizer authorizer.Authorizer
}
func (RESTStorageProvider) GroupName ¶
func (p RESTStorageProvider) GroupName() string
func (RESTStorageProvider) NewRESTStorage ¶
func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool)
func (RESTStorageProvider) PostStartHook ¶
func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStartHookFunc, error)
Click to show internal directories.
Click to hide internal directories.