rbac

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package rbac implements Crossplane's RBAC controller manager.

Index

Constants

View Source
const (
	ManagementPolicyAll   = string(rbaccontroller.ManagementPolicyAll)
	ManagementPolicyBasic = string(rbaccontroller.ManagementPolicyBasic)
)

Available RBAC management policies.

Variables

View Source
var KongVars = kong.Vars{
	"rbac_manage_default_var": ManagementPolicyBasic,
	"rbac_manage_enum_var": strings.Join(
		[]string{
			ManagementPolicyAll,
			ManagementPolicyBasic,
		},
		", "),
	"rbac_default_registry": xpkg.DefaultRegistry,
}

KongVars represent the kong variables associated with the CLI parser required for the RBAC enum interpolation.

Functions

This section is empty.

Types

type Command

type Command struct {
	Start startCommand `cmd:"" help:"Start Crossplane RBAC controllers."`
	Init  initCommand  `cmd:"" help:"Initialize RBAC Manager."`
}

Command runs the crossplane RBAC controllers

func (*Command) Run

func (c *Command) Run() error

Run is the no-op method required for kong call tree. Kong requires each node in the calling path to have associated Run method.

Jump to

Keyboard shortcuts

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