Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BranchString = "?" CompiledTime time.Time GeneratedString = "?" RevisionString = "?" VersionString = "?" )
Functions ¶
func MigrateMain ¶
func MigrateMain(dbConnStr string)
Types ¶
type HostJSON ¶
type HostJSON struct {
ID int64 `json:"id,omitempty"`
Name string `json:"name"`
IP string `json:"ip"`
Package string `json:"package,omitempty"`
Image string `json:"image,omitempty"`
Type string `json:"type,omitempty"`
Tags map[string]interface{} `json:"tags,omitempty"`
Vars map[string]interface{} `json:"vars,omitempty"`
}
func NewHostJSON ¶
func NewHostJSON() *HostJSON
type HostPayload ¶
type HostPayload struct {
Host *HostJSON `json:"host"`
}
Click to show internal directories.
Click to hide internal directories.