rbac

package
v0.0.0-...-bc7bbdc Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

func DefineRbacAuthorizationClusterGroupSubjects(subjectNames []string) *[]rbacv1.Subject

DefineRbacAuthorizationClusterGroupSubjects defines RBAC Subject list.

func DefineRbacAuthorizationClusterRoleRef

func DefineRbacAuthorizationClusterRoleRef(roleRefName string) *rbacv1.RoleRef

DefineRbacAuthorizationClusterRoleRef defines RoleRef struct.

func DefineRbacAuthorizationClusterServiceAccountSubjects

func DefineRbacAuthorizationClusterServiceAccountSubjects(clusterRoleBindingName, serviceAccountNamespace,
	serviceAccountName string) *rbacv1.ClusterRoleBinding

Types

This section is empty.

Jump to

Keyboard shortcuts

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