Versions in this module Expand all Collapse all v0 v0.7.9 Feb 21, 2024 v0.7.8 Feb 21, 2024 v0.7.7 Nov 29, 2023 v0.7.6 Apr 14, 2023 v0.7.5 Mar 10, 2023 Changes in this version + const ErrHostParseEmpty + const RespTypeData + const RespTypeError + const RespTypeMsg + type CmdParams struct + Cmd string + Id int + Sudo bool + Type string + type DeleteCmdHistoryParam struct + Id int + type DeleteGroupParam struct + Id int + type DeleteHostParam struct + Id int + type DeleteJobParam struct + Id int + type DeletePlayBookParam struct + Id int + type DeletePrivateKeyParam struct + Id int + type DeleteQuicklyCommandParam struct + Id int + type DeleteTagParam struct + Id int + type DeleteTaskInstanceFrom struct + JobId int + TimeStamp int64 + type DeleteTunnelParam struct + Id int + type File struct + CachePath string + Name string + Size int64 + Status bool + type FileTaskCancelForm struct + Addr string + File string + type GetAllHostParam struct + type GetGroupParam struct + Id int + type GetHostParam struct + Id int + type GetJobParam struct + Id int + type GetJobsParam struct + ExecuteId int + type GetPlayBookParam struct + Id int + type GetPrivateKeyParam struct + Id int + type GetQuicklyCommandParam struct + Id int + type GetTagParam struct + Id int + type GetTaskInstanceLogParam struct + Id int + type GetTaskInstanceParam struct + JobId int + type GetTunnelParam struct + Id int + type GetTunnelsParam struct + HostId int + type ImportResponse struct + CreateGroup []string + CreateHost []string + CreatePrivateKey []string + CreateTag []string + type MkdirParams struct + Dir string + type ModifyFileParams struct + HostId int + Id string + ModifyContent string + type OptionsFileParams struct + HostId int + Id string + type OptionsJobForm struct + Id int + type Page struct + PageNum int + PageSize int + type PageData struct + Data interface{} + PageNum int + Total int64 + type PostGroupForm struct + Mode int + Name string + Params string + type PostHostForm struct + Addr string + Group int + HostName string + PassWord string + Port int + PrivateKeyId int + Tags string + User string + VNCPort int + type PostJobForm struct + Cmd string + CmdId int + CmdType string + ExecuteID int + ExecuteType string + Name string + Spec string + Type string + type PostPlayBookForm struct + Name string + Steps string + type PostPrivateKeyForm struct + KeyFile *multipart.FileHeader + Name string + Passphrase string + type PostQuicklyCommandForm struct + AppendCR bool + Cmd string + Name string + type PostTagForm struct + Name string + type PostTunnelForm struct + Destination string + HostId int + Mode string + Source string + type PutGroupForm struct + Id int + Mode int + Name string + Params string + type PutHostForm struct + Addr string + Group int + HostName string + Id int + PassWord string + Port int + PrivateKeyId int + Tags string + User string + VNCPort int + type PutJobForm struct + Cmd string + CmdId int + CmdType string + ExecuteID int + ExecuteType string + Id int + Name string + Spec string + Type string + type PutPlayBookForm struct + Id int + Name string + Steps string + type PutPrivateKeyForm struct + Id int + KeyFile *multipart.FileHeader + Name string + Passphrase string + type PutQuicklyCommandForm struct + AppendCR bool + Cmd string + Id int + Name string + type PutTagForm struct + Id int + Name string + type PutTunnelForm struct + Destination string + HostId int + Id int + Mode string + Source string + type Response struct + Code string + Data interface{} + Msg string + Type string + func GenerateDataResponse(code string, msg string, data interface{}) Response + func GenerateErrorResponse(code string, msg string) Response + func GenerateMsgResponse(code string, msg string) Response + type SearchCmdHistoryParams struct + KeyWord string + Limit int + type UploadResponse struct + Files []File