kubernetes: k8s.io/kubernetes/pkg/registry/rbac/rest Index | Files

package rest

import "k8s.io/kubernetes/pkg/registry/rbac/rest"

Index

Package Files

storage_rbac.go

Constants

const PostStartHookName = "rbac/bootstrap-roles"

type PolicyData Uses

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 Uses

func (p *PolicyData) EnsureRBACPolicy() genericapiserver.PostStartHookFunc

type RESTStorageProvider Uses

type RESTStorageProvider struct {
    Authorizer authorizer.Authorizer
}

func (RESTStorageProvider) GroupName Uses

func (p RESTStorageProvider) GroupName() string

func (RESTStorageProvider) NewRESTStorage Uses

func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool)

func (RESTStorageProvider) PostStartHook Uses

func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStartHookFunc, error)

Package rest imports 36 packages (graph) and is imported by 8 packages. Updated 2019-05-18. Refresh now. Tools for package owners.