Documentation ¶
Index ¶
- func NewBinding(namespace, name string, labels map[string]string) *v1.RoleBinding
- func NewClusterBinding(name string, labels map[string]string) *v1.ClusterRoleBinding
- func NewClusterRole(name string, labels map[string]string) *v1.ClusterRole
- func NewRole(namespace, name string, labels map[string]string) *v1.Role
- func PermToPolicyRule(perm riov1.Permission) (v1.PolicyRule, bool)
- func Populate(service *riov1.Service, os *objectset.ObjectSet) error
- func PopulateCluster(service *riov1.Service, os *objectset.ObjectSet) error
- func ServiceAccountName(service *riov1.Service) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBinding ¶ added in v0.4.0
func NewBinding(namespace, name string, labels map[string]string) *v1.RoleBinding
func NewClusterBinding ¶ added in v0.4.0
func NewClusterBinding(name string, labels map[string]string) *v1.ClusterRoleBinding
func NewClusterRole ¶ added in v0.4.0
func NewClusterRole(name string, labels map[string]string) *v1.ClusterRole
func PermToPolicyRule ¶ added in v0.6.0
func PermToPolicyRule(perm riov1.Permission) (v1.PolicyRule, bool)
func PopulateCluster ¶ added in v0.6.0
func ServiceAccountName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.