Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory(name string) *factory
func RegisterBuiltin ¶
Types ¶
type BuiltIn ¶
type BuiltIn interface {
Module
ApplyVariables(vars variable.Collection)
Clone(name string) BuiltIn
}
type File ¶
func NewMemoryFile ¶
type FileOperation ¶
type FileOperation uint8
const ( OpUnknown FileOperation = iota OpCreate OpUpdate OpDelete )
type Module ¶
type ModuleDiff ¶
type ModuleDiff interface {
Module() Module
Before() State
After() State
Print(withContent bool)
Apply() error
Files() []FileDiff
}
func Diff ¶
func Diff(m Module) ([]ModuleDiff, error)
Click to show internal directories.
Click to hide internal directories.