template

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterRolePrefix = "bke-"
)

Variables

View Source
var RoleTemplateStore map[string]*RoleTemplate

Functions

func InitRbacTemplates

func InitRbacTemplates()

初始化所有clusterrole角色,定义每个clusterrole的权限

Types

type RoleTemplate

type RoleTemplate struct {
	Name  string
	Rules []rbacv1.PolicyRule
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL