Versions in this module Expand all Collapse all v0 v0.2.0 Mar 11, 2025 v0.1.0 Oct 25, 2024 Changes in this version + var DefaultPluginTypeRegistry = NewTypeOptionsRegistry() + type Options struct + PluginName string + func NewDefaultOptions() *Options + func NewOptions(registry *TypeOptionsRegistry) *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) NetworkInterfacePlugin() (providernetworkinterface.Plugin, func(), error) + type TypeOptions interface + AddFlags func(fs *pflag.FlagSet) + NetworkInterfacePlugin func() (providernetworkinterface.Plugin, func(), error) + PluginName func() string + type TypeOptionsRegistry struct + func NewTypeOptionsRegistry() *TypeOptionsRegistry + func (r *TypeOptionsRegistry) DefaultPluginName() string + func (r *TypeOptionsRegistry) ForeachPluginTypeOpts(f func(pluginName string, pluginOpts TypeOptions) bool) + func (r *TypeOptionsRegistry) PluginNames() []string + func (r *TypeOptionsRegistry) PluginTypeOptsByName(pluginName string) (TypeOptions, error) + func (r *TypeOptionsRegistry) Register(pluginOpts TypeOptions, priority int) error