globalflags

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGlobalFlags

func AddGlobalFlags(cmd *cobra.Command, opts *GlobalOptions)

AddGlobalFlags adds the Global Flags to the root command

func GetFlags

GetFlags adds the kubeFlags we care about and adds the flags from the provided command

Types

type GlobalOptions

type GlobalOptions struct {
	Output           string
	SkipVersionCheck bool
	NoAwsProxy       bool
}

GlobalOptions defines all available commands

Jump to

Keyboard shortcuts

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