cmd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CROSS_MARK = ":cross_mark:"
	CHECK_MARK = ":check_mark:"
	NO_ENTRY   = ":no_entry:"
)

Variables

This section is empty.

Functions

func NewCmdPermissions

func NewCmdPermissions(streams genericclioptions.IOStreams) *cobra.Command

NewCmdPermissions provides a cobra command wrapping PermissionsOptions

Types

type PermissionsOptions

type PermissionsOptions struct {
	genericclioptions.IOStreams

	Version        bool
	IncludeSecrets bool

	Cmd  *cobra.Command
	Args []string
	// contains filtered or unexported fields
}

PermissionsOptions provides information to view permissions

func NewPermissionsOptions

func NewPermissionsOptions(streams genericclioptions.IOStreams) *PermissionsOptions

NewPermissionsOptions provides an instance of PermissionsOptions with default values

func (*PermissionsOptions) Run

func (o *PermissionsOptions) Run() error

Run lists all available namespaces on a user's KUBECONFIG or updates the current context based on a provided namespace.

Jump to

Keyboard shortcuts

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