role

package
v0.0.0-...-d7ad274 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 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, Sesame *operatorv1alpha1.Sesame) (*rbacv1.Role, error)

EnsureRole ensures a Role resource exists with the provided name/ns and sesame namespace/name for the owning sesame labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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