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

rbac

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Log           logr.Logger
	Client        client.Client
	Configuration configuration.Configuration
	// contains filtered or unexported fields
}

func (*Manager) EnsureClusterRoleBindingsProvisioner

func (r *Manager) EnsureClusterRoleBindingsProvisioner(ctx context.Context) error

func (*Manager) EnsureClusterRoleDeleter added in v0.13.0

func (r *Manager) EnsureClusterRoleDeleter(ctx context.Context) (err error)

func (*Manager) EnsureClusterRoleProvisioner added in v0.13.0

func (r *Manager) EnsureClusterRoleProvisioner(ctx context.Context) (err error)

func (*Manager) Reconcile

func (r *Manager) Reconcile(ctx context.Context, request reconcile.Request) (res reconcile.Result, err error)

Reconcile serves both required ClusterRole and ClusterRoleBinding resources: that's ok, we're watching for multiple Resource kinds and we're just interested to the ones with the said name since they're bounded together.

func (*Manager) SetupWithManager

func (r *Manager) SetupWithManager(ctx context.Context, mgr ctrl.Manager, ctrlConfig utils.ControllerOptions) (err error)

func (*Manager) Start

func (r *Manager) Start(ctx context.Context) error

Start is the Runnable function triggered upon Manager start-up to perform the first RBAC reconciliation since we're not creating empty CR and CRB upon Capsule installation: it's a run-once task, since the reconciliation is handled by the Reconciler implemented interface.

Jump to

Keyboard shortcuts

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