Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionProvider ¶
type ActionProvider interface {
Execute(*Action) error
Configure(c *ProviderConfig) error
}
type ActionProviderFactory ¶
type ActionProviderFactory func() (ActionProvider, error)
type ActionProviderFunc ¶
type ActionProviderFunc func() ActionProvider
type Config ¶
type Config struct {
Variables []*Variable
Tasks map[string]*Task
ProviderConfigs []*ProviderConfig
}
Config ...
func LoadConfig ¶
LoadConfig reads the file at the path given and parses it and returns a new Config
func (*Config) GetProviderConfig ¶
func (c *Config) GetProviderConfig(name string) (*ProviderConfig, error)
func (*Config) GetTask ¶
GetTask checks if a task exist by the given name and then returns or errors
func (*Config) Interpolate ¶
func (c *Config) Interpolate()
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.