Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyContext = &context{}
View Source
var ErrDriverFnNotFound = errors.New("driver function not found")
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.1.1
type Context interface { Variables() map[string]interface{} References() map[string]interface{} // retro-compatibility with v0.1.2 }
func NewContext ¶ added in v0.1.1
type Driver ¶
type Driver interface { Lookup(...string) (DriverFn, error) SetDryRun(bool) SetLogger(*logger.Logger) }
func NewMultiDriver ¶
type MultiDriver ¶
type MultiDriver struct {
// contains filtered or unexported fields
}
func (*MultiDriver) Lookup ¶
func (d *MultiDriver) Lookup(lookups ...string) (driverFn DriverFn, err error)
func (*MultiDriver) SetDryRun ¶
func (d *MultiDriver) SetDryRun(dry bool)
func (*MultiDriver) SetLogger ¶
func (d *MultiDriver) SetLogger(l *logger.Logger)
Click to show internal directories.
Click to hide internal directories.