Documentation ¶
Index ¶
Constants ¶
View Source
const ( API_NodeInfo = "/node/info" API_NodeStatus = "/node/status" API_NodeLog = "/node/log" API_NodePrune = "/node/prune" API_NodeApps = "/node/apps" API_NodeAppInfo = "/node/app/info" API_NodeAppVersion = "/node/app/version" API_NodeAppReset = "/node/app/version" API_NodesInfo = "/nodes/info" API_NodesStatus = "/nodes/status" API_NodesParse = "/nodes/parse" API_ScenarioInfo = "/scenario/info" API_ScenarioUpdate = "/scenario/update" API_ScenarioVersion = "/scenario/version" API_ScenarioFix = "/scenario/fix" API_ScenarioAppDeploy = "/scenario/app/deployment" API_ScenarioAppCreate = "/scenario/app/prepare" API_ScenarioAppCommit = "/scenario/app/commit" API_ScenariosInfo = "/scenarios/info" API_FileUpload = "/file/upload" API_FileSpread = "/file/spread" API_FileDistrib = "/file/distrib" API_FileTree = "/file/tree" API_FilePull = "/file/pull" API_RunCmd = "/run/cmd" API_RunScript = "/run/script" API_RunCancel = "/run/cancel" API_Ssh = "/ssh" API_TaskState = "/taskstate" API_Pakma = "/pakma" API_Group = "/group" API_Groups = "/groups" API_WorkgroupInfo = "/workgroup/info" API_WorkgroupMembers = "/workgroup/members" API_WorkgroupChildren = "/workgroup/children" )
Variables ¶
View Source
var BrainAddr string
Functions ¶
func InitConfig ¶
Types ¶
type BrainModel ¶
type ConfigModel ¶
type ConfigModel struct { HttpsNameServer HttpsNsModel `mapstructure:"httpsNameServer"` Brain BrainModel `mapstructure:"brain"` Sslinfo SslinfoModel `mapstructure:"ssl"` Gitinfo GitinfoModel `mapstructure:"git"` OutputPretty bool `mapstructure:"outputPretty"` JsonFast bool `mapstructure:"jsonFast"` Workgroup WorkgroupModel `mapstructure:"workgroup"` }
var GlobalConfig ConfigModel
type GitinfoModel ¶
type HttpsNsModel ¶
type SslinfoModel ¶
type WorkgroupModel ¶
Click to show internal directories.
Click to hide internal directories.