role

package
v1.23.2 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: 12 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) (client.Object, error)

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

func EnsureControllerRole

func EnsureControllerRole(ctx context.Context, cli client.Client, name string, contour *model.Contour) 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