flags

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 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 {
	Silent    bool
	Debug     bool
	Config    string
	Context   string
	Namespace string
	LogOutput string
}

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