plugin

package
v0.0.0-...-7b0ceb9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClusterRole

func GenerateClusterRole(perms []Perm) (role v1.ClusterRole)

func GenerateRole

func GenerateRole(perms []Perm) (role v1.Role)

func RunPlugin

func RunPlugin(configFlags *genericclioptions.ConfigFlags) error

Types

type Perm

type Perm struct {
	Verb       string
	Resource   string
	Api        string
	Namespace  string
	Namespaced bool
}

func ParsePerms

func ParsePerms(matches []string) (p Perm, success bool)

Jump to

Keyboard shortcuts

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