Documentation ¶
Index ¶
- func NewClusterNamespace(name, organization string) *corev1.Namespace
- func NewClusterRole(name string, rules ...rbacv1.PolicyRule) *rbacv1.ClusterRole
- func NewGenericNamespace(name string) *corev1.Namespace
- func NewOrgNamespace(orgName string) *corev1.Namespace
- func NewOrganization(name string) *security.Organization
- func NewPolicyRule(verbs, resources, resourceNames, apiGroups []string) *rbacv1.PolicyRule
- func NewRoleBinding(name, namespace string, roleRef map[string]string, subjects []rbacv1.Subject) *rbacv1.RoleBinding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterNamespace ¶
func NewClusterRole ¶
func NewClusterRole(name string, rules ...rbacv1.PolicyRule) *rbacv1.ClusterRole
func NewGenericNamespace ¶
func NewOrgNamespace ¶
func NewOrganization ¶
func NewOrganization(name string) *security.Organization
func NewPolicyRule ¶
func NewPolicyRule(verbs, resources, resourceNames, apiGroups []string) *rbacv1.PolicyRule
func NewRoleBinding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.