role

package
v1.14.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentRole

func CurrentRole(ctx context.Context, cli client.Client, ns, name string) (*rbacv1.Role, error)

CurrentRole returns the current Role for the provided ns/name.

func EnsureRole

func EnsureRole(ctx context.Context, cli client.Client, name string, contour *operatorv1alpha1.Contour) (*rbacv1.Role, error)

EnsureRole ensures a Role resource exists with the provided name/ns 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