config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	RootPersistentFlags(flags *pflag.FlagSet)
	GlobalRequiredFlags(cmd *cobra.Command) error
	Validate() error
	DefaultConfigDir() (string, error)
	DefaultConfigFile() string
	DefaultLogFile() string
	SetConfigFile(configFile string)
	GetConfigFile() string
	SetLogFile(logFile string)
	GetLogFile() string
}

type New

type New[T Config] func() T

Jump to

Keyboard shortcuts

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