cmd

package
v0.0.0-...-ea3a733 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdMakeRBAC

func NewCmdMakeRBAC(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command

Types

type MakeRBACOptions

type MakeRBACOptions struct {
	FilenameOptions     resource.FilenameOptions
	ValidationDirective string

	Name        string
	For         string
	ForGroup    string
	MissingOnly bool

	PrintVersionAndExit bool
	genericiooptions.IOStreams
}

MakeRBACOptions provides information required to check missing RBAC rules

func NewMakeRBACOptions

func NewMakeRBACOptions(streams genericiooptions.IOStreams) *MakeRBACOptions

func (*MakeRBACOptions) Complete

func (o *MakeRBACOptions) Complete(cmd *cobra.Command) error

func (*MakeRBACOptions) RunMakeRBAC

func (o *MakeRBACOptions) RunMakeRBAC(f cmdutil.Factory, cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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