rbac

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

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

Available RBAC management policies.

Variables

This section is empty.

Functions

func FromKingpin

func FromKingpin(cmd *kingpin.CmdClause) (*Command, *InitCommand)

FromKingpin produces the RBAC manager command from a Kingpin command.

Types

type Command

type Command struct {
	Name                string
	Sync                time.Duration
	LeaderElection      bool
	ManagementPolicy    string
	ProviderClusterRole string
}

Command configuration for the RBAC manager.

func (*Command) Run

func (c *Command) Run(s *runtime.Scheme, log logging.Logger) error

Run the RBAC manager.

type InitCommand added in v1.2.0

type InitCommand struct {
	Name string
}

InitCommand configuration for the initialization of RBAC controllers.

func (*InitCommand) Run added in v1.2.0

func (c *InitCommand) Run(s *runtime.Scheme, log logging.Logger) error

Run starts the initialization process.

Jump to

Keyboard shortcuts

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