clusterrole

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncClusterRoleBindings

func SyncClusterRoleBindings(ctx context.Context, client client.Client, clusterRoleBindings []rbacv1.ClusterRoleBinding, clusterRoleName string, subjects []rbacv1.Subject, deleteExcess bool) ([]rbacv1.ClusterRoleBinding, error)

func SyncClusterRoles

func SyncClusterRoles(ctx context.Context, client client.Client, clusterRoles []rbacv1.ClusterRole, rules []rbacv1.PolicyRule, deleteExcess bool) ([]rbacv1.ClusterRole, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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