flags

package
v0.20.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: May 31, 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

Jump to

Keyboard shortcuts

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