Versions in this module Expand all Collapse all v1 v1.10.14 Jan 24, 2024 Changes in this version + const ADD_USER_DEFALUT_PASSWORD + const ASCII_CODE_LF + const CHARGE_TYPE_PREPAID + const ClusterDeletePath + const DEFALT_CIPHER + const DEFAULT_GET_TEXT_CONTEXT_LINE_OFFSET + const ENABLE_HIGH_RISK_COMMAND_INTERRUPT + const END_POINT_TYPE_LOCAL + const END_POINT_TYPE_S3 + const END_POINT_TYPE_USER_PARAM + const ENV_NAME_SALT_API_HOST + const ENV_NAME_SALT_API_PWD + const ENV_NAME_SALT_API_USER + const KEY_CANCEL + const KEY_CR + const KEY_SPACE + const PASSWORD_LEN + const PlatformUser + const RESULT_CODE_ERROR + const RESULT_CODE_SUCCESS + const S3CONFIG_DIR + const SALT_TOKEN_VALID_TIME + const SCRIPT_SAVE_PATH + const STATE_HIGH_RISK_WAIT_CONFIRM + const STATE_WAIT_COMMAND_INPUT + const SystemRole + const UNCOMPRESSED_DIR + const UPLOADS3FILE_DIR + const WEB_CONSOLE_DEFAULT_PORT + const WEB_CONSOLE_DEFAULT_USER_NAME + const Zip_Deflate + const Zip_gZip + var AgentActions = make(map[string]Action) + var ApiConcurrentNum int + var ApplyDeploymentActions = make(map[string]Action) + var CIPHER_MAP = map[string]string + var ClusterList []string + var CoreUrl string + var DB *sql.DB + var DefaultEncryptReplaceList []string + var DefaultFileReplaceList []string + var DefaultS3Key = "access_key" + var DefaultS3Password = "secret_key" + var DefaultS3TmpAddress string + var DefaultSpecialReplaceList []string + var FileActions = make(map[string]Action) + var HighRiskCommands = []string + var KEY_KEY_SEPERATOR = VARIABLE_VARIABLE_SEPERATOR + var LogActions = make(map[string]Action) + var MasterHostIp string + var MysqlDatabasePluginActions = make(map[string]Action) + var MysqlDatabaseUserPluginActions = make(map[string]Action) + var MysqlScriptPluginActions = make(map[string]Action) + var NULL_VALUE_FLAG = "NULL" + SEPERATOR + var ONE_VARIABLE_SEPERATOR = "&" + SEPERATOR + var PasswordPluginActions = make(map[string]Action) + var ReleasedPackagePluginActions = make(map[string]Action) + var SEPERATOR = string([]byte{ ... }) + var SaltApiActions = make(map[string]Action) + var SaltResetEnv bool + var ScriptPluginActions = make(map[string]Action) + var SubSystemCode string + var SubSystemKey string + var TextProcessorPluginActions = make(map[string]Action) + var UserPluginActions = make(map[string]Action) + var VARIABLE_KEY_SEPERATOR = SEPERATOR + "=" + SEPERATOR + var VARIABLE_VARIABLE_SEPERATOR = "," + SEPERATOR + var VariableActions = make(map[string]Action) + var VariableNullCheck bool + var WebConsoleActions = make(map[string]Action) + func Accept_Encoding(r *http.Request) string + func AesDePassword(guid, seed, password string) (string, error) + func AesDecode(key string, encryptData string) (password string, err error) + func AesEnPassword(guid, seed, password, cipher string) (string, error) + func AesEncode(key string, rawData string) (string, error) + func CallSaltApi(serviceUrl string, request SaltApiRequest, language string) (string, error) + func CheckVariableIsAllReady(input map[string]string, variablelist []string) (err error) + func CompressFile(dir string, filePath []string, pkgName string, pkgType string) error + func CountLineNumber(wLine int, rLine string) (string, string) + func DecryptRsa(inputString string) string + func ExtractJsonFromStruct(s interface{}) map[string]string + func GetCoreToken() string + func GetFileMD5Value(filePath string) (string, error) + func GetInputVariableMap(variable string, seed string, specialList []string) (map[string]string, error) + func GetInputVariableMapNew(variable string, seed string, specialList []string) (map[string]string, error) + func Gzip_Html(b io.Reader, w http.ResponseWriter, r *http.Request) + func InitCoreToken() + func InitEnvParam() + func InitErrorMessageList() + func LogReadLine(cmd *exec.Cmd, stdout io.ReadCloser) ([]string, error) + func Md5Encode(rawData string) string + func PKCS7Padding(ciphertext []byte, blockSize int) []byte + func PKCS7UnPadding(origData []byte) []byte + func PathExists(path string) (bool, error) + func RSAEncryptByPrivate(orgidata []byte, privatekey string) ([]byte, error) + func ReplaceFileVar(filepath string, input *VariableReplaceInput, decompressDirName string) error + func SendHostDelete(hosts []string) + func StartCleanInterval() + func StartClusterServer() + func SyncClusterList() + func Uint32(str string) (uint32, error) + func UnmarshalJson(source interface{}, target interface{}) error + func WebConsoleHandler(w http.ResponseWriter, r *http.Request) + func WebConsoleStaticPageHandler(w http.ResponseWriter, r *http.Request) + type Action interface + Do func(param interface{}) (interface{}, error) + ReadParam func(param interface{}) (interface{}, error) + SetAcceptLanguage func(language string) + type AddMysqlDatabaseAction struct + Language string + func (action *AddMysqlDatabaseAction) Do(input interface{}) (interface{}, error) + func (action *AddMysqlDatabaseAction) ReadParam(param interface{}) (interface{}, error) + func (action *AddMysqlDatabaseAction) SetAcceptLanguage(language string) + type AddMysqlDatabaseInput struct + DatabaseName string + DatabaseOwnerGuid string + DatabaseOwnerName string + DatabaseOwnerPassword string + Guid string + Host string + Password string + Port string + Seed string + UserName string + type AddMysqlDatabaseInputs struct + Inputs []AddMysqlDatabaseInput + type AddMysqlDatabaseOutput struct + DatabaseOwnerGuid string + DatabaseOwnerPassword string + type AddMysqlDatabaseOutputs struct + Outputs []AddMysqlDatabaseOutput + type AddMysqlDatabaseUserAction struct + Language string + func (action *AddMysqlDatabaseUserAction) Do(input interface{}) (interface{}, error) + func (action *AddMysqlDatabaseUserAction) ReadParam(param interface{}) (interface{}, error) + func (action *AddMysqlDatabaseUserAction) SetAcceptLanguage(language string) + type AddMysqlDatabaseUserInput struct + DatabaseName string + DatabaseUserGuid string + DatabaseUserName string + DatabaseUserPassword string + Guid string + Host string + Password string + Port string + Seed string + UserName string + type AddMysqlDatabaseUserInputs struct + Inputs []AddMysqlDatabaseUserInput + type AddMysqlDatabaseUserOutput struct + DatabaseUserGuid string + DatabaseUserPassword string + type AddMysqlDatabaseUserOutputs struct + Outputs []AddMysqlDatabaseUserOutput + type AddUserAction struct + Language string + func (action *AddUserAction) CheckParam(input AddUserInput) error + func (action *AddUserAction) Do(input interface{}) (interface{}, error) + func (action *AddUserAction) ReadParam(param interface{}) (interface{}, error) + func (action *AddUserAction) SetAcceptLanguage(language string) + type AddUserInput struct + GroupId string + Guid string + HomeDir string + Password string + RwDir string + RwFile string + Seed string + Target string + UserGroup string + UserId string + UserName string + type AddUserInputs struct + Inputs []AddUserInput + type AddUserOutput struct + Detail string + Guid string + Password string + type AddUserOutputs struct + Outputs []AddUserOutput + type AgentInstallInput struct + Command string + Guid string + Host string + Method string + Password string + Port string + Seed string + User string + type AgentInstallInputs struct + Inputs []AgentInstallInput + type AgentInstallOutput struct + Guid string + type AgentInstallOutputs struct + Outputs []AgentInstallOutput + type AgentPlugin struct + func (plugin *AgentPlugin) GetActionByName(actionName string) (Action, error) + type AgentUninstallInput struct + Guid string + Host string + Password string + Port string + Seed string + User string + type AgentUninstallInputs struct + Inputs []AgentUninstallInput + type AgentUninstallOutput struct + Guid string + type AgentUninstallOutputs struct + Outputs []AgentUninstallOutput + type ApplyDeleteDeploymentAction struct + Language string + func (action *ApplyDeleteDeploymentAction) Do(input interface{}) (interface{}, error) + func (action *ApplyDeleteDeploymentAction) ReadParam(param interface{}) (interface{}, error) + func (action *ApplyDeleteDeploymentAction) SetAcceptLanguage(language string) + type ApplyDeleteDeploymentInput struct + DestinationPath string + Guid string + StopScriptPath string + Target string + UserName string + type ApplyDeleteDeploymentInputs struct + Inputs []ApplyDeleteDeploymentInput + type ApplyDeleteDeploymentOutput struct + Guid string + type ApplyDeleteDeploymentOutputs struct + Outputs []ApplyDeleteDeploymentOutput + type ApplyDeploymentPlugin struct + func (plugin *ApplyDeploymentPlugin) GetActionByName(actionName string) (Action, error) + type ApplyNewDeploymentAction struct + Language string + func (action *ApplyNewDeploymentAction) CheckParam(input ApplyNewDeploymentInput) error + func (action *ApplyNewDeploymentAction) Do(input interface{}) (interface{}, error) + func (action *ApplyNewDeploymentAction) ReadParam(param interface{}) (interface{}, error) + func (action *ApplyNewDeploymentAction) SetAcceptLanguage(language string) + type ApplyNewDeploymentInput struct + AppPublicKey string + DestinationPath string + EncryptVariblePrefix string + EndPoint string + ExecArg string + Guid string + Password string + RwDir string + RwFile string + Seed string + StartScriptPath string + SysPrivateKey string + Target string + UserName string + VariableFilePath string + VariableList string + type ApplyNewDeploymentInputs struct + Inputs []ApplyNewDeploymentInput + type ApplyNewDeploymentOutput struct + FileDetail string + Guid string + NewS3PkgPath string + Password string + RetCode int + RunScriptDetail string + Target string + UserDetail string + type ApplyNewDeploymentOutputs struct + Outputs []ApplyNewDeploymentOutput + type ApplyNewDeploymentThreadObj struct + Data ApplyNewDeploymentOutput + Err error + Index int + type ApplyUpdateDeploymentAction struct + Language string + func (action *ApplyUpdateDeploymentAction) CheckParam(input ApplyUpdateDeploymentInput) error + func (action *ApplyUpdateDeploymentAction) Do(input interface{}) (interface{}, error) + func (action *ApplyUpdateDeploymentAction) ReadParam(param interface{}) (interface{}, error) + func (action *ApplyUpdateDeploymentAction) SetAcceptLanguage(language string) + type ApplyUpdateDeploymentInput struct + AppPublicKey string + DestinationPath string + EncryptVariblePrefix string + EndPoint string + ExecArg string + Guid string + Seed string + StartScriptPath string + StopScriptPath string + SysPrivateKey string + Target string + UserName string + VariableFilePath string + VariableList string + type ApplyUpdateDeploymentInputs struct + Inputs []ApplyUpdateDeploymentInput + type ApplyUpdateDeploymentOutput struct + FileDetail string + Guid string + NewS3PkgPath string + RetCode int + RunStartScriptDetail string + RunStopScriptDetail string + Target string + type ApplyUpdateDeploymentOutputs struct + Outputs []ApplyUpdateDeploymentOutput + type ApplyUpdateDeploymentThreadObj struct + Data ApplyUpdateDeploymentOutput + Err error + Index int + type CallBackParameter struct + Parameter string + type ChangeUserPasswordAction struct + Language string + func (action *ChangeUserPasswordAction) CheckParam(input ChangeUserPasswordInput) error + func (action *ChangeUserPasswordAction) Do(input interface{}) (interface{}, error) + func (action *ChangeUserPasswordAction) ReadParam(param interface{}) (interface{}, error) + func (action *ChangeUserPasswordAction) SetAcceptLanguage(language string) + type ChangeUserPasswordInput struct + Guid string + Password string + Seed string + Target string + UserName string + type ChangeUserPasswordInputs struct + Inputs []ChangeUserPasswordInput + type ChangeUserPasswordOutput struct + Detail string + Guid string + Password string + type ChangeUserPasswordOutputs struct + Outputs []ChangeUserPasswordOutput + type ClusterHostDeleteResult struct + Code int + Message string + type ConfigKeyInfo struct + Key string + Line string + Type string + func GetVariable(filepath string, specialList []string, showPrefix bool) ([]ConfigKeyInfo, error) + type DeleteMysqlDatabaseAction struct + Language string + func (action *DeleteMysqlDatabaseAction) Do(input interface{}) (interface{}, error) + func (action *DeleteMysqlDatabaseAction) ReadParam(param interface{}) (interface{}, error) + func (action *DeleteMysqlDatabaseAction) SetAcceptLanguage(language string) + type DeleteMysqlDatabaseInput struct + DatabaseName string + DatabaseOwnerGuid string + Guid string + Host string + Password string + Port string + Seed string + UserName string + type DeleteMysqlDatabaseInputs struct + Inputs []DeleteMysqlDatabaseInput + type DeleteMysqlDatabaseOutput struct + DatabaseOwnerGuid string + type DeleteMysqlDatabaseOutputs struct + Outputs []DeleteMysqlDatabaseOutput + type DeleteMysqlDatabaseUserAction struct + Language string + func (action *DeleteMysqlDatabaseUserAction) Do(input interface{}) (interface{}, error) + func (action *DeleteMysqlDatabaseUserAction) ReadParam(param interface{}) (interface{}, error) + func (action *DeleteMysqlDatabaseUserAction) SetAcceptLanguage(language string) + type DeleteMysqlDatabaseUserInput struct + DatabaseUserGuid string + DatabaseUserName string + Guid string + Host string + Password string + Port string + Seed string + UserName string + type DeleteMysqlDatabaseUserInputs struct + Inputs []DeleteMysqlDatabaseUserInput + type DeleteMysqlDatabaseUserOutput struct + DatabaseUserGuid string + type DeleteMysqlDatabaseUserOutputs struct + Outputs []DeleteMysqlDatabaseUserOutput + type DeleteUserAction struct + Language string + func (action *DeleteUserAction) DeleteUserCheckParam(input DeleteUserInput) error + func (action *DeleteUserAction) Do(input interface{}) (interface{}, error) + func (action *DeleteUserAction) ReadParam(param interface{}) (interface{}, error) + func (action *DeleteUserAction) SetAcceptLanguage(language string) + type DeleteUserInput struct + Guid string + Target string + UserName string + type DeleteUserInputs struct + Inputs []DeleteUserInput + type DeleteUserOutput struct + Detail string + Guid string + type DeleteUserOutputs struct + Outputs []DeleteUserOutput + type ExecRemoteParam struct + Command string + DoneChan chan int + Err error + Host string + Output string + Password string + Port string + Timeout int + User string + type FileCopyAction struct + Language string + func (action *FileCopyAction) CheckParam(input FileCopyInput) error + func (action *FileCopyAction) Do(input interface{}) (interface{}, error) + func (action *FileCopyAction) ReadParam(param interface{}) (interface{}, error) + func (action *FileCopyAction) SetAcceptLanguage(language string) + type FileCopyInput struct + DestinationPath string + EndPoint string + FileOwner string + Guid string + Target string + Unpack string + type FileCopyInputs struct + Inputs []FileCopyInput + type FileCopyOutput struct + Detail string + Guid string + type FileCopyOutputs struct + Outputs []FileCopyOutput + type FileCopyThreadObj struct + Data FileCopyOutput + Err error + Index int + type FileNode struct + FileNodes []*FileNode + IsDir bool + Md5 string + Name string + Path string + type FilePlugin struct + func (plugin *FilePlugin) GetActionByName(actionName string) (Action, error) + type GetConfigFileKeyAction struct + Language string + func (action *GetConfigFileKeyAction) CheckParam(input GetConfigFileKeyInput) error + func (action *GetConfigFileKeyAction) Do(input interface{}) (interface{}, error) + func (action *GetConfigFileKeyAction) ReadParam(param interface{}) (interface{}, error) + func (action *GetConfigFileKeyAction) SetAcceptLanguage(language string) + type GetConfigFileKeyInput struct + EndPoint string + FilePath string + Guid string + type GetConfigFileKeyInputs struct + Inputs []GetConfigFileKeyInput + type GetConfigFileKeyOutput struct + ConfigKeyInfos []ConfigKeyInfo + FilePath string + Guid string + type GetConfigFileKeyOutputs struct + Outputs []GetConfigFileKeyOutput + type GetContextAction struct + Language string + func (action *GetContextAction) CheckParam(input GetContextInput) error + func (action *GetContextAction) Do(input interface{}) (interface{}, error) + func (action *GetContextAction) ReadParam(param interface{}) (interface{}, error) + func (action *GetContextAction) SetAcceptLanguage(language string) + type GetContextInput struct + EndPoint string + Guid string + LineNum int + Offset int + type GetContextInputs struct + Inputs []GetContextInput + type GetContextOutput struct + ContextText string + Guid string + type GetContextOutputs struct + Outputs []GetContextOutput + type GetWebConsoleUrlAction struct + Language string + func (action *GetWebConsoleUrlAction) CheckParam(input interface{}) error + func (action *GetWebConsoleUrlAction) Do(input interface{}) (interface{}, error) + func (action *GetWebConsoleUrlAction) ReadParam(param interface{}) (interface{}, error) + func (action *GetWebConsoleUrlAction) SetAcceptLanguage(language string) + type ListCurrentDirAction struct + Language string + func (action *ListCurrentDirAction) CheckParam(input ListFilesInput) error + func (action *ListCurrentDirAction) Do(input interface{}) (interface{}, error) + func (action *ListCurrentDirAction) ReadParam(param interface{}) (interface{}, error) + func (action *ListCurrentDirAction) SetAcceptLanguage(language string) + type ListFilesInput struct + CurrentDir string + EndPoint string + Guid string + type ListFilesInputs struct + Inputs []ListFilesInput + type ListFilesOutput struct + Files []FileNode + Guid string + type ListFilesOutputs struct + Outputs []ListFilesOutput + type LogPlugin struct + func (plugin *LogPlugin) GetActionByName(actionName string) (Action, error) + type LogSearchAction struct + Language string + func (action *LogSearchAction) CheckParam(input SearchInput) error + func (action *LogSearchAction) Do(input interface{}) (interface{}, error) + func (action *LogSearchAction) ReadParam(param interface{}) (interface{}, error) + func (action *LogSearchAction) Search(input *SearchInput) (outputs SearchOutputs, err error) + func (action *LogSearchAction) SetAcceptLanguage(language string) + type LogSearchDetailAction struct + Language string + func (action *LogSearchDetailAction) CheckParam(input SearchDetailInput) error + func (action *LogSearchDetailAction) Do(input interface{}) (interface{}, error) + func (action *LogSearchDetailAction) ReadParam(param interface{}) (interface{}, error) + func (action *LogSearchDetailAction) SearchDetail(input *SearchDetailInput) (output SearchDetailOutput, err error) + func (action *LogSearchDetailAction) SetAcceptLanguage(language string) + type MinioConf struct + AccessKey string + BucketURL string + MinioURL string + SecretKey string + type MinionInstallAction struct + Language string + func (action *MinionInstallAction) CheckParam(input AgentInstallInput) error + func (action *MinionInstallAction) Do(input interface{}) (interface{}, error) + func (action *MinionInstallAction) ReadParam(param interface{}) (interface{}, error) + func (action *MinionInstallAction) SetAcceptLanguage(language string) + type MinionUninstallAction struct + Language string + func (action *MinionUninstallAction) Do(input interface{}) (interface{}, error) + func (action *MinionUninstallAction) ReadParam(param interface{}) (interface{}, error) + func (action *MinionUninstallAction) SetAcceptLanguage(language string) + type MysqlDatabasePlugin struct + func (plugin *MysqlDatabasePlugin) GetActionByName(actionName string) (Action, error) + type MysqlScriptPlugin struct + func (plugin *MysqlScriptPlugin) GetActionByName(actionName string) (Action, error) + type MysqlUserPlugin struct + func (plugin *MysqlUserPlugin) GetActionByName(actionName string) (Action, error) + type NewSaltApiTokenRsp struct + Result []SaltApiTokenResult + type PasswordDecodeAction struct + Language string + func (action *PasswordDecodeAction) CheckParam(input PasswordDecodeInput) error + func (action *PasswordDecodeAction) Do(input interface{}) (interface{}, error) + func (action *PasswordDecodeAction) ReadParam(param interface{}) (interface{}, error) + func (action *PasswordDecodeAction) SetAcceptLanguage(language string) + type PasswordDecodeInput struct + Guid string + Password string + Seed string + type PasswordDecodeInputs struct + Inputs []PasswordDecodeInput + type PasswordDecodeOutput struct + Guid string + Password string + type PasswordDecodeOutputs struct + Outputs []PasswordDecodeOutput + type PasswordEncodeAction struct + Language string + func (action *PasswordEncodeAction) CheckParam(input PasswordEncodeInput) error + func (action *PasswordEncodeAction) Do(input interface{}) (interface{}, error) + func (action *PasswordEncodeAction) ReadParam(param interface{}) (interface{}, error) + func (action *PasswordEncodeAction) SetAcceptLanguage(language string) + type PasswordEncodeInput struct + Guid string + Password string + Seed string + type PasswordEncodeInputs struct + Inputs []PasswordEncodeInput + type PasswordEncodeOutput struct + Guid string + Password string + type PasswordEncodeOutputs struct + Outputs []PasswordEncodeOutput + type PasswordPlugin struct + func (plugin *PasswordPlugin) GetActionByName(actionName string) (Action, error) + type Plugin interface + GetActionByName func(actionName string) (Action, error) + type PluginRequest struct + Action string + Name string + Parameters interface{} + ProviderName string + Version string + type PluginResponse struct + ResultCode string + ResultMsg string + Results interface{} + func Process(pluginRequest *PluginRequest) (*PluginResponse, error) + type ReleasedPackagePlugin struct + func (ReleasedPackagePlugin) GetActionByName(actionName string) (Action, error) + type Result struct + Code string + Message string + type Roster struct + Host string + Name string + Passwd string + Sudo string + User string + type RunMysqlScriptAction struct + Language string + func (action *RunMysqlScriptAction) Do(input interface{}) (interface{}, error) + func (action *RunMysqlScriptAction) ReadParam(param interface{}) (interface{}, error) + func (action *RunMysqlScriptAction) SetAcceptLanguage(language string) + type RunMysqlScriptInput struct + DatabaseName string + EndPoint string + Guid string + Host string + Password string + Port string + Seed string + SqlFiles string + UserName string + type RunMysqlScriptInputs struct + Inputs []RunMysqlScriptInput + type RunMysqlScriptOutput struct + Detail string + Guid string + type RunMysqlScriptOutputs struct + Outputs []RunMysqlScriptOutput + type RunScriptAction struct + Language string + func (action *RunScriptAction) CheckParam(input RunScriptInput) error + func (action *RunScriptAction) Do(input interface{}) (interface{}, error) + func (action *RunScriptAction) ReadParam(param interface{}) (interface{}, error) + func (action *RunScriptAction) SetAcceptLanguage(language string) + type RunScriptInput struct + EndPoint string + EndPointType string + ExecArg string + Guid string + Password string + RunAs string + ScriptContent string + Seed string + Target string + WorkDir string + type RunScriptInputs struct + Inputs []RunScriptInput + type RunScriptOutput struct + Detail string + Guid string + RetCode int + Target string + type RunScriptOutputs struct + Outputs []RunScriptOutput + type RunScriptThreadObj struct + Data RunScriptOutput + Err error + Index int + TmpScriptPathList []string + type RunWebConsoleErr struct + ResultCode string + ResultMsg string + type RunWebConsoleParam struct + Token string + type SSHRunScriptAction struct + Language string + func (action *SSHRunScriptAction) CheckParam(input RunScriptInput) error + func (action *SSHRunScriptAction) Do(input interface{}) (interface{}, error) + func (action *SSHRunScriptAction) ReadParam(param interface{}) (interface{}, error) + func (action *SSHRunScriptAction) SetAcceptLanguage(language string) + type SaltApiCallAction struct + Language string + func (action *SaltApiCallAction) CheckParam(input SaltApiCallInput) error + func (action *SaltApiCallAction) Do(input interface{}) (interface{}, error) + func (action *SaltApiCallAction) ReadParam(param interface{}) (interface{}, error) + func (action *SaltApiCallAction) SetAcceptLanguage(language string) + type SaltApiCallInput struct + Args []string + Client string + Function string + Guid string + Target string + type SaltApiCallInputs struct + Inputs []SaltApiCallInput + type SaltApiCallOutput struct + Detail string + Guid string + type SaltApiCallOutputs struct + Outputs []SaltApiCallOutput + type SaltApiCmdRunResult struct + Jid string + RetCode int + RetDetail string + type SaltApiCmdRunResults struct + Results []map[string]SaltApiCmdRunResult + type SaltApiCmdScriptResult struct + Pid int + RetCode int + Stderr string + Stdout string + type SaltApiCmdScriptResults struct + Results []map[string]SaltApiCmdScriptResult + type SaltApiPlugin struct + func (plugin *SaltApiPlugin) GetActionByName(actionName string) (Action, error) + type SaltApiRequest struct + Args []string + Client string + FullReturn bool + Function string + Target string + TargetType string + type SaltApiToken struct + CreateTime time.Time + Expire float64 + Token string + type SaltApiTokenResult struct + Expire float64 + Start float64 + Token string + type ScriptPlugin struct + func (plugin *ScriptPlugin) GetActionByName(actionName string) (Action, error) + type SearchDetailInput struct + FileName string + Guid string + LineNumber string + RelateLineCount int + type SearchDetailInputs struct + Inputs []SearchDetailInput + type SearchDetailOutput struct + FileName string + Guid string + LineNumber string + Logs string + type SearchDetailOutputs struct + Outputs []SearchDetailOutput + type SearchInput struct + Guid string + KeyWord string + LineNumber int + type SearchInputs struct + Inputs []SearchInput + type SearchOutput struct + FileName string + Guid string + Line string + Log string + type SearchOutputs struct + Outputs []SearchOutput + type SearchResult struct + LineNum int + LineText string + type SearchTextAction struct + Language string + func (action *SearchTextAction) CheckParam(input SearchTextInput) error + func (action *SearchTextAction) Do(input interface{}) (interface{}, error) + func (action *SearchTextAction) ReadParam(param interface{}) (interface{}, error) + func (action *SearchTextAction) SetAcceptLanguage(language string) + type SearchTextInput struct + EndPoint string + Guid string + SearchPattern string + Target string + type SearchTextInputs struct + Inputs []SearchTextInput + type SearchTextOutput struct + Guid string + Host string + Results []SearchResult + type SearchTextOutputs struct + Outputs []SearchTextOutput + type SshConnectResult struct + Err error + Input *WebConsoleUrlInput + Password string + type TextProcessorPlugin struct + func (plugin *TextProcessorPlugin) GetActionByName(actionName string) (Action, error) + type UserPlugin struct + func (plugin *UserPlugin) GetActionByName(actionName string) (Action, error) + type VariablePlugin struct + func (plugin *VariablePlugin) GetActionByName(actionName string) (Action, error) + type VariableReplaceAction struct + Language string + func (action *VariableReplaceAction) CheckParam(input VariableReplaceInput) error + func (action *VariableReplaceAction) Do(input interface{}) (interface{}, error) + func (action *VariableReplaceAction) ReadParam(param interface{}) (interface{}, error) + func (action *VariableReplaceAction) SetAcceptLanguage(language string) + type VariableReplaceInput struct + AppPublicKey string + EncryptVariblePrefix string + EndPoint string + FilePath string + FileReplacePrefix string + Guid string + Seed string + SysPrivateKey string + VariableList string + type VariableReplaceInputs struct + Inputs []VariableReplaceInput + type VariableReplaceOutput struct + Guid string + NewS3PkgPath string + type VariableReplaceOutputs struct + Outputs []VariableReplaceOutput + type WebConsoleOutput struct + Guid string + Method string + ReDirectUrl string + Token string + type WebConsoleOutputs struct + Outputs []WebConsoleOutput + type WebConsolePlugin struct + func (plugin *WebConsolePlugin) GetActionByName(actionName string) (Action, error) + type WebConsoleUrlInput struct + Guid string + HostIp string + Password string + Seed string + ShellPort uint + UserName string + type WebConsoleUrlInputs struct + Inputs []WebConsoleUrlInput