role

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 13 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 EnsureCertgenRole added in v1.21.0

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

EnsureCertgenRole ensures a Role resource exists for the certgen job.

func EnsureControllerRole added in v1.21.0

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

EnsureControllerRole ensures a Role resource exists with the for the Contour controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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