token

package
v1.10.0-preview3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdToken

func NewCmdToken(f util.Factory, parentCommand string, streams genericiooptions.IOStreams) *cobra.Command

NewCmdToken returns cobra.Command for token management

func NewCmdTokenCreate

func NewCmdTokenCreate(f util.Factory, out io.Writer, tokenOpts *CommandTokenOptions) *cobra.Command

NewCmdTokenCreate returns cobra.Command to create token

func NewCmdTokenDelete

func NewCmdTokenDelete(f util.Factory, out io.Writer, tokenOpts *CommandTokenOptions) *cobra.Command

NewCmdTokenDelete returns cobra.Command to delete tokens

func NewCmdTokenList

func NewCmdTokenList(f util.Factory, out io.Writer, errW io.Writer, tokenOpts *CommandTokenOptions) *cobra.Command

NewCmdTokenList returns cobra.Command to list tokens

Types

type CommandTokenOptions

type CommandTokenOptions struct {
	TTL         *metav1.Duration
	Description string
	Groups      []string
	Usages      []string

	PrintRegisterCommand bool
	// contains filtered or unexported fields
}

CommandTokenOptions holds all command options for token

Jump to

Keyboard shortcuts

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