rbac

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildClusterRoleBinding

func BuildClusterRoleBinding(owner metav1.Object, info RoleBindingInfo, agentVersion string) *rbacv1.ClusterRoleBinding

BuildClusterRoleBinding creates a ClusterRoleBinding object

Types

type RoleBindingInfo

type RoleBindingInfo struct {
	Name               string
	RoleName           string
	ServiceAccountName string
}

RoleBindingInfo contains the required information to build a Cluster Role Binding

Jump to

Keyboard shortcuts

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