Help us shape the future of Go! Take the 2026 Go Developer Survey

rbac

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 11 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileRbac

func ReconcileRbac(ctx context.Context, h *helper.Helper, instance Reconciler, rules []rbacv1.PolicyRule) (ctrl.Result, error)

ReconcileRbac - configures the serviceaccount, role, and role binding for the Reconciler instance

Types

type Reconciler

type Reconciler interface {
	// RbacConditionsSet - set the conditions on the instance
	RbacConditionsSet(c *condition.Condition)

	// RbacNamespace - return a string representing the namespace
	RbacNamespace() string

	// RbacResourceName - name of the resource to be used in the rbac resources (service, role, rolebinding))
	RbacResourceName() string
}

Reconciler - interface for rbac reconcilers

Jump to

Keyboard shortcuts

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