Documentation ¶
Index ¶
- Constants
- type PolicyData
- type RESTStorageProvider
- func (p RESTStorageProvider) GroupName() string
- func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, ...) (genericapiserver.APIGroupInfo, bool, error)
- func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStartHookFunc, error)
Constants ¶
View Source
const PostStartHookName = "rbac/bootstrap-roles"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyData ¶ added in v1.8.0
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 ¶ added in v1.8.0
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, error)
func (RESTStorageProvider) PostStartHook ¶
func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStartHookFunc, error)
Click to show internal directories.
Click to hide internal directories.