clusterrole

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentClusterRole

func CurrentClusterRole(ctx context.Context, cli client.Client, name string) (*rbacv1.ClusterRole, error)

CurrentClusterRole returns the current ClusterRole for the provided name.

func EnsureClusterRole

func EnsureClusterRole(ctx context.Context, cli client.Client, name string, contour *model.Contour) (*rbacv1.ClusterRole, error)

EnsureClusterRole ensures a ClusterRole resource exists with the provided name and contour namespace/name for the owning contour labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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