Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *zerolog.Logger
Goiac main object.
Functions ¶
Types ¶
type GoIAC ¶
type GoIAC struct { Globals config.Globals Log *zerolog.Logger Stages []*Stage Scripts []*Script Modules []*Module Project *Project Facts Facts }
var G *GoIAC
func (*GoIAC) ReadConfig ¶
type Module ¶
type Module struct { Name string `mapstructure:"name"` Description string `mapstructure:"description,omitempty"` Version int `mapstructure:"version"` Author string `mapstructure:"author,omitempty"` License string `mapstructure:"license,omitempty"` ScriptFiles []string `mapstructure:"scripts"` S []*Script Project *Project Idx int }
Working with modules.
type Project ¶
type Project struct { Name string `mapstructure:"name"` Description string `mapstructure:"description,omitempty"` Platform string `mapstructure:"platform,omitempty"` Arch string `mapstructure:"arch,omitempty"` Roles map[string][]string `mapstructure:"roles,omitempty"` Hosts map[string]Host `mapstructure:"hosts,omitempty"` Modules []*Module Var map[string]interface{} `mapstructure:"var,omitempty"` }
type Script ¶
Click to show internal directories.
Click to hide internal directories.