Documentation
¶
Index ¶
- Variables
- func Names() (names []string)
- type Config
- func (c Config) DelConfig(f *resource.Fetcher) error
- func (c Config) FetchFunc() providers.FuncFetchConfig
- func (c Config) InitFunc() providers.FuncInit
- func (c Config) Name() string
- func (c Config) NewFetcherFunc() providers.FuncNewFetcher
- func (c Config) Status(stageName string, f resource.Fetcher, statusErr error) error
- type Name
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCannotDelete = errors.New("cannot delete config on this platform")
)
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config represents a set of options that map to a particular platform.
func (Config) FetchFunc ¶
func (c Config) FetchFunc() providers.FuncFetchConfig
func (Config) InitFunc ¶ added in v2.7.0
InitFunc returns a function that performs additional fetcher configuration post-config fetch. This ensures that networking is already available if a platform needs to reach out to the metadata service to fetch additional options / data.
func (Config) NewFetcherFunc ¶
func (c Config) NewFetcherFunc() providers.FuncNewFetcher
Click to show internal directories.
Click to hide internal directories.