flags

package
v0.21.0-beta.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalFlags

type GlobalFlags struct {
	Config    string
	Context   string
	Namespace string
	LogOutput string
	Silent    bool
	Debug     bool
}

GlobalFlags is the flags that contains the global flags

func SetGlobalFlags

func SetGlobalFlags(flags *flag.FlagSet, log log.Logger) *GlobalFlags

SetGlobalFlags applies the global flags

func (*GlobalFlags) LoadedConfig

func (g *GlobalFlags) LoadedConfig(log log.Logger) *config.CLI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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