rbac

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 8 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

This section is empty.

Types

type Command

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

Command configuration for the RBAC manager.

func FromKingpin

func FromKingpin(cmd *kingpin.CmdClause) *Command

FromKingpin produces the RBAC manager command from a Kingpin command.

func (*Command) Run

func (c *Command) Run(log logging.Logger) error

Run the RBAC manager.

Jump to

Keyboard shortcuts

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