Documentation ¶
Index ¶
- func DefineClusterRoleBinding(ref rbacv1.RoleRef, subjects []rbacv1.Subject) *rbacv1.ClusterRoleBinding
- func DefineRbacAuthorizationClusterGroupSubjects(subjectNames []string) *[]rbacv1.Subject
- func DefineRbacAuthorizationClusterRoleRef(roleRefName string) *rbacv1.RoleRef
- func DefineRbacAuthorizationClusterServiceAccountSubjects(clusterRoleBindingName, serviceAccountNamespace, serviceAccountName string) *rbacv1.ClusterRoleBinding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineClusterRoleBinding ¶
func DefineClusterRoleBinding(ref rbacv1.RoleRef, subjects []rbacv1.Subject) *rbacv1.ClusterRoleBinding
DefineClusterRoleBinding sets cluster ClusterRoleBinding for role and subject.
func DefineRbacAuthorizationClusterGroupSubjects ¶
DefineRbacAuthorizationClusterGroupSubjects defines RBAC Subject list.
func DefineRbacAuthorizationClusterRoleRef ¶
DefineRbacAuthorizationClusterRoleRef defines RoleRef struct.
func DefineRbacAuthorizationClusterServiceAccountSubjects ¶
func DefineRbacAuthorizationClusterServiceAccountSubjects(clusterRoleBindingName, serviceAccountNamespace, serviceAccountName string) *rbacv1.ClusterRoleBinding
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.