flagutil

package
v0.0.0-...-ace5c41 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginOptions

type PluginOptions struct {
	PluginConfigPath                         string
	PluginConfigPathDefault                  string
	SupplementalPluginsConfigDirs            flagutil.Strings
	SupplementalPluginsConfigsFileNameSuffix string
	CheckUnknownPlugins                      bool
	SkipResolveConfigUpdater                 bool
}

func (*PluginOptions) AddFlags

func (o *PluginOptions) AddFlags(fs *flag.FlagSet)

func (*PluginOptions) PluginAgent

func (o *PluginOptions) PluginAgent() (*plugins.ConfigAgent, error)

func (*PluginOptions) Validate

func (o *PluginOptions) Validate(_ bool) error

Jump to

Keyboard shortcuts

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