Documentation ¶
Index ¶
- type Callback
- func (*Callback) Descriptor() ([]byte, []int)
- func (m *Callback) GetEnsName() string
- func (m *Callback) GetHost() string
- func (m *Callback) GetMethod() string
- func (m *Callback) GetUrl() string
- func (*Callback) ProtoMessage()
- func (m *Callback) Reset()
- func (m *Callback) String() string
- func (this *Callback) Validate() error
- func (m *Callback) XXX_DiscardUnknown()
- func (m *Callback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Callback) XXX_Merge(src proto.Message)
- func (m *Callback) XXX_Size() int
- func (m *Callback) XXX_Unmarshal(b []byte) error
- type ExecutionSnapshot
- func (*ExecutionSnapshot) Descriptor() ([]byte, []int)
- func (m *ExecutionSnapshot) GetActions() []*ExecutionSnapshot_Actions
- func (m *ExecutionSnapshot) GetCallback() *Callback
- func (m *ExecutionSnapshot) GetExtraInfo() *ExtraInfo
- func (m *ExecutionSnapshot) GetName() string
- func (m *ExecutionSnapshot) GetNeedNotify() string
- func (m *ExecutionSnapshot) GetOperation() string
- func (m *ExecutionSnapshot) GetPackageId() string
- func (m *ExecutionSnapshot) GetTargets() []*ExecutionSnapshot_Targets
- func (m *ExecutionSnapshot) GetType() string
- func (m *ExecutionSnapshot) GetVersionId() string
- func (*ExecutionSnapshot) ProtoMessage()
- func (m *ExecutionSnapshot) Reset()
- func (m *ExecutionSnapshot) String() string
- func (this *ExecutionSnapshot) Validate() error
- func (m *ExecutionSnapshot) XXX_DiscardUnknown()
- func (m *ExecutionSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionSnapshot) XXX_Merge(src proto.Message)
- func (m *ExecutionSnapshot) XXX_Size() int
- func (m *ExecutionSnapshot) XXX_Unmarshal(b []byte) error
- type ExecutionSnapshot_Actions
- func (*ExecutionSnapshot_Actions) Descriptor() ([]byte, []int)
- func (m *ExecutionSnapshot_Actions) GetAction() string
- func (m *ExecutionSnapshot_Actions) GetName() string
- func (m *ExecutionSnapshot_Actions) GetParam() *ExecutionSnapshot_Actions_Param
- func (m *ExecutionSnapshot_Actions) GetType() string
- func (*ExecutionSnapshot_Actions) ProtoMessage()
- func (m *ExecutionSnapshot_Actions) Reset()
- func (m *ExecutionSnapshot_Actions) String() string
- func (this *ExecutionSnapshot_Actions) Validate() error
- func (m *ExecutionSnapshot_Actions) XXX_DiscardUnknown()
- func (m *ExecutionSnapshot_Actions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionSnapshot_Actions) XXX_Merge(src proto.Message)
- func (m *ExecutionSnapshot_Actions) XXX_Size() int
- func (m *ExecutionSnapshot_Actions) XXX_Unmarshal(b []byte) error
- type ExecutionSnapshot_Actions_Param
- func (*ExecutionSnapshot_Actions_Param) Descriptor() ([]byte, []int)
- func (m *ExecutionSnapshot_Actions_Param) GetCmd() string
- func (m *ExecutionSnapshot_Actions_Param) GetExecUser() string
- func (m *ExecutionSnapshot_Actions_Param) GetParam() string
- func (m *ExecutionSnapshot_Actions_Param) GetParser() string
- func (m *ExecutionSnapshot_Actions_Param) GetScriptType() string
- func (m *ExecutionSnapshot_Actions_Param) GetTimeout() int32
- func (*ExecutionSnapshot_Actions_Param) ProtoMessage()
- func (m *ExecutionSnapshot_Actions_Param) Reset()
- func (m *ExecutionSnapshot_Actions_Param) String() string
- func (this *ExecutionSnapshot_Actions_Param) Validate() error
- func (m *ExecutionSnapshot_Actions_Param) XXX_DiscardUnknown()
- func (m *ExecutionSnapshot_Actions_Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionSnapshot_Actions_Param) XXX_Merge(src proto.Message)
- func (m *ExecutionSnapshot_Actions_Param) XXX_Size() int
- func (m *ExecutionSnapshot_Actions_Param) XXX_Unmarshal(b []byte) error
- type ExecutionSnapshot_Targets
- func (*ExecutionSnapshot_Targets) Descriptor() ([]byte, []int)
- func (m *ExecutionSnapshot_Targets) GetTargetId() string
- func (*ExecutionSnapshot_Targets) ProtoMessage()
- func (m *ExecutionSnapshot_Targets) Reset()
- func (m *ExecutionSnapshot_Targets) String() string
- func (this *ExecutionSnapshot_Targets) Validate() error
- func (m *ExecutionSnapshot_Targets) XXX_DiscardUnknown()
- func (m *ExecutionSnapshot_Targets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionSnapshot_Targets) XXX_Merge(src proto.Message)
- func (m *ExecutionSnapshot_Targets) XXX_Size() int
- func (m *ExecutionSnapshot_Targets) XXX_Unmarshal(b []byte) error
- type ExtraInfo
- func (*ExtraInfo) Descriptor() ([]byte, []int)
- func (m *ExtraInfo) GetDetail() *ExtraInfo_Detail
- func (m *ExtraInfo) GetExecMode() string
- func (m *ExtraInfo) GetExecUser() string
- func (m *ExtraInfo) GetInputs() *types.Struct
- func (m *ExtraInfo) GetOrigin() string
- func (m *ExtraInfo) GetOutputs() []string
- func (m *ExtraInfo) GetToolId() string
- func (m *ExtraInfo) GetToolName() string
- func (m *ExtraInfo) GetTrigger() string
- func (*ExtraInfo) ProtoMessage()
- func (m *ExtraInfo) Reset()
- func (m *ExtraInfo) String() string
- func (this *ExtraInfo) Validate() error
- func (m *ExtraInfo) XXX_DiscardUnknown()
- func (m *ExtraInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo) XXX_Merge(src proto.Message)
- func (m *ExtraInfo) XXX_Size() int
- func (m *ExtraInfo) XXX_Unmarshal(b []byte) error
- type ExtraInfo_Detail
- func (*ExtraInfo_Detail) Descriptor() ([]byte, []int)
- func (m *ExtraInfo_Detail) GetCallback() *Callback
- func (m *ExtraInfo_Detail) GetOutputDefs() []*ExtraInfo_Detail_OutputDefs
- func (m *ExtraInfo_Detail) GetSubscribers() []string
- func (m *ExtraInfo_Detail) GetTableDefs() []*ExtraInfo_Detail_TableDefs
- func (m *ExtraInfo_Detail) GetToolEnv() *types.Struct
- func (m *ExtraInfo_Detail) GetToolOutputs() *types.Value
- func (*ExtraInfo_Detail) ProtoMessage()
- func (m *ExtraInfo_Detail) Reset()
- func (m *ExtraInfo_Detail) String() string
- func (this *ExtraInfo_Detail) Validate() error
- func (m *ExtraInfo_Detail) XXX_DiscardUnknown()
- func (m *ExtraInfo_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo_Detail) XXX_Merge(src proto.Message)
- func (m *ExtraInfo_Detail) XXX_Size() int
- func (m *ExtraInfo_Detail) XXX_Unmarshal(b []byte) error
- type ExtraInfo_Detail_OutputDefs
- func (*ExtraInfo_Detail_OutputDefs) Descriptor() ([]byte, []int)
- func (m *ExtraInfo_Detail_OutputDefs) GetId() string
- func (m *ExtraInfo_Detail_OutputDefs) GetName() string
- func (*ExtraInfo_Detail_OutputDefs) ProtoMessage()
- func (m *ExtraInfo_Detail_OutputDefs) Reset()
- func (m *ExtraInfo_Detail_OutputDefs) String() string
- func (this *ExtraInfo_Detail_OutputDefs) Validate() error
- func (m *ExtraInfo_Detail_OutputDefs) XXX_DiscardUnknown()
- func (m *ExtraInfo_Detail_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo_Detail_OutputDefs) XXX_Merge(src proto.Message)
- func (m *ExtraInfo_Detail_OutputDefs) XXX_Size() int
- func (m *ExtraInfo_Detail_OutputDefs) XXX_Unmarshal(b []byte) error
- type ExtraInfo_Detail_TableDefs
- func (*ExtraInfo_Detail_TableDefs) Descriptor() ([]byte, []int)
- func (m *ExtraInfo_Detail_TableDefs) GetColumns() []*ExtraInfo_Detail_TableDefs_Columns
- func (m *ExtraInfo_Detail_TableDefs) GetDimensions() []*ExtraInfo_Detail_TableDefs_Dimensions
- func (m *ExtraInfo_Detail_TableDefs) GetId() string
- func (m *ExtraInfo_Detail_TableDefs) GetName() string
- func (*ExtraInfo_Detail_TableDefs) ProtoMessage()
- func (m *ExtraInfo_Detail_TableDefs) Reset()
- func (m *ExtraInfo_Detail_TableDefs) String() string
- func (this *ExtraInfo_Detail_TableDefs) Validate() error
- func (m *ExtraInfo_Detail_TableDefs) XXX_DiscardUnknown()
- func (m *ExtraInfo_Detail_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo_Detail_TableDefs) XXX_Merge(src proto.Message)
- func (m *ExtraInfo_Detail_TableDefs) XXX_Size() int
- func (m *ExtraInfo_Detail_TableDefs) XXX_Unmarshal(b []byte) error
- type ExtraInfo_Detail_TableDefs_Columns
- func (*ExtraInfo_Detail_TableDefs_Columns) Descriptor() ([]byte, []int)
- func (m *ExtraInfo_Detail_TableDefs_Columns) GetId() string
- func (m *ExtraInfo_Detail_TableDefs_Columns) GetName() string
- func (*ExtraInfo_Detail_TableDefs_Columns) ProtoMessage()
- func (m *ExtraInfo_Detail_TableDefs_Columns) Reset()
- func (m *ExtraInfo_Detail_TableDefs_Columns) String() string
- func (this *ExtraInfo_Detail_TableDefs_Columns) Validate() error
- func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_DiscardUnknown()
- func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Merge(src proto.Message)
- func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Size() int
- func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Unmarshal(b []byte) error
- type ExtraInfo_Detail_TableDefs_Dimensions
- func (*ExtraInfo_Detail_TableDefs_Dimensions) Descriptor() ([]byte, []int)
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) GetId() string
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) GetName() string
- func (*ExtraInfo_Detail_TableDefs_Dimensions) ProtoMessage()
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) Reset()
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) String() string
- func (this *ExtraInfo_Detail_TableDefs_Dimensions) Validate() error
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_DiscardUnknown()
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Merge(src proto.Message)
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Size() int
- func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
- type InputParam
- func (*InputParam) Descriptor() ([]byte, []int)
- func (m *InputParam) GetCascade() bool
- func (m *InputParam) GetCmdbAttrId() string
- func (m *InputParam) GetCmdbAttrType() string
- func (m *InputParam) GetCmdbObjectId() string
- func (m *InputParam) GetDefault() string
- func (m *InputParam) GetEnum() []string
- func (m *InputParam) GetLabel() string
- func (m *InputParam) GetMemo() string
- func (m *InputParam) GetMultiple() bool
- func (m *InputParam) GetName() string
- func (m *InputParam) GetPath() []*InputParam_Path
- func (m *InputParam) GetPrimitive() bool
- func (m *InputParam) GetRequired() bool
- func (m *InputParam) GetSelector() string
- func (m *InputParam) GetSource() string
- func (m *InputParam) GetType() string
- func (*InputParam) ProtoMessage()
- func (m *InputParam) Reset()
- func (m *InputParam) String() string
- func (this *InputParam) Validate() error
- func (m *InputParam) XXX_DiscardUnknown()
- func (m *InputParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InputParam) XXX_Merge(src proto.Message)
- func (m *InputParam) XXX_Size() int
- func (m *InputParam) XXX_Unmarshal(b []byte) error
- type InputParam_Path
- func (*InputParam_Path) Descriptor() ([]byte, []int)
- func (m *InputParam_Path) GetId() string
- func (m *InputParam_Path) GetType() string
- func (*InputParam_Path) ProtoMessage()
- func (m *InputParam_Path) Reset()
- func (m *InputParam_Path) String() string
- func (this *InputParam_Path) Validate() error
- func (m *InputParam_Path) XXX_DiscardUnknown()
- func (m *InputParam_Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InputParam_Path) XXX_Merge(src proto.Message)
- func (m *InputParam_Path) XXX_Size() int
- func (m *InputParam_Path) XXX_Unmarshal(b []byte) error
- type Tool
- func (*Tool) Descriptor() ([]byte, []int)
- func (m *Tool) GetAnsibleNodeExecUser() string
- func (m *Tool) GetApprovers() []string
- func (m *Tool) GetAuthUsers() []string
- func (m *Tool) GetBatchStrategy() *types.Value
- func (m *Tool) GetBlackList() []string
- func (m *Tool) GetCategory() string
- func (m *Tool) GetCheckComment() string
- func (m *Tool) GetCheckSponsor() string
- func (m *Tool) GetCheckType() string
- func (m *Tool) GetCheckUser() string
- func (m *Tool) GetContent() string
- func (m *Tool) GetCreateTime() string
- func (m *Tool) GetCreator() string
- func (m *Tool) GetDefaultAgents() []string
- func (m *Tool) GetDefaultExecUser() string
- func (m *Tool) GetDeleteAuthorizers() []string
- func (m *Tool) GetDeleteMe() bool
- func (m *Tool) GetDisable() bool
- func (m *Tool) GetEnvType() string
- func (m *Tool) GetExecUser() string
- func (m *Tool) GetExecuteAuthorizers() []string
- func (m *Tool) GetFunctionType() string
- func (m *Tool) GetIcon() string
- func (m *Tool) GetInputs() []*ToolInput
- func (m *Tool) GetIsSystemOrg() bool
- func (m *Tool) GetListVisible() bool
- func (m *Tool) GetLockAgents() string
- func (m *Tool) GetLog() *Tool_Log
- func (m *Tool) GetMemo() string
- func (m *Tool) GetName() string
- func (m *Tool) GetOrg() int32
- func (m *Tool) GetOutputDefs() []*Tool_OutputDefs
- func (m *Tool) GetOutputs() string
- func (m *Tool) GetReadAuthorizers() []string
- func (m *Tool) GetReadExecutionResultAuthorizers() []string
- func (m *Tool) GetReadOnly() bool
- func (m *Tool) GetRootExecuteAuthorizers() []string
- func (m *Tool) GetSandboxRun() bool
- func (m *Tool) GetSourceFrom() string
- func (m *Tool) GetStyle() string
- func (m *Tool) GetSubscribedChannel() string
- func (m *Tool) GetSubscribers() []string
- func (m *Tool) GetSystemPlugin() bool
- func (m *Tool) GetSystemTool() bool
- func (m *Tool) GetTableDefs() []*Tool_TableDefs
- func (m *Tool) GetTags() []string
- func (m *Tool) GetTemplateType() string
- func (m *Tool) GetTimeout() int32
- func (m *Tool) GetToolId() string
- func (m *Tool) GetToolOutputs() *types.Value
- func (m *Tool) GetType() string
- func (m *Tool) GetUpdateAuthorizers() []string
- func (m *Tool) GetUpdateTime() string
- func (m *Tool) GetVCreateTime() string
- func (m *Tool) GetVCreator() string
- func (m *Tool) GetVDesc() string
- func (m *Tool) GetVId() string
- func (m *Tool) GetVName() string
- func (m *Tool) GetVUpdateTime() string
- func (m *Tool) GetWhiteList() []string
- func (m *Tool) GetWindowsSession() bool
- func (*Tool) ProtoMessage()
- func (m *Tool) Reset()
- func (m *Tool) String() string
- func (this *Tool) Validate() error
- func (m *Tool) XXX_DiscardUnknown()
- func (m *Tool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool) XXX_Merge(src proto.Message)
- func (m *Tool) XXX_Size() int
- func (m *Tool) XXX_Unmarshal(b []byte) error
- type ToolInput
- func (*ToolInput) Descriptor() ([]byte, []int)
- func (m *ToolInput) GetCascade() string
- func (m *ToolInput) GetCmdbAttrId() string
- func (m *ToolInput) GetCmdbAttrType() string
- func (m *ToolInput) GetCmdbObjectId() string
- func (m *ToolInput) GetDefault() string
- func (m *ToolInput) GetEnum() []string
- func (m *ToolInput) GetLabel() string
- func (m *ToolInput) GetMemo() string
- func (m *ToolInput) GetMultiple() string
- func (m *ToolInput) GetName() string
- func (m *ToolInput) GetPath() []*ToolInput_Path
- func (m *ToolInput) GetPrimitive() string
- func (m *ToolInput) GetRequired() string
- func (m *ToolInput) GetSelector() string
- func (m *ToolInput) GetSource() string
- func (m *ToolInput) GetType() string
- func (m *ToolInput) GetValue() string
- func (*ToolInput) ProtoMessage()
- func (m *ToolInput) Reset()
- func (m *ToolInput) String() string
- func (this *ToolInput) Validate() error
- func (m *ToolInput) XXX_DiscardUnknown()
- func (m *ToolInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolInput) XXX_Merge(src proto.Message)
- func (m *ToolInput) XXX_Size() int
- func (m *ToolInput) XXX_Unmarshal(b []byte) error
- type ToolInput_Path
- func (*ToolInput_Path) Descriptor() ([]byte, []int)
- func (m *ToolInput_Path) GetId() string
- func (m *ToolInput_Path) GetType() string
- func (*ToolInput_Path) ProtoMessage()
- func (m *ToolInput_Path) Reset()
- func (m *ToolInput_Path) String() string
- func (this *ToolInput_Path) Validate() error
- func (m *ToolInput_Path) XXX_DiscardUnknown()
- func (m *ToolInput_Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolInput_Path) XXX_Merge(src proto.Message)
- func (m *ToolInput_Path) XXX_Size() int
- func (m *ToolInput_Path) XXX_Unmarshal(b []byte) error
- type ToolTask
- func (*ToolTask) Descriptor() ([]byte, []int)
- func (m *ToolTask) GetAgentData() *types.Struct
- func (m *ToolTask) GetAgents() []string
- func (m *ToolTask) GetBatchStrategy() *ToolTask_BatchStrategy
- func (m *ToolTask) GetEndTime() *types.Struct
- func (m *ToolTask) GetError() string
- func (m *ToolTask) GetExecId() string
- func (m *ToolTask) GetExecUser() string
- func (m *ToolTask) GetExitStatus() *types.Struct
- func (m *ToolTask) GetExtraDetail() *ToolTask_ExtraDetail
- func (m *ToolTask) GetInputs() *types.Struct
- func (m *ToolTask) GetMsg() *types.Struct
- func (m *ToolTask) GetNeedNotify() string
- func (m *ToolTask) GetOutViewData() *types.Struct
- func (m *ToolTask) GetOutputDefs() []*ToolTask_OutputDefs
- func (m *ToolTask) GetOutputs() *types.Struct
- func (m *ToolTask) GetStartTime() *types.Struct
- func (m *ToolTask) GetStatus() *types.Struct
- func (m *ToolTask) GetSysStatus() *types.Struct
- func (m *ToolTask) GetTableData() *types.Struct
- func (m *ToolTask) GetTableDefs() []*ToolTask_TableDefs
- func (m *ToolTask) GetToolData() *Tool
- func (m *ToolTask) GetToolEnv() *types.Struct
- func (m *ToolTask) GetToolId() string
- func (m *ToolTask) GetToolOutputs() *types.Value
- func (m *ToolTask) GetToolOutputsData() []*types.Struct
- func (m *ToolTask) GetTotalStatus() string
- func (m *ToolTask) GetUsername() string
- func (m *ToolTask) GetVId() string
- func (*ToolTask) ProtoMessage()
- func (m *ToolTask) Reset()
- func (m *ToolTask) String() string
- func (this *ToolTask) Validate() error
- func (m *ToolTask) XXX_DiscardUnknown()
- func (m *ToolTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask) XXX_Merge(src proto.Message)
- func (m *ToolTask) XXX_Size() int
- func (m *ToolTask) XXX_Unmarshal(b []byte) error
- type ToolTask_BatchStrategy
- func (*ToolTask_BatchStrategy) Descriptor() ([]byte, []int)
- func (m *ToolTask_BatchStrategy) GetBatchInterval() int32
- func (m *ToolTask_BatchStrategy) GetBatchNum() int32
- func (m *ToolTask_BatchStrategy) GetFailedStop() string
- func (*ToolTask_BatchStrategy) ProtoMessage()
- func (m *ToolTask_BatchStrategy) Reset()
- func (m *ToolTask_BatchStrategy) String() string
- func (this *ToolTask_BatchStrategy) Validate() error
- func (m *ToolTask_BatchStrategy) XXX_DiscardUnknown()
- func (m *ToolTask_BatchStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_BatchStrategy) XXX_Merge(src proto.Message)
- func (m *ToolTask_BatchStrategy) XXX_Size() int
- func (m *ToolTask_BatchStrategy) XXX_Unmarshal(b []byte) error
- type ToolTask_ExtraDetail
- func (*ToolTask_ExtraDetail) Descriptor() ([]byte, []int)
- func (m *ToolTask_ExtraDetail) GetCallback() *Callback
- func (m *ToolTask_ExtraDetail) GetOutputDefs() []*ToolTask_ExtraDetail_OutputDefs
- func (m *ToolTask_ExtraDetail) GetTableDefs() []*ToolTask_ExtraDetail_TableDefs
- func (m *ToolTask_ExtraDetail) GetToolEnv() *types.Struct
- func (m *ToolTask_ExtraDetail) GetToolOutputs() *types.Value
- func (*ToolTask_ExtraDetail) ProtoMessage()
- func (m *ToolTask_ExtraDetail) Reset()
- func (m *ToolTask_ExtraDetail) String() string
- func (this *ToolTask_ExtraDetail) Validate() error
- func (m *ToolTask_ExtraDetail) XXX_DiscardUnknown()
- func (m *ToolTask_ExtraDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_ExtraDetail) XXX_Merge(src proto.Message)
- func (m *ToolTask_ExtraDetail) XXX_Size() int
- func (m *ToolTask_ExtraDetail) XXX_Unmarshal(b []byte) error
- type ToolTask_ExtraDetail_OutputDefs
- func (*ToolTask_ExtraDetail_OutputDefs) Descriptor() ([]byte, []int)
- func (m *ToolTask_ExtraDetail_OutputDefs) GetId() string
- func (m *ToolTask_ExtraDetail_OutputDefs) GetName() string
- func (*ToolTask_ExtraDetail_OutputDefs) ProtoMessage()
- func (m *ToolTask_ExtraDetail_OutputDefs) Reset()
- func (m *ToolTask_ExtraDetail_OutputDefs) String() string
- func (this *ToolTask_ExtraDetail_OutputDefs) Validate() error
- func (m *ToolTask_ExtraDetail_OutputDefs) XXX_DiscardUnknown()
- func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Merge(src proto.Message)
- func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Size() int
- func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Unmarshal(b []byte) error
- type ToolTask_ExtraDetail_TableDefs
- func (*ToolTask_ExtraDetail_TableDefs) Descriptor() ([]byte, []int)
- func (m *ToolTask_ExtraDetail_TableDefs) GetColumns() []*ToolTask_ExtraDetail_TableDefs_Columns
- func (m *ToolTask_ExtraDetail_TableDefs) GetDimensions() []*ToolTask_ExtraDetail_TableDefs_Dimensions
- func (m *ToolTask_ExtraDetail_TableDefs) GetId() string
- func (m *ToolTask_ExtraDetail_TableDefs) GetName() string
- func (*ToolTask_ExtraDetail_TableDefs) ProtoMessage()
- func (m *ToolTask_ExtraDetail_TableDefs) Reset()
- func (m *ToolTask_ExtraDetail_TableDefs) String() string
- func (this *ToolTask_ExtraDetail_TableDefs) Validate() error
- func (m *ToolTask_ExtraDetail_TableDefs) XXX_DiscardUnknown()
- func (m *ToolTask_ExtraDetail_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_ExtraDetail_TableDefs) XXX_Merge(src proto.Message)
- func (m *ToolTask_ExtraDetail_TableDefs) XXX_Size() int
- func (m *ToolTask_ExtraDetail_TableDefs) XXX_Unmarshal(b []byte) error
- type ToolTask_ExtraDetail_TableDefs_Columns
- func (*ToolTask_ExtraDetail_TableDefs_Columns) Descriptor() ([]byte, []int)
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) GetId() string
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) GetName() string
- func (*ToolTask_ExtraDetail_TableDefs_Columns) ProtoMessage()
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) Reset()
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) String() string
- func (this *ToolTask_ExtraDetail_TableDefs_Columns) Validate() error
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_DiscardUnknown()
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Merge(src proto.Message)
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Size() int
- func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Unmarshal(b []byte) error
- type ToolTask_ExtraDetail_TableDefs_Dimensions
- func (*ToolTask_ExtraDetail_TableDefs_Dimensions) Descriptor() ([]byte, []int)
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) GetId() string
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) GetName() string
- func (*ToolTask_ExtraDetail_TableDefs_Dimensions) ProtoMessage()
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) Reset()
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) String() string
- func (this *ToolTask_ExtraDetail_TableDefs_Dimensions) Validate() error
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_DiscardUnknown()
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Merge(src proto.Message)
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Size() int
- func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
- type ToolTask_OutputDefs
- func (*ToolTask_OutputDefs) Descriptor() ([]byte, []int)
- func (m *ToolTask_OutputDefs) GetId() string
- func (m *ToolTask_OutputDefs) GetName() string
- func (*ToolTask_OutputDefs) ProtoMessage()
- func (m *ToolTask_OutputDefs) Reset()
- func (m *ToolTask_OutputDefs) String() string
- func (this *ToolTask_OutputDefs) Validate() error
- func (m *ToolTask_OutputDefs) XXX_DiscardUnknown()
- func (m *ToolTask_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_OutputDefs) XXX_Merge(src proto.Message)
- func (m *ToolTask_OutputDefs) XXX_Size() int
- func (m *ToolTask_OutputDefs) XXX_Unmarshal(b []byte) error
- type ToolTask_TableDefs
- func (*ToolTask_TableDefs) Descriptor() ([]byte, []int)
- func (m *ToolTask_TableDefs) GetColumns() []*ToolTask_TableDefs_Columns
- func (m *ToolTask_TableDefs) GetDimensions() []*ToolTask_TableDefs_Dimensions
- func (m *ToolTask_TableDefs) GetId() string
- func (m *ToolTask_TableDefs) GetName() string
- func (*ToolTask_TableDefs) ProtoMessage()
- func (m *ToolTask_TableDefs) Reset()
- func (m *ToolTask_TableDefs) String() string
- func (this *ToolTask_TableDefs) Validate() error
- func (m *ToolTask_TableDefs) XXX_DiscardUnknown()
- func (m *ToolTask_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_TableDefs) XXX_Merge(src proto.Message)
- func (m *ToolTask_TableDefs) XXX_Size() int
- func (m *ToolTask_TableDefs) XXX_Unmarshal(b []byte) error
- type ToolTask_TableDefs_Columns
- func (*ToolTask_TableDefs_Columns) Descriptor() ([]byte, []int)
- func (m *ToolTask_TableDefs_Columns) GetId() string
- func (m *ToolTask_TableDefs_Columns) GetName() string
- func (*ToolTask_TableDefs_Columns) ProtoMessage()
- func (m *ToolTask_TableDefs_Columns) Reset()
- func (m *ToolTask_TableDefs_Columns) String() string
- func (this *ToolTask_TableDefs_Columns) Validate() error
- func (m *ToolTask_TableDefs_Columns) XXX_DiscardUnknown()
- func (m *ToolTask_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_TableDefs_Columns) XXX_Merge(src proto.Message)
- func (m *ToolTask_TableDefs_Columns) XXX_Size() int
- func (m *ToolTask_TableDefs_Columns) XXX_Unmarshal(b []byte) error
- type ToolTask_TableDefs_Dimensions
- func (*ToolTask_TableDefs_Dimensions) Descriptor() ([]byte, []int)
- func (m *ToolTask_TableDefs_Dimensions) GetId() string
- func (m *ToolTask_TableDefs_Dimensions) GetName() string
- func (*ToolTask_TableDefs_Dimensions) ProtoMessage()
- func (m *ToolTask_TableDefs_Dimensions) Reset()
- func (m *ToolTask_TableDefs_Dimensions) String() string
- func (this *ToolTask_TableDefs_Dimensions) Validate() error
- func (m *ToolTask_TableDefs_Dimensions) XXX_DiscardUnknown()
- func (m *ToolTask_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToolTask_TableDefs_Dimensions) XXX_Merge(src proto.Message)
- func (m *ToolTask_TableDefs_Dimensions) XXX_Size() int
- func (m *ToolTask_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
- type Tool_Log
- func (*Tool_Log) Descriptor() ([]byte, []int)
- func (m *Tool_Log) GetEnabled() bool
- func (m *Tool_Log) GetLevel() string
- func (*Tool_Log) ProtoMessage()
- func (m *Tool_Log) Reset()
- func (m *Tool_Log) String() string
- func (this *Tool_Log) Validate() error
- func (m *Tool_Log) XXX_DiscardUnknown()
- func (m *Tool_Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool_Log) XXX_Merge(src proto.Message)
- func (m *Tool_Log) XXX_Size() int
- func (m *Tool_Log) XXX_Unmarshal(b []byte) error
- type Tool_OutputDefs
- func (*Tool_OutputDefs) Descriptor() ([]byte, []int)
- func (m *Tool_OutputDefs) GetId() string
- func (m *Tool_OutputDefs) GetName() string
- func (*Tool_OutputDefs) ProtoMessage()
- func (m *Tool_OutputDefs) Reset()
- func (m *Tool_OutputDefs) String() string
- func (this *Tool_OutputDefs) Validate() error
- func (m *Tool_OutputDefs) XXX_DiscardUnknown()
- func (m *Tool_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool_OutputDefs) XXX_Merge(src proto.Message)
- func (m *Tool_OutputDefs) XXX_Size() int
- func (m *Tool_OutputDefs) XXX_Unmarshal(b []byte) error
- type Tool_TableDefs
- func (*Tool_TableDefs) Descriptor() ([]byte, []int)
- func (m *Tool_TableDefs) GetColumns() []*Tool_TableDefs_Columns
- func (m *Tool_TableDefs) GetDimensions() []*Tool_TableDefs_Dimensions
- func (m *Tool_TableDefs) GetId() string
- func (m *Tool_TableDefs) GetName() string
- func (*Tool_TableDefs) ProtoMessage()
- func (m *Tool_TableDefs) Reset()
- func (m *Tool_TableDefs) String() string
- func (this *Tool_TableDefs) Validate() error
- func (m *Tool_TableDefs) XXX_DiscardUnknown()
- func (m *Tool_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool_TableDefs) XXX_Merge(src proto.Message)
- func (m *Tool_TableDefs) XXX_Size() int
- func (m *Tool_TableDefs) XXX_Unmarshal(b []byte) error
- type Tool_TableDefs_Columns
- func (*Tool_TableDefs_Columns) Descriptor() ([]byte, []int)
- func (m *Tool_TableDefs_Columns) GetId() string
- func (m *Tool_TableDefs_Columns) GetName() string
- func (*Tool_TableDefs_Columns) ProtoMessage()
- func (m *Tool_TableDefs_Columns) Reset()
- func (m *Tool_TableDefs_Columns) String() string
- func (this *Tool_TableDefs_Columns) Validate() error
- func (m *Tool_TableDefs_Columns) XXX_DiscardUnknown()
- func (m *Tool_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool_TableDefs_Columns) XXX_Merge(src proto.Message)
- func (m *Tool_TableDefs_Columns) XXX_Size() int
- func (m *Tool_TableDefs_Columns) XXX_Unmarshal(b []byte) error
- type Tool_TableDefs_Dimensions
- func (*Tool_TableDefs_Dimensions) Descriptor() ([]byte, []int)
- func (m *Tool_TableDefs_Dimensions) GetId() string
- func (m *Tool_TableDefs_Dimensions) GetName() string
- func (*Tool_TableDefs_Dimensions) ProtoMessage()
- func (m *Tool_TableDefs_Dimensions) Reset()
- func (m *Tool_TableDefs_Dimensions) String() string
- func (this *Tool_TableDefs_Dimensions) Validate() error
- func (m *Tool_TableDefs_Dimensions) XXX_DiscardUnknown()
- func (m *Tool_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tool_TableDefs_Dimensions) XXX_Merge(src proto.Message)
- func (m *Tool_TableDefs_Dimensions) XXX_Size() int
- func (m *Tool_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback struct { // //回调url Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url" form:"url"` // //请求header host eg. tool.easyops-only.com Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host" form:"host"` // //回调服务名eg. logic.tool EnsName string `protobuf:"bytes,3,opt,name=ensName,proto3" json:"ensName" form:"ensName"` // //回调服务方法 Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method" form:"method"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
执行结束后的回调信息
func (*Callback) Descriptor ¶
func (*Callback) GetEnsName ¶
func (*Callback) ProtoMessage ¶
func (*Callback) ProtoMessage()
func (*Callback) XXX_DiscardUnknown ¶
func (m *Callback) XXX_DiscardUnknown()
func (*Callback) XXX_Marshal ¶
func (*Callback) XXX_Unmarshal ¶
type ExecutionSnapshot ¶
type ExecutionSnapshot struct { // //名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //类别 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //操作信息 Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation" form:"operation"` // //工具的toolId PackageId string `protobuf:"bytes,4,opt,name=packageId,proto3" json:"packageId" form:"packageId"` // //工具的版本id VersionId string `protobuf:"bytes,5,opt,name=versionId,proto3" json:"versionId" form:"versionId"` // //目标主机 Targets []*ExecutionSnapshot_Targets `protobuf:"bytes,6,rep,name=targets,proto3" json:"targets" form:"targets"` // //执行动作信息 Actions []*ExecutionSnapshot_Actions `protobuf:"bytes,7,rep,name=actions,proto3" json:"actions" form:"actions"` // //执行结束后的回调信息 Callback *Callback `protobuf:"bytes,8,opt,name=callback,proto3" json:"callback" form:"callback"` // //额外信息 ExtraInfo *ExtraInfo `protobuf:"bytes,9,opt,name=extraInfo,proto3" json:"extraInfo" form:"extraInfo"` // //工具执行的通知信息 NeedNotify string `protobuf:"bytes,10,opt,name=needNotify,proto3" json:"needNotify" form:"needNotify"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
执行快照信息
func (*ExecutionSnapshot) Descriptor ¶
func (*ExecutionSnapshot) Descriptor() ([]byte, []int)
func (*ExecutionSnapshot) GetActions ¶
func (m *ExecutionSnapshot) GetActions() []*ExecutionSnapshot_Actions
func (*ExecutionSnapshot) GetCallback ¶
func (m *ExecutionSnapshot) GetCallback() *Callback
func (*ExecutionSnapshot) GetExtraInfo ¶
func (m *ExecutionSnapshot) GetExtraInfo() *ExtraInfo
func (*ExecutionSnapshot) GetName ¶
func (m *ExecutionSnapshot) GetName() string
func (*ExecutionSnapshot) GetNeedNotify ¶
func (m *ExecutionSnapshot) GetNeedNotify() string
func (*ExecutionSnapshot) GetOperation ¶
func (m *ExecutionSnapshot) GetOperation() string
func (*ExecutionSnapshot) GetPackageId ¶
func (m *ExecutionSnapshot) GetPackageId() string
func (*ExecutionSnapshot) GetTargets ¶
func (m *ExecutionSnapshot) GetTargets() []*ExecutionSnapshot_Targets
func (*ExecutionSnapshot) GetType ¶
func (m *ExecutionSnapshot) GetType() string
func (*ExecutionSnapshot) GetVersionId ¶
func (m *ExecutionSnapshot) GetVersionId() string
func (*ExecutionSnapshot) ProtoMessage ¶
func (*ExecutionSnapshot) ProtoMessage()
func (*ExecutionSnapshot) Reset ¶
func (m *ExecutionSnapshot) Reset()
func (*ExecutionSnapshot) String ¶
func (m *ExecutionSnapshot) String() string
func (*ExecutionSnapshot) Validate ¶
func (this *ExecutionSnapshot) Validate() error
func (*ExecutionSnapshot) XXX_DiscardUnknown ¶
func (m *ExecutionSnapshot) XXX_DiscardUnknown()
func (*ExecutionSnapshot) XXX_Marshal ¶
func (m *ExecutionSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionSnapshot) XXX_Merge ¶
func (m *ExecutionSnapshot) XXX_Merge(src proto.Message)
func (*ExecutionSnapshot) XXX_Size ¶
func (m *ExecutionSnapshot) XXX_Size() int
func (*ExecutionSnapshot) XXX_Unmarshal ¶
func (m *ExecutionSnapshot) XXX_Unmarshal(b []byte) error
type ExecutionSnapshot_Actions ¶
type ExecutionSnapshot_Actions struct { // //工具名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //动作类别 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //动作名称 Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action" form:"action"` // //参数信息 Param *ExecutionSnapshot_Actions_Param `protobuf:"bytes,4,opt,name=param,proto3" json:"param" form:"param"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecutionSnapshot_Actions) Descriptor ¶
func (*ExecutionSnapshot_Actions) Descriptor() ([]byte, []int)
func (*ExecutionSnapshot_Actions) GetAction ¶
func (m *ExecutionSnapshot_Actions) GetAction() string
func (*ExecutionSnapshot_Actions) GetName ¶
func (m *ExecutionSnapshot_Actions) GetName() string
func (*ExecutionSnapshot_Actions) GetParam ¶
func (m *ExecutionSnapshot_Actions) GetParam() *ExecutionSnapshot_Actions_Param
func (*ExecutionSnapshot_Actions) GetType ¶
func (m *ExecutionSnapshot_Actions) GetType() string
func (*ExecutionSnapshot_Actions) ProtoMessage ¶
func (*ExecutionSnapshot_Actions) ProtoMessage()
func (*ExecutionSnapshot_Actions) Reset ¶
func (m *ExecutionSnapshot_Actions) Reset()
func (*ExecutionSnapshot_Actions) String ¶
func (m *ExecutionSnapshot_Actions) String() string
func (*ExecutionSnapshot_Actions) Validate ¶
func (this *ExecutionSnapshot_Actions) Validate() error
func (*ExecutionSnapshot_Actions) XXX_DiscardUnknown ¶
func (m *ExecutionSnapshot_Actions) XXX_DiscardUnknown()
func (*ExecutionSnapshot_Actions) XXX_Marshal ¶
func (m *ExecutionSnapshot_Actions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionSnapshot_Actions) XXX_Merge ¶
func (m *ExecutionSnapshot_Actions) XXX_Merge(src proto.Message)
func (*ExecutionSnapshot_Actions) XXX_Size ¶
func (m *ExecutionSnapshot_Actions) XXX_Size() int
func (*ExecutionSnapshot_Actions) XXX_Unmarshal ¶
func (m *ExecutionSnapshot_Actions) XXX_Unmarshal(b []byte) error
type ExecutionSnapshot_Actions_Param ¶
type ExecutionSnapshot_Actions_Param struct { // //执行命令 Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd" form:"cmd"` // //脚本类别 ScriptType string `protobuf:"bytes,2,opt,name=scriptType,proto3" json:"scriptType" form:"scriptType"` // //解析器名称 Parser string `protobuf:"bytes,3,opt,name=parser,proto3" json:"parser" form:"parser"` // //参数 Param string `protobuf:"bytes,4,opt,name=param,proto3" json:"param" form:"param"` // //执行用户 ExecUser string `protobuf:"bytes,5,opt,name=execUser,proto3" json:"execUser" form:"execUser"` // //工具执行的超时时间(0表示不超时,默认为86400秒) Timeout int32 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout" form:"timeout"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecutionSnapshot_Actions_Param) Descriptor ¶
func (*ExecutionSnapshot_Actions_Param) Descriptor() ([]byte, []int)
func (*ExecutionSnapshot_Actions_Param) GetCmd ¶
func (m *ExecutionSnapshot_Actions_Param) GetCmd() string
func (*ExecutionSnapshot_Actions_Param) GetExecUser ¶
func (m *ExecutionSnapshot_Actions_Param) GetExecUser() string
func (*ExecutionSnapshot_Actions_Param) GetParam ¶
func (m *ExecutionSnapshot_Actions_Param) GetParam() string
func (*ExecutionSnapshot_Actions_Param) GetParser ¶
func (m *ExecutionSnapshot_Actions_Param) GetParser() string
func (*ExecutionSnapshot_Actions_Param) GetScriptType ¶
func (m *ExecutionSnapshot_Actions_Param) GetScriptType() string
func (*ExecutionSnapshot_Actions_Param) GetTimeout ¶
func (m *ExecutionSnapshot_Actions_Param) GetTimeout() int32
func (*ExecutionSnapshot_Actions_Param) ProtoMessage ¶
func (*ExecutionSnapshot_Actions_Param) ProtoMessage()
func (*ExecutionSnapshot_Actions_Param) Reset ¶
func (m *ExecutionSnapshot_Actions_Param) Reset()
func (*ExecutionSnapshot_Actions_Param) String ¶
func (m *ExecutionSnapshot_Actions_Param) String() string
func (*ExecutionSnapshot_Actions_Param) Validate ¶
func (this *ExecutionSnapshot_Actions_Param) Validate() error
func (*ExecutionSnapshot_Actions_Param) XXX_DiscardUnknown ¶
func (m *ExecutionSnapshot_Actions_Param) XXX_DiscardUnknown()
func (*ExecutionSnapshot_Actions_Param) XXX_Marshal ¶
func (m *ExecutionSnapshot_Actions_Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionSnapshot_Actions_Param) XXX_Merge ¶
func (m *ExecutionSnapshot_Actions_Param) XXX_Merge(src proto.Message)
func (*ExecutionSnapshot_Actions_Param) XXX_Size ¶
func (m *ExecutionSnapshot_Actions_Param) XXX_Size() int
func (*ExecutionSnapshot_Actions_Param) XXX_Unmarshal ¶
func (m *ExecutionSnapshot_Actions_Param) XXX_Unmarshal(b []byte) error
type ExecutionSnapshot_Targets ¶
type ExecutionSnapshot_Targets struct { // //主机Ip地址 TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId" form:"targetId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecutionSnapshot_Targets) Descriptor ¶
func (*ExecutionSnapshot_Targets) Descriptor() ([]byte, []int)
func (*ExecutionSnapshot_Targets) GetTargetId ¶
func (m *ExecutionSnapshot_Targets) GetTargetId() string
func (*ExecutionSnapshot_Targets) ProtoMessage ¶
func (*ExecutionSnapshot_Targets) ProtoMessage()
func (*ExecutionSnapshot_Targets) Reset ¶
func (m *ExecutionSnapshot_Targets) Reset()
func (*ExecutionSnapshot_Targets) String ¶
func (m *ExecutionSnapshot_Targets) String() string
func (*ExecutionSnapshot_Targets) Validate ¶
func (this *ExecutionSnapshot_Targets) Validate() error
func (*ExecutionSnapshot_Targets) XXX_DiscardUnknown ¶
func (m *ExecutionSnapshot_Targets) XXX_DiscardUnknown()
func (*ExecutionSnapshot_Targets) XXX_Marshal ¶
func (m *ExecutionSnapshot_Targets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionSnapshot_Targets) XXX_Merge ¶
func (m *ExecutionSnapshot_Targets) XXX_Merge(src proto.Message)
func (*ExecutionSnapshot_Targets) XXX_Size ¶
func (m *ExecutionSnapshot_Targets) XXX_Size() int
func (*ExecutionSnapshot_Targets) XXX_Unmarshal ¶
func (m *ExecutionSnapshot_Targets) XXX_Unmarshal(b []byte) error
type ExtraInfo ¶
type ExtraInfo struct { // //工具名称 ToolName string `protobuf:"bytes,1,opt,name=toolName,proto3" json:"toolName" form:"toolName"` // //运行模式 ExecMode string `protobuf:"bytes,2,opt,name=execMode,proto3" json:"execMode" form:"execMode"` // //输出信息 Outputs []string `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs" form:"outputs"` // //请求源地址 Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin" form:"origin"` // //触发器名称 Trigger string `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger" form:"trigger"` // //详细信息 Detail *ExtraInfo_Detail `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail" form:"detail"` // //工具Id,服务端自动生成 ToolId string `protobuf:"bytes,7,opt,name=toolId,proto3" json:"toolId" form:"toolId"` // //执行用户 ExecUser string `protobuf:"bytes,8,opt,name=execUser,proto3" json:"execUser" form:"execUser"` // //工具输入参数 Inputs *types.Struct `protobuf:"bytes,9,opt,name=inputs,proto3" json:"inputs" form:"inputs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
执行的额外信息
func (*ExtraInfo) Descriptor ¶
func (*ExtraInfo) GetDetail ¶
func (m *ExtraInfo) GetDetail() *ExtraInfo_Detail
func (*ExtraInfo) GetExecMode ¶
func (*ExtraInfo) GetExecUser ¶
func (*ExtraInfo) GetOutputs ¶
func (*ExtraInfo) GetToolName ¶
func (*ExtraInfo) GetTrigger ¶
func (*ExtraInfo) ProtoMessage ¶
func (*ExtraInfo) ProtoMessage()
func (*ExtraInfo) XXX_DiscardUnknown ¶
func (m *ExtraInfo) XXX_DiscardUnknown()
func (*ExtraInfo) XXX_Marshal ¶
func (*ExtraInfo) XXX_Unmarshal ¶
type ExtraInfo_Detail ¶
type ExtraInfo_Detail struct { // //回调信息 Callback *Callback `protobuf:"bytes,1,opt,name=callback,proto3" json:"callback" form:"callback"` // //工具的输出, 输出为空为[],非空时为object, 结构如下: //fields: //- name: dimensions //type: object[] //description: 维度列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 //- name: columns //type: object[] //description: 输出列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 // ToolOutputs *types.Value `protobuf:"bytes,2,opt,name=toolOutputs,proto3" json:"toolOutputs" form:"toolOutputs"` // //工具的Env ToolEnv *types.Struct `protobuf:"bytes,3,opt,name=toolEnv,proto3" json:"toolEnv" form:"toolEnv"` // //工具的输出定义 OutputDefs []*ExtraInfo_Detail_OutputDefs `protobuf:"bytes,4,rep,name=outputDefs,proto3" json:"outputDefs" form:"outputDefs"` // //工具的表格输出定义 TableDefs []*ExtraInfo_Detail_TableDefs `protobuf:"bytes,5,rep,name=tableDefs,proto3" json:"tableDefs" form:"tableDefs"` // //邮件订阅用户 Subscribers []string `protobuf:"bytes,6,rep,name=subscribers,proto3" json:"subscribers" form:"subscribers"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraInfo_Detail) Descriptor ¶
func (*ExtraInfo_Detail) Descriptor() ([]byte, []int)
func (*ExtraInfo_Detail) GetCallback ¶
func (m *ExtraInfo_Detail) GetCallback() *Callback
func (*ExtraInfo_Detail) GetOutputDefs ¶
func (m *ExtraInfo_Detail) GetOutputDefs() []*ExtraInfo_Detail_OutputDefs
func (*ExtraInfo_Detail) GetSubscribers ¶
func (m *ExtraInfo_Detail) GetSubscribers() []string
func (*ExtraInfo_Detail) GetTableDefs ¶
func (m *ExtraInfo_Detail) GetTableDefs() []*ExtraInfo_Detail_TableDefs
func (*ExtraInfo_Detail) GetToolEnv ¶
func (m *ExtraInfo_Detail) GetToolEnv() *types.Struct
func (*ExtraInfo_Detail) GetToolOutputs ¶
func (m *ExtraInfo_Detail) GetToolOutputs() *types.Value
func (*ExtraInfo_Detail) ProtoMessage ¶
func (*ExtraInfo_Detail) ProtoMessage()
func (*ExtraInfo_Detail) Reset ¶
func (m *ExtraInfo_Detail) Reset()
func (*ExtraInfo_Detail) String ¶
func (m *ExtraInfo_Detail) String() string
func (*ExtraInfo_Detail) Validate ¶
func (this *ExtraInfo_Detail) Validate() error
func (*ExtraInfo_Detail) XXX_DiscardUnknown ¶
func (m *ExtraInfo_Detail) XXX_DiscardUnknown()
func (*ExtraInfo_Detail) XXX_Marshal ¶
func (m *ExtraInfo_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraInfo_Detail) XXX_Merge ¶
func (m *ExtraInfo_Detail) XXX_Merge(src proto.Message)
func (*ExtraInfo_Detail) XXX_Size ¶
func (m *ExtraInfo_Detail) XXX_Size() int
func (*ExtraInfo_Detail) XXX_Unmarshal ¶
func (m *ExtraInfo_Detail) XXX_Unmarshal(b []byte) error
type ExtraInfo_Detail_OutputDefs ¶
type ExtraInfo_Detail_OutputDefs struct { // //输出参数ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出参数标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraInfo_Detail_OutputDefs) Descriptor ¶
func (*ExtraInfo_Detail_OutputDefs) Descriptor() ([]byte, []int)
func (*ExtraInfo_Detail_OutputDefs) GetId ¶
func (m *ExtraInfo_Detail_OutputDefs) GetId() string
func (*ExtraInfo_Detail_OutputDefs) GetName ¶
func (m *ExtraInfo_Detail_OutputDefs) GetName() string
func (*ExtraInfo_Detail_OutputDefs) ProtoMessage ¶
func (*ExtraInfo_Detail_OutputDefs) ProtoMessage()
func (*ExtraInfo_Detail_OutputDefs) Reset ¶
func (m *ExtraInfo_Detail_OutputDefs) Reset()
func (*ExtraInfo_Detail_OutputDefs) String ¶
func (m *ExtraInfo_Detail_OutputDefs) String() string
func (*ExtraInfo_Detail_OutputDefs) Validate ¶
func (this *ExtraInfo_Detail_OutputDefs) Validate() error
func (*ExtraInfo_Detail_OutputDefs) XXX_DiscardUnknown ¶
func (m *ExtraInfo_Detail_OutputDefs) XXX_DiscardUnknown()
func (*ExtraInfo_Detail_OutputDefs) XXX_Marshal ¶
func (m *ExtraInfo_Detail_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraInfo_Detail_OutputDefs) XXX_Merge ¶
func (m *ExtraInfo_Detail_OutputDefs) XXX_Merge(src proto.Message)
func (*ExtraInfo_Detail_OutputDefs) XXX_Size ¶
func (m *ExtraInfo_Detail_OutputDefs) XXX_Size() int
func (*ExtraInfo_Detail_OutputDefs) XXX_Unmarshal ¶
func (m *ExtraInfo_Detail_OutputDefs) XXX_Unmarshal(b []byte) error
type ExtraInfo_Detail_TableDefs ¶
type ExtraInfo_Detail_TableDefs struct { // //输出表格id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出表格标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //维度列 Dimensions []*ExtraInfo_Detail_TableDefs_Dimensions `protobuf:"bytes,3,rep,name=dimensions,proto3" json:"dimensions" form:"dimensions"` // //输出列 Columns []*ExtraInfo_Detail_TableDefs_Columns `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns" form:"columns"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraInfo_Detail_TableDefs) Descriptor ¶
func (*ExtraInfo_Detail_TableDefs) Descriptor() ([]byte, []int)
func (*ExtraInfo_Detail_TableDefs) GetColumns ¶
func (m *ExtraInfo_Detail_TableDefs) GetColumns() []*ExtraInfo_Detail_TableDefs_Columns
func (*ExtraInfo_Detail_TableDefs) GetDimensions ¶
func (m *ExtraInfo_Detail_TableDefs) GetDimensions() []*ExtraInfo_Detail_TableDefs_Dimensions
func (*ExtraInfo_Detail_TableDefs) GetId ¶
func (m *ExtraInfo_Detail_TableDefs) GetId() string
func (*ExtraInfo_Detail_TableDefs) GetName ¶
func (m *ExtraInfo_Detail_TableDefs) GetName() string
func (*ExtraInfo_Detail_TableDefs) ProtoMessage ¶
func (*ExtraInfo_Detail_TableDefs) ProtoMessage()
func (*ExtraInfo_Detail_TableDefs) Reset ¶
func (m *ExtraInfo_Detail_TableDefs) Reset()
func (*ExtraInfo_Detail_TableDefs) String ¶
func (m *ExtraInfo_Detail_TableDefs) String() string
func (*ExtraInfo_Detail_TableDefs) Validate ¶
func (this *ExtraInfo_Detail_TableDefs) Validate() error
func (*ExtraInfo_Detail_TableDefs) XXX_DiscardUnknown ¶
func (m *ExtraInfo_Detail_TableDefs) XXX_DiscardUnknown()
func (*ExtraInfo_Detail_TableDefs) XXX_Marshal ¶
func (m *ExtraInfo_Detail_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraInfo_Detail_TableDefs) XXX_Merge ¶
func (m *ExtraInfo_Detail_TableDefs) XXX_Merge(src proto.Message)
func (*ExtraInfo_Detail_TableDefs) XXX_Size ¶
func (m *ExtraInfo_Detail_TableDefs) XXX_Size() int
func (*ExtraInfo_Detail_TableDefs) XXX_Unmarshal ¶
func (m *ExtraInfo_Detail_TableDefs) XXX_Unmarshal(b []byte) error
type ExtraInfo_Detail_TableDefs_Columns ¶
type ExtraInfo_Detail_TableDefs_Columns struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraInfo_Detail_TableDefs_Columns) Descriptor ¶
func (*ExtraInfo_Detail_TableDefs_Columns) Descriptor() ([]byte, []int)
func (*ExtraInfo_Detail_TableDefs_Columns) GetId ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) GetId() string
func (*ExtraInfo_Detail_TableDefs_Columns) GetName ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) GetName() string
func (*ExtraInfo_Detail_TableDefs_Columns) ProtoMessage ¶
func (*ExtraInfo_Detail_TableDefs_Columns) ProtoMessage()
func (*ExtraInfo_Detail_TableDefs_Columns) Reset ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) Reset()
func (*ExtraInfo_Detail_TableDefs_Columns) String ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) String() string
func (*ExtraInfo_Detail_TableDefs_Columns) Validate ¶
func (this *ExtraInfo_Detail_TableDefs_Columns) Validate() error
func (*ExtraInfo_Detail_TableDefs_Columns) XXX_DiscardUnknown ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_DiscardUnknown()
func (*ExtraInfo_Detail_TableDefs_Columns) XXX_Marshal ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraInfo_Detail_TableDefs_Columns) XXX_Merge ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Merge(src proto.Message)
func (*ExtraInfo_Detail_TableDefs_Columns) XXX_Size ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Size() int
func (*ExtraInfo_Detail_TableDefs_Columns) XXX_Unmarshal ¶
func (m *ExtraInfo_Detail_TableDefs_Columns) XXX_Unmarshal(b []byte) error
type ExtraInfo_Detail_TableDefs_Dimensions ¶
type ExtraInfo_Detail_TableDefs_Dimensions struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraInfo_Detail_TableDefs_Dimensions) Descriptor ¶
func (*ExtraInfo_Detail_TableDefs_Dimensions) Descriptor() ([]byte, []int)
func (*ExtraInfo_Detail_TableDefs_Dimensions) GetId ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) GetId() string
func (*ExtraInfo_Detail_TableDefs_Dimensions) GetName ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) GetName() string
func (*ExtraInfo_Detail_TableDefs_Dimensions) ProtoMessage ¶
func (*ExtraInfo_Detail_TableDefs_Dimensions) ProtoMessage()
func (*ExtraInfo_Detail_TableDefs_Dimensions) Reset ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) Reset()
func (*ExtraInfo_Detail_TableDefs_Dimensions) String ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) String() string
func (*ExtraInfo_Detail_TableDefs_Dimensions) Validate ¶
func (this *ExtraInfo_Detail_TableDefs_Dimensions) Validate() error
func (*ExtraInfo_Detail_TableDefs_Dimensions) XXX_DiscardUnknown ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_DiscardUnknown()
func (*ExtraInfo_Detail_TableDefs_Dimensions) XXX_Marshal ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraInfo_Detail_TableDefs_Dimensions) XXX_Merge ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Merge(src proto.Message)
func (*ExtraInfo_Detail_TableDefs_Dimensions) XXX_Size ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Size() int
func (*ExtraInfo_Detail_TableDefs_Dimensions) XXX_Unmarshal ¶
func (m *ExtraInfo_Detail_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
type InputParam ¶
type InputParam struct { // //参数名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //CMDB属性Id CmdbAttrId string `protobuf:"bytes,2,opt,name=cmdbAttrId,proto3" json:"cmdbAttrId" form:"cmdbAttrId"` // //CMDB模型Id CmdbObjectId string `protobuf:"bytes,3,opt,name=cmdbObjectId,proto3" json:"cmdbObjectId" form:"cmdbObjectId"` // //CMDB字段值类型 CmdbAttrType string `protobuf:"bytes,4,opt,name=cmdbAttrType,proto3" json:"cmdbAttrType" form:"cmdbAttrType"` // //是否级联(映射) Cascade bool `protobuf:"varint,5,opt,name=cascade,proto3" json:"cascade" form:"cascade"` // //参数标题 Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label" form:"label"` // //多选 Multiple bool `protobuf:"varint,7,opt,name=multiple,proto3" json:"multiple" form:"multiple"` // //必填 Required bool `protobuf:"varint,8,opt,name=required,proto3" json:"required" form:"required"` // //输入参数类型 Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type" form:"type"` // //枚举列表 Enum []string `protobuf:"bytes,10,rep,name=enum,proto3" json:"enum" form:"enum"` // //是否为原始参数(第一个参数) Primitive bool `protobuf:"varint,11,opt,name=primitive,proto3" json:"primitive" form:"primitive"` // //辅助说明 Memo string `protobuf:"bytes,12,opt,name=memo,proto3" json:"memo" form:"memo"` // //映射参数 Path []*InputParam_Path `protobuf:"bytes,13,rep,name=path,proto3" json:"path" form:"path"` // //默认值 Default string `protobuf:"bytes,14,opt,name=default,proto3" json:"default" form:"default"` // //映射来源 Source string `protobuf:"bytes,15,opt,name=source,proto3" json:"source" form:"source"` // //实例快速选择器 Selector string `protobuf:"bytes,16,opt,name=selector,proto3" json:"selector" form:"selector"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
工具流程输入参数
func (*InputParam) Descriptor ¶
func (*InputParam) Descriptor() ([]byte, []int)
func (*InputParam) GetCascade ¶
func (m *InputParam) GetCascade() bool
func (*InputParam) GetCmdbAttrId ¶
func (m *InputParam) GetCmdbAttrId() string
func (*InputParam) GetCmdbAttrType ¶
func (m *InputParam) GetCmdbAttrType() string
func (*InputParam) GetCmdbObjectId ¶
func (m *InputParam) GetCmdbObjectId() string
func (*InputParam) GetDefault ¶
func (m *InputParam) GetDefault() string
func (*InputParam) GetEnum ¶
func (m *InputParam) GetEnum() []string
func (*InputParam) GetLabel ¶
func (m *InputParam) GetLabel() string
func (*InputParam) GetMemo ¶
func (m *InputParam) GetMemo() string
func (*InputParam) GetMultiple ¶
func (m *InputParam) GetMultiple() bool
func (*InputParam) GetName ¶
func (m *InputParam) GetName() string
func (*InputParam) GetPath ¶
func (m *InputParam) GetPath() []*InputParam_Path
func (*InputParam) GetPrimitive ¶
func (m *InputParam) GetPrimitive() bool
func (*InputParam) GetRequired ¶
func (m *InputParam) GetRequired() bool
func (*InputParam) GetSelector ¶
func (m *InputParam) GetSelector() string
func (*InputParam) GetSource ¶
func (m *InputParam) GetSource() string
func (*InputParam) GetType ¶
func (m *InputParam) GetType() string
func (*InputParam) ProtoMessage ¶
func (*InputParam) ProtoMessage()
func (*InputParam) Reset ¶
func (m *InputParam) Reset()
func (*InputParam) String ¶
func (m *InputParam) String() string
func (*InputParam) Validate ¶
func (this *InputParam) Validate() error
func (*InputParam) XXX_DiscardUnknown ¶
func (m *InputParam) XXX_DiscardUnknown()
func (*InputParam) XXX_Marshal ¶
func (m *InputParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InputParam) XXX_Merge ¶
func (m *InputParam) XXX_Merge(src proto.Message)
func (*InputParam) XXX_Size ¶
func (m *InputParam) XXX_Size() int
func (*InputParam) XXX_Unmarshal ¶
func (m *InputParam) XXX_Unmarshal(b []byte) error
type InputParam_Path ¶
type InputParam_Path struct { // //参数id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //参数类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InputParam_Path) Descriptor ¶
func (*InputParam_Path) Descriptor() ([]byte, []int)
func (*InputParam_Path) GetId ¶
func (m *InputParam_Path) GetId() string
func (*InputParam_Path) GetType ¶
func (m *InputParam_Path) GetType() string
func (*InputParam_Path) ProtoMessage ¶
func (*InputParam_Path) ProtoMessage()
func (*InputParam_Path) Reset ¶
func (m *InputParam_Path) Reset()
func (*InputParam_Path) String ¶
func (m *InputParam_Path) String() string
func (*InputParam_Path) Validate ¶
func (this *InputParam_Path) Validate() error
func (*InputParam_Path) XXX_DiscardUnknown ¶
func (m *InputParam_Path) XXX_DiscardUnknown()
func (*InputParam_Path) XXX_Marshal ¶
func (m *InputParam_Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InputParam_Path) XXX_Merge ¶
func (m *InputParam_Path) XXX_Merge(src proto.Message)
func (*InputParam_Path) XXX_Size ¶
func (m *InputParam_Path) XXX_Size() int
func (*InputParam_Path) XXX_Unmarshal ¶
func (m *InputParam_Path) XXX_Unmarshal(b []byte) error
type Tool ¶
type Tool struct { // //工具Id,服务端自动生成 ToolId string `protobuf:"bytes,1,opt,name=toolId,proto3" json:"toolId" form:"toolId"` // //工具版本 VId string `protobuf:"bytes,2,opt,name=vId,proto3" json:"vId" form:"vId"` // //工具名字 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //工具执行的超时时间(0表示不超时,默认为86400秒) Timeout int32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout" form:"timeout"` // //工具的分类 Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category" form:"category"` // //工具的页面显示图标 Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon" form:"icon"` // //图标风格 Style string `protobuf:"bytes,7,opt,name=style,proto3" json:"style" form:"style"` // //工具说明 Memo string `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo" form:"memo"` // //列表中是否显示 ListVisible bool `protobuf:"varint,9,opt,name=listVisible,proto3" json:"listVisible" form:"listVisible"` // //标签 Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags" form:"tags"` // //禁用工具开关 Disable bool `protobuf:"varint,11,opt,name=disable,proto3" json:"disable" form:"disable"` // //工具创建时间 CreateTime string `protobuf:"bytes,12,opt,name=createTime,proto3" json:"createTime" form:"createTime"` // //工具更新时间 UpdateTime string `protobuf:"bytes,13,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"` // //工具创建用户名 Creator string `protobuf:"bytes,14,opt,name=creator,proto3" json:"creator" form:"creator"` // //客户id Org int32 `protobuf:"varint,15,opt,name=org,proto3" json:"org" form:"org"` // //工具输入参数信息 Inputs []*ToolInput `protobuf:"bytes,16,rep,name=inputs,proto3" json:"inputs" form:"inputs"` // //工具输出参数 Outputs string `protobuf:"bytes,17,opt,name=outputs,proto3" json:"outputs" form:"outputs"` // //工具脚本的类型(python, shell..) Type string `protobuf:"bytes,18,opt,name=type,proto3" json:"type" form:"type"` // //工具脚本的内容 Content string `protobuf:"bytes,19,opt,name=content,proto3" json:"content" form:"content"` // //默认执行用户 DefaultExecUser string `protobuf:"bytes,20,opt,name=defaultExecUser,proto3" json:"defaultExecUser" form:"defaultExecUser"` // //执行用户 ExecUser string `protobuf:"bytes,21,opt,name=execUser,proto3" json:"execUser" form:"execUser"` // //授权执行用户列表 AuthUsers []string `protobuf:"bytes,22,rep,name=authUsers,proto3" json:"authUsers" form:"authUsers"` // //默认执行的agents DefaultAgents []string `protobuf:"bytes,23,rep,name=defaultAgents,proto3" json:"defaultAgents" form:"defaultAgents"` // //系统插件 SystemPlugin bool `protobuf:"varint,24,opt,name=system_plugin,json=systemPlugin,proto3" json:"system_plugin" form:"system_plugin"` // //系统工具 SystemTool bool `protobuf:"varint,25,opt,name=system_tool,json=systemTool,proto3" json:"system_tool" form:"system_tool"` // //绑定的agents LockAgents string `protobuf:"bytes,26,opt,name=lockAgents,proto3" json:"lockAgents" form:"lockAgents"` // //沙箱执行;默认执行的agents SandboxRun bool `protobuf:"varint,27,opt,name=sandboxRun,proto3" json:"sandboxRun" form:"sandboxRun"` // //白名单 WhiteList []string `protobuf:"bytes,28,rep,name=whiteList,proto3" json:"whiteList" form:"whiteList"` // //是否使用windows会话用户 WindowsSession bool `protobuf:"varint,29,opt,name=windowsSession,proto3" json:"windowsSession" form:"windowsSession"` // //黑名单 BlackList []string `protobuf:"bytes,30,rep,name=blackList,proto3" json:"blackList" form:"blackList"` // //工具的输出, 输出为空为[],非空时为object, 结构如下: //fields: //- name: dimensions //type: object[] //description: 维度列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 //- name: columns //type: object[] //description: 输出列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 // ToolOutputs *types.Value `protobuf:"bytes,31,opt,name=toolOutputs,proto3" json:"toolOutputs" form:"toolOutputs"` // //工具的输出定义 OutputDefs []*Tool_OutputDefs `protobuf:"bytes,32,rep,name=outputDefs,proto3" json:"outputDefs" form:"outputDefs"` // //工具的表格输出定义 TableDefs []*Tool_TableDefs `protobuf:"bytes,33,rep,name=tableDefs,proto3" json:"tableDefs" form:"tableDefs"` // //版本创建时间 VCreateTime string `protobuf:"bytes,34,opt,name=vCreateTime,proto3" json:"vCreateTime" form:"vCreateTime"` // //版本更新时间 VUpdateTime string `protobuf:"bytes,35,opt,name=vUpdateTime,proto3" json:"vUpdateTime" form:"vUpdateTime"` // //版本名称 VName string `protobuf:"bytes,36,opt,name=vName,proto3" json:"vName" form:"vName"` // //版本作者 VCreator string `protobuf:"bytes,37,opt,name=vCreator,proto3" json:"vCreator" form:"vCreator"` // //查看详情授权用户 ReadAuthorizers []string `protobuf:"bytes,38,rep,name=readAuthorizers,proto3" json:"readAuthorizers" form:"readAuthorizers"` // //更新授权用户 UpdateAuthorizers []string `protobuf:"bytes,39,rep,name=updateAuthorizers,proto3" json:"updateAuthorizers" form:"updateAuthorizers"` // //删除授权用户 DeleteAuthorizers []string `protobuf:"bytes,40,rep,name=deleteAuthorizers,proto3" json:"deleteAuthorizers" form:"deleteAuthorizers"` // //执行授权用户 ExecuteAuthorizers []string `protobuf:"bytes,41,rep,name=executeAuthorizers,proto3" json:"executeAuthorizers" form:"executeAuthorizers"` // //执行结果查看授权用户 ReadExecutionResultAuthorizers []string `` /* 142-byte string literal not displayed */ // //root执行授权用户 RootExecuteAuthorizers []string `protobuf:"bytes,43,rep,name=rootExecuteAuthorizers,proto3" json:"rootExecuteAuthorizers" form:"rootExecuteAuthorizers"` // //版本说明 VDesc string `protobuf:"bytes,44,opt,name=vDesc,proto3" json:"vDesc" form:"vDesc"` // //工具来源 SourceFrom string `protobuf:"bytes,45,opt,name=sourceFrom,proto3" json:"sourceFrom" form:"sourceFrom"` // //版本类型 EnvType string `protobuf:"bytes,46,opt,name=envType,proto3" json:"envType" form:"envType"` // //工具审批结果(approving=待审批;approved=已审批;rejected=审批未通过) CheckType string `protobuf:"bytes,47,opt,name=checkType,proto3" json:"checkType" form:"checkType"` // //审批人 CheckUser string `protobuf:"bytes,48,opt,name=checkUser,proto3" json:"checkUser" form:"checkUser"` // //审批发起人 CheckSponsor string `protobuf:"bytes,49,opt,name=checkSponsor,proto3" json:"checkSponsor" form:"checkSponsor"` // //工具审批结论意见 CheckComment string `protobuf:"bytes,50,opt,name=checkComment,proto3" json:"checkComment" form:"checkComment"` // //当为空时是[], //非空时为object如,分批策略{"batchNum":10,"batchInterval":3,"failedStop":true,"enabled":true} // BatchStrategy *types.Value `protobuf:"bytes,51,opt,name=batchStrategy,proto3" json:"batchStrategy" form:"batchStrategy"` // //初始化后的工具为 SQL HTTP JAVA normal(null) FunctionType string `protobuf:"bytes,52,opt,name=functionType,proto3" json:"functionType" form:"functionType"` // //系统ORG IsSystemOrg bool `protobuf:"varint,53,opt,name=is_system_org,json=isSystemOrg,proto3" json:"is_system_org" form:"is_system_org"` // //邮件订阅用户 Subscribers []string `protobuf:"bytes,54,rep,name=subscribers,proto3" json:"subscribers" form:"subscribers"` // //邮件通知方式 ALL | WARNING SubscribedChannel string `protobuf:"bytes,55,opt,name=subscribedChannel,proto3" json:"subscribedChannel" form:"subscribedChannel"` // //是否只读 ReadOnly bool `protobuf:"varint,56,opt,name=readOnly,proto3" json:"readOnly" form:"readOnly"` // //模版类型 TemplateType string `protobuf:"bytes,57,opt,name=templateType,proto3" json:"templateType" form:"templateType"` // //数据库删除标记 DeleteMe bool `protobuf:"varint,58,opt,name=delete_me,json=deleteMe,proto3" json:"delete_me" form:"delete_me"` // //审批用户 Approvers []string `protobuf:"bytes,59,rep,name=approvers,proto3" json:"approvers" form:"approvers"` // //Ansible Node机器执行用户 AnsibleNodeExecUser string `protobuf:"bytes,60,opt,name=ansibleNodeExecUser,proto3" json:"ansibleNodeExecUser" form:"ansibleNodeExecUser"` // //ansible-playbook verbose mode Log *Tool_Log `protobuf:"bytes,61,opt,name=log,proto3" json:"log" form:"log"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
工具
func (*Tool) Descriptor ¶
func (*Tool) GetAnsibleNodeExecUser ¶
func (*Tool) GetApprovers ¶
func (*Tool) GetAuthUsers ¶
func (*Tool) GetBatchStrategy ¶
func (*Tool) GetBlackList ¶
func (*Tool) GetCategory ¶
func (*Tool) GetCheckComment ¶
func (*Tool) GetCheckSponsor ¶
func (*Tool) GetCheckType ¶
func (*Tool) GetCheckUser ¶
func (*Tool) GetContent ¶
func (*Tool) GetCreateTime ¶
func (*Tool) GetCreator ¶
func (*Tool) GetDefaultAgents ¶
func (*Tool) GetDefaultExecUser ¶
func (*Tool) GetDeleteAuthorizers ¶
func (*Tool) GetDeleteMe ¶
func (*Tool) GetDisable ¶
func (*Tool) GetEnvType ¶
func (*Tool) GetExecUser ¶
func (*Tool) GetExecuteAuthorizers ¶
func (*Tool) GetFunctionType ¶
func (*Tool) GetIsSystemOrg ¶
func (*Tool) GetListVisible ¶
func (*Tool) GetLockAgents ¶
func (*Tool) GetOutputDefs ¶
func (m *Tool) GetOutputDefs() []*Tool_OutputDefs
func (*Tool) GetOutputs ¶
func (*Tool) GetReadAuthorizers ¶
func (*Tool) GetReadExecutionResultAuthorizers ¶
func (*Tool) GetReadOnly ¶
func (*Tool) GetRootExecuteAuthorizers ¶
func (*Tool) GetSandboxRun ¶
func (*Tool) GetSourceFrom ¶
func (*Tool) GetSubscribedChannel ¶
func (*Tool) GetSubscribers ¶
func (*Tool) GetSystemPlugin ¶
func (*Tool) GetSystemTool ¶
func (*Tool) GetTableDefs ¶
func (m *Tool) GetTableDefs() []*Tool_TableDefs
func (*Tool) GetTemplateType ¶
func (*Tool) GetTimeout ¶
func (*Tool) GetToolOutputs ¶
func (*Tool) GetUpdateAuthorizers ¶
func (*Tool) GetUpdateTime ¶
func (*Tool) GetVCreateTime ¶
func (*Tool) GetVCreator ¶
func (*Tool) GetVUpdateTime ¶
func (*Tool) GetWhiteList ¶
func (*Tool) GetWindowsSession ¶
func (*Tool) ProtoMessage ¶
func (*Tool) ProtoMessage()
func (*Tool) XXX_DiscardUnknown ¶
func (m *Tool) XXX_DiscardUnknown()
func (*Tool) XXX_Unmarshal ¶
type ToolInput ¶
type ToolInput struct { // //参数名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //CMDB属性Id CmdbAttrId string `protobuf:"bytes,2,opt,name=cmdbAttrId,proto3" json:"cmdbAttrId" form:"cmdbAttrId"` // //CMDB模型Id CmdbObjectId string `protobuf:"bytes,3,opt,name=cmdbObjectId,proto3" json:"cmdbObjectId" form:"cmdbObjectId"` // //CMDB字段值类型 CmdbAttrType string `protobuf:"bytes,4,opt,name=cmdbAttrType,proto3" json:"cmdbAttrType" form:"cmdbAttrType"` // //是否级联(映射) Cascade string `protobuf:"bytes,5,opt,name=cascade,proto3" json:"cascade" form:"cascade"` // //参数标题 Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label" form:"label"` // //多选 Multiple string `protobuf:"bytes,7,opt,name=multiple,proto3" json:"multiple" form:"multiple"` // //必填 Required string `protobuf:"bytes,8,opt,name=required,proto3" json:"required" form:"required"` // //输入参数类型 Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type" form:"type"` // //枚举列表 Enum []string `protobuf:"bytes,10,rep,name=enum,proto3" json:"enum" form:"enum"` // //是否为原始参数(第一个参数) Primitive string `protobuf:"bytes,11,opt,name=primitive,proto3" json:"primitive" form:"primitive"` // //辅助说明 Memo string `protobuf:"bytes,12,opt,name=memo,proto3" json:"memo" form:"memo"` // //映射参数 Path []*ToolInput_Path `protobuf:"bytes,13,rep,name=path,proto3" json:"path" form:"path"` // //默认值 Default string `protobuf:"bytes,14,opt,name=default,proto3" json:"default" form:"default"` // //映射来源 Source string `protobuf:"bytes,15,opt,name=source,proto3" json:"source" form:"source"` // //实例快速选择器 Selector string `protobuf:"bytes,16,opt,name=selector,proto3" json:"selector" form:"selector"` // //输入值 Value string `protobuf:"bytes,17,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
工具输入参数信息
func (*ToolInput) Descriptor ¶
func (*ToolInput) GetCascade ¶
func (*ToolInput) GetCmdbAttrId ¶
func (*ToolInput) GetCmdbAttrType ¶
func (*ToolInput) GetCmdbObjectId ¶
func (*ToolInput) GetDefault ¶
func (*ToolInput) GetMultiple ¶
func (*ToolInput) GetPath ¶
func (m *ToolInput) GetPath() []*ToolInput_Path
func (*ToolInput) GetPrimitive ¶
func (*ToolInput) GetRequired ¶
func (*ToolInput) GetSelector ¶
func (*ToolInput) ProtoMessage ¶
func (*ToolInput) ProtoMessage()
func (*ToolInput) XXX_DiscardUnknown ¶
func (m *ToolInput) XXX_DiscardUnknown()
func (*ToolInput) XXX_Marshal ¶
func (*ToolInput) XXX_Unmarshal ¶
type ToolInput_Path ¶
type ToolInput_Path struct { // //参数id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //参数类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolInput_Path) Descriptor ¶
func (*ToolInput_Path) Descriptor() ([]byte, []int)
func (*ToolInput_Path) GetId ¶
func (m *ToolInput_Path) GetId() string
func (*ToolInput_Path) GetType ¶
func (m *ToolInput_Path) GetType() string
func (*ToolInput_Path) ProtoMessage ¶
func (*ToolInput_Path) ProtoMessage()
func (*ToolInput_Path) Reset ¶
func (m *ToolInput_Path) Reset()
func (*ToolInput_Path) String ¶
func (m *ToolInput_Path) String() string
func (*ToolInput_Path) Validate ¶
func (this *ToolInput_Path) Validate() error
func (*ToolInput_Path) XXX_DiscardUnknown ¶
func (m *ToolInput_Path) XXX_DiscardUnknown()
func (*ToolInput_Path) XXX_Marshal ¶
func (m *ToolInput_Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolInput_Path) XXX_Merge ¶
func (m *ToolInput_Path) XXX_Merge(src proto.Message)
func (*ToolInput_Path) XXX_Size ¶
func (m *ToolInput_Path) XXX_Size() int
func (*ToolInput_Path) XXX_Unmarshal ¶
func (m *ToolInput_Path) XXX_Unmarshal(b []byte) error
type ToolTask ¶
type ToolTask struct { // //用户 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username" form:"username"` // //工具输入参数 Inputs *types.Struct `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs" form:"inputs"` // //额外详细信息 ExtraDetail *ToolTask_ExtraDetail `protobuf:"bytes,3,opt,name=extraDetail,proto3" json:"extraDetail" form:"extraDetail"` // //执行状态 TotalStatus string `protobuf:"bytes,4,opt,name=totalStatus,proto3" json:"totalStatus" form:"totalStatus"` // //错误信息 Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error" form:"error"` // //执行id ExecId string `protobuf:"bytes,6,opt,name=execId,proto3" json:"execId" form:"execId"` // //工具的Env ToolEnv *types.Struct `protobuf:"bytes,7,opt,name=toolEnv,proto3" json:"toolEnv" form:"toolEnv"` // //工具输出参数 Outputs *types.Struct `protobuf:"bytes,8,opt,name=outputs,proto3" json:"outputs" form:"outputs"` // //outViewData OutViewData *types.Struct `protobuf:"bytes,9,opt,name=outViewData,proto3" json:"outViewData" form:"outViewData"` // //agent数据 AgentData *types.Struct `protobuf:"bytes,10,opt,name=agentData,proto3" json:"agentData" form:"agentData"` // //agent列表 Agents []string `protobuf:"bytes,11,rep,name=agents,proto3" json:"agents" form:"agents"` // //agents启动时间 StartTime *types.Struct `protobuf:"bytes,12,opt,name=startTime,proto3" json:"startTime" form:"startTime"` // //agents状态 Status *types.Struct `protobuf:"bytes,13,opt,name=status,proto3" json:"status" form:"status"` // //agents的msg Msg *types.Struct `protobuf:"bytes,14,opt,name=msg,proto3" json:"msg" form:"msg"` // //agents结束时间 EndTime *types.Struct `protobuf:"bytes,15,opt,name=endTime,proto3" json:"endTime" form:"endTime"` // //agents退出时间 ExitStatus *types.Struct `protobuf:"bytes,16,opt,name=exitStatus,proto3" json:"exitStatus" form:"exitStatus"` // //agents系统状态 SysStatus *types.Struct `protobuf:"bytes,17,opt,name=sysStatus,proto3" json:"sysStatus" form:"sysStatus"` // //工具输出数据 ToolOutputsData []*types.Struct `protobuf:"bytes,18,rep,name=toolOutputsData,proto3" json:"toolOutputsData" form:"toolOutputsData"` // //表格数据 TableData *types.Struct `protobuf:"bytes,19,opt,name=tableData,proto3" json:"tableData" form:"tableData"` // //工具信息 ToolData *Tool `protobuf:"bytes,20,opt,name=toolData,proto3" json:"toolData" form:"toolData"` // //分批策略 BatchStrategy *ToolTask_BatchStrategy `protobuf:"bytes,21,opt,name=batchStrategy,proto3" json:"batchStrategy" form:"batchStrategy"` // //工具执行的通知信息 NeedNotify string `protobuf:"bytes,22,opt,name=needNotify,proto3" json:"needNotify" form:"needNotify"` // //执行用户 ExecUser string `protobuf:"bytes,23,opt,name=execUser,proto3" json:"execUser" form:"execUser"` // //工具版本 VId string `protobuf:"bytes,24,opt,name=vId,proto3" json:"vId" form:"vId"` // //工具Id,服务端自动生成 ToolId string `protobuf:"bytes,25,opt,name=toolId,proto3" json:"toolId" form:"toolId"` // //工具的输出定义 OutputDefs []*ToolTask_OutputDefs `protobuf:"bytes,26,rep,name=outputDefs,proto3" json:"outputDefs" form:"outputDefs"` // //工具的表格输出定义 TableDefs []*ToolTask_TableDefs `protobuf:"bytes,27,rep,name=tableDefs,proto3" json:"tableDefs" form:"tableDefs"` // //工具的输出, 输出为空为[],非空时为object, 结构如下: //fields: //- name: dimensions //type: object[] //description: 维度列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 //- name: columns //type: object[] //description: 输出列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 // ToolOutputs *types.Value `protobuf:"bytes,28,opt,name=toolOutputs,proto3" json:"toolOutputs" form:"toolOutputs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
工具执行任务
func (*ToolTask) Descriptor ¶
func (*ToolTask) GetAgentData ¶
func (*ToolTask) GetBatchStrategy ¶
func (m *ToolTask) GetBatchStrategy() *ToolTask_BatchStrategy
func (*ToolTask) GetEndTime ¶
func (*ToolTask) GetExecUser ¶
func (*ToolTask) GetExitStatus ¶
func (*ToolTask) GetExtraDetail ¶
func (m *ToolTask) GetExtraDetail() *ToolTask_ExtraDetail
func (*ToolTask) GetNeedNotify ¶
func (*ToolTask) GetOutViewData ¶
func (*ToolTask) GetOutputDefs ¶
func (m *ToolTask) GetOutputDefs() []*ToolTask_OutputDefs
func (*ToolTask) GetOutputs ¶
func (*ToolTask) GetStartTime ¶
func (*ToolTask) GetSysStatus ¶
func (*ToolTask) GetTableData ¶
func (*ToolTask) GetTableDefs ¶
func (m *ToolTask) GetTableDefs() []*ToolTask_TableDefs
func (*ToolTask) GetToolData ¶
func (*ToolTask) GetToolEnv ¶
func (*ToolTask) GetToolOutputs ¶
func (*ToolTask) GetToolOutputsData ¶
func (*ToolTask) GetTotalStatus ¶
func (*ToolTask) GetUsername ¶
func (*ToolTask) ProtoMessage ¶
func (*ToolTask) ProtoMessage()
func (*ToolTask) XXX_DiscardUnknown ¶
func (m *ToolTask) XXX_DiscardUnknown()
func (*ToolTask) XXX_Marshal ¶
func (*ToolTask) XXX_Unmarshal ¶
type ToolTask_BatchStrategy ¶
type ToolTask_BatchStrategy struct { // //自动分批:每批次部署机器数;手动分批:部署总共批次 BatchNum int32 `protobuf:"varint,1,opt,name=batchNum,proto3" json:"batchNum" form:"batchNum"` // //部署间隔时长(s) BatchInterval int32 `protobuf:"varint,2,opt,name=batchInterval,proto3" json:"batchInterval" form:"batchInterval"` // //是否失败暂停 FailedStop string `protobuf:"bytes,3,opt,name=failedStop,proto3" json:"failedStop" form:"failedStop"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_BatchStrategy) Descriptor ¶
func (*ToolTask_BatchStrategy) Descriptor() ([]byte, []int)
func (*ToolTask_BatchStrategy) GetBatchInterval ¶
func (m *ToolTask_BatchStrategy) GetBatchInterval() int32
func (*ToolTask_BatchStrategy) GetBatchNum ¶
func (m *ToolTask_BatchStrategy) GetBatchNum() int32
func (*ToolTask_BatchStrategy) GetFailedStop ¶
func (m *ToolTask_BatchStrategy) GetFailedStop() string
func (*ToolTask_BatchStrategy) ProtoMessage ¶
func (*ToolTask_BatchStrategy) ProtoMessage()
func (*ToolTask_BatchStrategy) Reset ¶
func (m *ToolTask_BatchStrategy) Reset()
func (*ToolTask_BatchStrategy) String ¶
func (m *ToolTask_BatchStrategy) String() string
func (*ToolTask_BatchStrategy) Validate ¶
func (this *ToolTask_BatchStrategy) Validate() error
func (*ToolTask_BatchStrategy) XXX_DiscardUnknown ¶
func (m *ToolTask_BatchStrategy) XXX_DiscardUnknown()
func (*ToolTask_BatchStrategy) XXX_Marshal ¶
func (m *ToolTask_BatchStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_BatchStrategy) XXX_Merge ¶
func (m *ToolTask_BatchStrategy) XXX_Merge(src proto.Message)
func (*ToolTask_BatchStrategy) XXX_Size ¶
func (m *ToolTask_BatchStrategy) XXX_Size() int
func (*ToolTask_BatchStrategy) XXX_Unmarshal ¶
func (m *ToolTask_BatchStrategy) XXX_Unmarshal(b []byte) error
type ToolTask_ExtraDetail ¶
type ToolTask_ExtraDetail struct { // //工具执行成功的回调信息 Callback *Callback `protobuf:"bytes,1,opt,name=callback,proto3" json:"callback" form:"callback"` // //工具的Env ToolEnv *types.Struct `protobuf:"bytes,2,opt,name=toolEnv,proto3" json:"toolEnv" form:"toolEnv"` // //工具的输出, 输出为空为[],非空时为object, 结构如下: //fields: //- name: dimensions //type: object[] //description: 维度列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 //- name: columns //type: object[] //description: 输出列 //fields: //- name: id //type: string //description: 列id //- name: name //type: string //description: 列标题 //- name: type //type: string //description: 列类型 // ToolOutputs *types.Value `protobuf:"bytes,3,opt,name=toolOutputs,proto3" json:"toolOutputs" form:"toolOutputs"` // //工具的表格输出定义 TableDefs []*ToolTask_ExtraDetail_TableDefs `protobuf:"bytes,4,rep,name=tableDefs,proto3" json:"tableDefs" form:"tableDefs"` // //工具的输出定义 OutputDefs []*ToolTask_ExtraDetail_OutputDefs `protobuf:"bytes,5,rep,name=outputDefs,proto3" json:"outputDefs" form:"outputDefs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_ExtraDetail) Descriptor ¶
func (*ToolTask_ExtraDetail) Descriptor() ([]byte, []int)
func (*ToolTask_ExtraDetail) GetCallback ¶
func (m *ToolTask_ExtraDetail) GetCallback() *Callback
func (*ToolTask_ExtraDetail) GetOutputDefs ¶
func (m *ToolTask_ExtraDetail) GetOutputDefs() []*ToolTask_ExtraDetail_OutputDefs
func (*ToolTask_ExtraDetail) GetTableDefs ¶
func (m *ToolTask_ExtraDetail) GetTableDefs() []*ToolTask_ExtraDetail_TableDefs
func (*ToolTask_ExtraDetail) GetToolEnv ¶
func (m *ToolTask_ExtraDetail) GetToolEnv() *types.Struct
func (*ToolTask_ExtraDetail) GetToolOutputs ¶
func (m *ToolTask_ExtraDetail) GetToolOutputs() *types.Value
func (*ToolTask_ExtraDetail) ProtoMessage ¶
func (*ToolTask_ExtraDetail) ProtoMessage()
func (*ToolTask_ExtraDetail) Reset ¶
func (m *ToolTask_ExtraDetail) Reset()
func (*ToolTask_ExtraDetail) String ¶
func (m *ToolTask_ExtraDetail) String() string
func (*ToolTask_ExtraDetail) Validate ¶
func (this *ToolTask_ExtraDetail) Validate() error
func (*ToolTask_ExtraDetail) XXX_DiscardUnknown ¶
func (m *ToolTask_ExtraDetail) XXX_DiscardUnknown()
func (*ToolTask_ExtraDetail) XXX_Marshal ¶
func (m *ToolTask_ExtraDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_ExtraDetail) XXX_Merge ¶
func (m *ToolTask_ExtraDetail) XXX_Merge(src proto.Message)
func (*ToolTask_ExtraDetail) XXX_Size ¶
func (m *ToolTask_ExtraDetail) XXX_Size() int
func (*ToolTask_ExtraDetail) XXX_Unmarshal ¶
func (m *ToolTask_ExtraDetail) XXX_Unmarshal(b []byte) error
type ToolTask_ExtraDetail_OutputDefs ¶
type ToolTask_ExtraDetail_OutputDefs struct { // //输出参数ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出参数标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_ExtraDetail_OutputDefs) Descriptor ¶
func (*ToolTask_ExtraDetail_OutputDefs) Descriptor() ([]byte, []int)
func (*ToolTask_ExtraDetail_OutputDefs) GetId ¶
func (m *ToolTask_ExtraDetail_OutputDefs) GetId() string
func (*ToolTask_ExtraDetail_OutputDefs) GetName ¶
func (m *ToolTask_ExtraDetail_OutputDefs) GetName() string
func (*ToolTask_ExtraDetail_OutputDefs) ProtoMessage ¶
func (*ToolTask_ExtraDetail_OutputDefs) ProtoMessage()
func (*ToolTask_ExtraDetail_OutputDefs) Reset ¶
func (m *ToolTask_ExtraDetail_OutputDefs) Reset()
func (*ToolTask_ExtraDetail_OutputDefs) String ¶
func (m *ToolTask_ExtraDetail_OutputDefs) String() string
func (*ToolTask_ExtraDetail_OutputDefs) Validate ¶
func (this *ToolTask_ExtraDetail_OutputDefs) Validate() error
func (*ToolTask_ExtraDetail_OutputDefs) XXX_DiscardUnknown ¶
func (m *ToolTask_ExtraDetail_OutputDefs) XXX_DiscardUnknown()
func (*ToolTask_ExtraDetail_OutputDefs) XXX_Marshal ¶
func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_ExtraDetail_OutputDefs) XXX_Merge ¶
func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Merge(src proto.Message)
func (*ToolTask_ExtraDetail_OutputDefs) XXX_Size ¶
func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Size() int
func (*ToolTask_ExtraDetail_OutputDefs) XXX_Unmarshal ¶
func (m *ToolTask_ExtraDetail_OutputDefs) XXX_Unmarshal(b []byte) error
type ToolTask_ExtraDetail_TableDefs ¶
type ToolTask_ExtraDetail_TableDefs struct { // //输出表格id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出表格标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //维度列 Dimensions []*ToolTask_ExtraDetail_TableDefs_Dimensions `protobuf:"bytes,3,rep,name=dimensions,proto3" json:"dimensions" form:"dimensions"` // //输出列 Columns []*ToolTask_ExtraDetail_TableDefs_Columns `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns" form:"columns"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_ExtraDetail_TableDefs) Descriptor ¶
func (*ToolTask_ExtraDetail_TableDefs) Descriptor() ([]byte, []int)
func (*ToolTask_ExtraDetail_TableDefs) GetColumns ¶
func (m *ToolTask_ExtraDetail_TableDefs) GetColumns() []*ToolTask_ExtraDetail_TableDefs_Columns
func (*ToolTask_ExtraDetail_TableDefs) GetDimensions ¶
func (m *ToolTask_ExtraDetail_TableDefs) GetDimensions() []*ToolTask_ExtraDetail_TableDefs_Dimensions
func (*ToolTask_ExtraDetail_TableDefs) GetId ¶
func (m *ToolTask_ExtraDetail_TableDefs) GetId() string
func (*ToolTask_ExtraDetail_TableDefs) GetName ¶
func (m *ToolTask_ExtraDetail_TableDefs) GetName() string
func (*ToolTask_ExtraDetail_TableDefs) ProtoMessage ¶
func (*ToolTask_ExtraDetail_TableDefs) ProtoMessage()
func (*ToolTask_ExtraDetail_TableDefs) Reset ¶
func (m *ToolTask_ExtraDetail_TableDefs) Reset()
func (*ToolTask_ExtraDetail_TableDefs) String ¶
func (m *ToolTask_ExtraDetail_TableDefs) String() string
func (*ToolTask_ExtraDetail_TableDefs) Validate ¶
func (this *ToolTask_ExtraDetail_TableDefs) Validate() error
func (*ToolTask_ExtraDetail_TableDefs) XXX_DiscardUnknown ¶
func (m *ToolTask_ExtraDetail_TableDefs) XXX_DiscardUnknown()
func (*ToolTask_ExtraDetail_TableDefs) XXX_Marshal ¶
func (m *ToolTask_ExtraDetail_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_ExtraDetail_TableDefs) XXX_Merge ¶
func (m *ToolTask_ExtraDetail_TableDefs) XXX_Merge(src proto.Message)
func (*ToolTask_ExtraDetail_TableDefs) XXX_Size ¶
func (m *ToolTask_ExtraDetail_TableDefs) XXX_Size() int
func (*ToolTask_ExtraDetail_TableDefs) XXX_Unmarshal ¶
func (m *ToolTask_ExtraDetail_TableDefs) XXX_Unmarshal(b []byte) error
type ToolTask_ExtraDetail_TableDefs_Columns ¶
type ToolTask_ExtraDetail_TableDefs_Columns struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_ExtraDetail_TableDefs_Columns) Descriptor ¶
func (*ToolTask_ExtraDetail_TableDefs_Columns) Descriptor() ([]byte, []int)
func (*ToolTask_ExtraDetail_TableDefs_Columns) GetId ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) GetId() string
func (*ToolTask_ExtraDetail_TableDefs_Columns) GetName ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) GetName() string
func (*ToolTask_ExtraDetail_TableDefs_Columns) ProtoMessage ¶
func (*ToolTask_ExtraDetail_TableDefs_Columns) ProtoMessage()
func (*ToolTask_ExtraDetail_TableDefs_Columns) Reset ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) Reset()
func (*ToolTask_ExtraDetail_TableDefs_Columns) String ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) String() string
func (*ToolTask_ExtraDetail_TableDefs_Columns) Validate ¶
func (this *ToolTask_ExtraDetail_TableDefs_Columns) Validate() error
func (*ToolTask_ExtraDetail_TableDefs_Columns) XXX_DiscardUnknown ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_DiscardUnknown()
func (*ToolTask_ExtraDetail_TableDefs_Columns) XXX_Marshal ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_ExtraDetail_TableDefs_Columns) XXX_Merge ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Merge(src proto.Message)
func (*ToolTask_ExtraDetail_TableDefs_Columns) XXX_Size ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Size() int
func (*ToolTask_ExtraDetail_TableDefs_Columns) XXX_Unmarshal ¶
func (m *ToolTask_ExtraDetail_TableDefs_Columns) XXX_Unmarshal(b []byte) error
type ToolTask_ExtraDetail_TableDefs_Dimensions ¶
type ToolTask_ExtraDetail_TableDefs_Dimensions struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) Descriptor ¶
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) Descriptor() ([]byte, []int)
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) GetId ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) GetId() string
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) GetName ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) GetName() string
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) ProtoMessage ¶
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) ProtoMessage()
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) Reset ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) Reset()
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) String ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) String() string
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) Validate ¶
func (this *ToolTask_ExtraDetail_TableDefs_Dimensions) Validate() error
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_DiscardUnknown ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_DiscardUnknown()
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Marshal ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Merge ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Merge(src proto.Message)
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Size ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Size() int
func (*ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Unmarshal ¶
func (m *ToolTask_ExtraDetail_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
type ToolTask_OutputDefs ¶
type ToolTask_OutputDefs struct { // //输出参数ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出参数标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_OutputDefs) Descriptor ¶
func (*ToolTask_OutputDefs) Descriptor() ([]byte, []int)
func (*ToolTask_OutputDefs) GetId ¶
func (m *ToolTask_OutputDefs) GetId() string
func (*ToolTask_OutputDefs) GetName ¶
func (m *ToolTask_OutputDefs) GetName() string
func (*ToolTask_OutputDefs) ProtoMessage ¶
func (*ToolTask_OutputDefs) ProtoMessage()
func (*ToolTask_OutputDefs) Reset ¶
func (m *ToolTask_OutputDefs) Reset()
func (*ToolTask_OutputDefs) String ¶
func (m *ToolTask_OutputDefs) String() string
func (*ToolTask_OutputDefs) Validate ¶
func (this *ToolTask_OutputDefs) Validate() error
func (*ToolTask_OutputDefs) XXX_DiscardUnknown ¶
func (m *ToolTask_OutputDefs) XXX_DiscardUnknown()
func (*ToolTask_OutputDefs) XXX_Marshal ¶
func (m *ToolTask_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_OutputDefs) XXX_Merge ¶
func (m *ToolTask_OutputDefs) XXX_Merge(src proto.Message)
func (*ToolTask_OutputDefs) XXX_Size ¶
func (m *ToolTask_OutputDefs) XXX_Size() int
func (*ToolTask_OutputDefs) XXX_Unmarshal ¶
func (m *ToolTask_OutputDefs) XXX_Unmarshal(b []byte) error
type ToolTask_TableDefs ¶
type ToolTask_TableDefs struct { // //输出表格id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出表格标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //维度列 Dimensions []*ToolTask_TableDefs_Dimensions `protobuf:"bytes,3,rep,name=dimensions,proto3" json:"dimensions" form:"dimensions"` // //输出列 Columns []*ToolTask_TableDefs_Columns `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns" form:"columns"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_TableDefs) Descriptor ¶
func (*ToolTask_TableDefs) Descriptor() ([]byte, []int)
func (*ToolTask_TableDefs) GetColumns ¶
func (m *ToolTask_TableDefs) GetColumns() []*ToolTask_TableDefs_Columns
func (*ToolTask_TableDefs) GetDimensions ¶
func (m *ToolTask_TableDefs) GetDimensions() []*ToolTask_TableDefs_Dimensions
func (*ToolTask_TableDefs) GetId ¶
func (m *ToolTask_TableDefs) GetId() string
func (*ToolTask_TableDefs) GetName ¶
func (m *ToolTask_TableDefs) GetName() string
func (*ToolTask_TableDefs) ProtoMessage ¶
func (*ToolTask_TableDefs) ProtoMessage()
func (*ToolTask_TableDefs) Reset ¶
func (m *ToolTask_TableDefs) Reset()
func (*ToolTask_TableDefs) String ¶
func (m *ToolTask_TableDefs) String() string
func (*ToolTask_TableDefs) Validate ¶
func (this *ToolTask_TableDefs) Validate() error
func (*ToolTask_TableDefs) XXX_DiscardUnknown ¶
func (m *ToolTask_TableDefs) XXX_DiscardUnknown()
func (*ToolTask_TableDefs) XXX_Marshal ¶
func (m *ToolTask_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_TableDefs) XXX_Merge ¶
func (m *ToolTask_TableDefs) XXX_Merge(src proto.Message)
func (*ToolTask_TableDefs) XXX_Size ¶
func (m *ToolTask_TableDefs) XXX_Size() int
func (*ToolTask_TableDefs) XXX_Unmarshal ¶
func (m *ToolTask_TableDefs) XXX_Unmarshal(b []byte) error
type ToolTask_TableDefs_Columns ¶
type ToolTask_TableDefs_Columns struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_TableDefs_Columns) Descriptor ¶
func (*ToolTask_TableDefs_Columns) Descriptor() ([]byte, []int)
func (*ToolTask_TableDefs_Columns) GetId ¶
func (m *ToolTask_TableDefs_Columns) GetId() string
func (*ToolTask_TableDefs_Columns) GetName ¶
func (m *ToolTask_TableDefs_Columns) GetName() string
func (*ToolTask_TableDefs_Columns) ProtoMessage ¶
func (*ToolTask_TableDefs_Columns) ProtoMessage()
func (*ToolTask_TableDefs_Columns) Reset ¶
func (m *ToolTask_TableDefs_Columns) Reset()
func (*ToolTask_TableDefs_Columns) String ¶
func (m *ToolTask_TableDefs_Columns) String() string
func (*ToolTask_TableDefs_Columns) Validate ¶
func (this *ToolTask_TableDefs_Columns) Validate() error
func (*ToolTask_TableDefs_Columns) XXX_DiscardUnknown ¶
func (m *ToolTask_TableDefs_Columns) XXX_DiscardUnknown()
func (*ToolTask_TableDefs_Columns) XXX_Marshal ¶
func (m *ToolTask_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_TableDefs_Columns) XXX_Merge ¶
func (m *ToolTask_TableDefs_Columns) XXX_Merge(src proto.Message)
func (*ToolTask_TableDefs_Columns) XXX_Size ¶
func (m *ToolTask_TableDefs_Columns) XXX_Size() int
func (*ToolTask_TableDefs_Columns) XXX_Unmarshal ¶
func (m *ToolTask_TableDefs_Columns) XXX_Unmarshal(b []byte) error
type ToolTask_TableDefs_Dimensions ¶
type ToolTask_TableDefs_Dimensions struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ToolTask_TableDefs_Dimensions) Descriptor ¶
func (*ToolTask_TableDefs_Dimensions) Descriptor() ([]byte, []int)
func (*ToolTask_TableDefs_Dimensions) GetId ¶
func (m *ToolTask_TableDefs_Dimensions) GetId() string
func (*ToolTask_TableDefs_Dimensions) GetName ¶
func (m *ToolTask_TableDefs_Dimensions) GetName() string
func (*ToolTask_TableDefs_Dimensions) ProtoMessage ¶
func (*ToolTask_TableDefs_Dimensions) ProtoMessage()
func (*ToolTask_TableDefs_Dimensions) Reset ¶
func (m *ToolTask_TableDefs_Dimensions) Reset()
func (*ToolTask_TableDefs_Dimensions) String ¶
func (m *ToolTask_TableDefs_Dimensions) String() string
func (*ToolTask_TableDefs_Dimensions) Validate ¶
func (this *ToolTask_TableDefs_Dimensions) Validate() error
func (*ToolTask_TableDefs_Dimensions) XXX_DiscardUnknown ¶
func (m *ToolTask_TableDefs_Dimensions) XXX_DiscardUnknown()
func (*ToolTask_TableDefs_Dimensions) XXX_Marshal ¶
func (m *ToolTask_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToolTask_TableDefs_Dimensions) XXX_Merge ¶
func (m *ToolTask_TableDefs_Dimensions) XXX_Merge(src proto.Message)
func (*ToolTask_TableDefs_Dimensions) XXX_Size ¶
func (m *ToolTask_TableDefs_Dimensions) XXX_Size() int
func (*ToolTask_TableDefs_Dimensions) XXX_Unmarshal ¶
func (m *ToolTask_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
type Tool_Log ¶
type Tool_Log struct { // //是否启用日志 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled" form:"enabled"` // //v,vv,vvv for more, vvvv to enable connection debugging Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level" form:"level"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tool_Log) Descriptor ¶
func (*Tool_Log) GetEnabled ¶
func (*Tool_Log) ProtoMessage ¶
func (*Tool_Log) ProtoMessage()
func (*Tool_Log) XXX_DiscardUnknown ¶
func (m *Tool_Log) XXX_DiscardUnknown()
func (*Tool_Log) XXX_Marshal ¶
func (*Tool_Log) XXX_Unmarshal ¶
type Tool_OutputDefs ¶
type Tool_OutputDefs struct { // //输出参数ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出参数标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tool_OutputDefs) Descriptor ¶
func (*Tool_OutputDefs) Descriptor() ([]byte, []int)
func (*Tool_OutputDefs) GetId ¶
func (m *Tool_OutputDefs) GetId() string
func (*Tool_OutputDefs) GetName ¶
func (m *Tool_OutputDefs) GetName() string
func (*Tool_OutputDefs) ProtoMessage ¶
func (*Tool_OutputDefs) ProtoMessage()
func (*Tool_OutputDefs) Reset ¶
func (m *Tool_OutputDefs) Reset()
func (*Tool_OutputDefs) String ¶
func (m *Tool_OutputDefs) String() string
func (*Tool_OutputDefs) Validate ¶
func (this *Tool_OutputDefs) Validate() error
func (*Tool_OutputDefs) XXX_DiscardUnknown ¶
func (m *Tool_OutputDefs) XXX_DiscardUnknown()
func (*Tool_OutputDefs) XXX_Marshal ¶
func (m *Tool_OutputDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tool_OutputDefs) XXX_Merge ¶
func (m *Tool_OutputDefs) XXX_Merge(src proto.Message)
func (*Tool_OutputDefs) XXX_Size ¶
func (m *Tool_OutputDefs) XXX_Size() int
func (*Tool_OutputDefs) XXX_Unmarshal ¶
func (m *Tool_OutputDefs) XXX_Unmarshal(b []byte) error
type Tool_TableDefs ¶
type Tool_TableDefs struct { // //输出表格id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //输出表格标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //维度列 Dimensions []*Tool_TableDefs_Dimensions `protobuf:"bytes,3,rep,name=dimensions,proto3" json:"dimensions" form:"dimensions"` // //输出列 Columns []*Tool_TableDefs_Columns `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns" form:"columns"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tool_TableDefs) Descriptor ¶
func (*Tool_TableDefs) Descriptor() ([]byte, []int)
func (*Tool_TableDefs) GetColumns ¶
func (m *Tool_TableDefs) GetColumns() []*Tool_TableDefs_Columns
func (*Tool_TableDefs) GetDimensions ¶
func (m *Tool_TableDefs) GetDimensions() []*Tool_TableDefs_Dimensions
func (*Tool_TableDefs) GetId ¶
func (m *Tool_TableDefs) GetId() string
func (*Tool_TableDefs) GetName ¶
func (m *Tool_TableDefs) GetName() string
func (*Tool_TableDefs) ProtoMessage ¶
func (*Tool_TableDefs) ProtoMessage()
func (*Tool_TableDefs) Reset ¶
func (m *Tool_TableDefs) Reset()
func (*Tool_TableDefs) String ¶
func (m *Tool_TableDefs) String() string
func (*Tool_TableDefs) Validate ¶
func (this *Tool_TableDefs) Validate() error
func (*Tool_TableDefs) XXX_DiscardUnknown ¶
func (m *Tool_TableDefs) XXX_DiscardUnknown()
func (*Tool_TableDefs) XXX_Marshal ¶
func (m *Tool_TableDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tool_TableDefs) XXX_Merge ¶
func (m *Tool_TableDefs) XXX_Merge(src proto.Message)
func (*Tool_TableDefs) XXX_Size ¶
func (m *Tool_TableDefs) XXX_Size() int
func (*Tool_TableDefs) XXX_Unmarshal ¶
func (m *Tool_TableDefs) XXX_Unmarshal(b []byte) error
type Tool_TableDefs_Columns ¶
type Tool_TableDefs_Columns struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tool_TableDefs_Columns) Descriptor ¶
func (*Tool_TableDefs_Columns) Descriptor() ([]byte, []int)
func (*Tool_TableDefs_Columns) GetId ¶
func (m *Tool_TableDefs_Columns) GetId() string
func (*Tool_TableDefs_Columns) GetName ¶
func (m *Tool_TableDefs_Columns) GetName() string
func (*Tool_TableDefs_Columns) ProtoMessage ¶
func (*Tool_TableDefs_Columns) ProtoMessage()
func (*Tool_TableDefs_Columns) Reset ¶
func (m *Tool_TableDefs_Columns) Reset()
func (*Tool_TableDefs_Columns) String ¶
func (m *Tool_TableDefs_Columns) String() string
func (*Tool_TableDefs_Columns) Validate ¶
func (this *Tool_TableDefs_Columns) Validate() error
func (*Tool_TableDefs_Columns) XXX_DiscardUnknown ¶
func (m *Tool_TableDefs_Columns) XXX_DiscardUnknown()
func (*Tool_TableDefs_Columns) XXX_Marshal ¶
func (m *Tool_TableDefs_Columns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tool_TableDefs_Columns) XXX_Merge ¶
func (m *Tool_TableDefs_Columns) XXX_Merge(src proto.Message)
func (*Tool_TableDefs_Columns) XXX_Size ¶
func (m *Tool_TableDefs_Columns) XXX_Size() int
func (*Tool_TableDefs_Columns) XXX_Unmarshal ¶
func (m *Tool_TableDefs_Columns) XXX_Unmarshal(b []byte) error
type Tool_TableDefs_Dimensions ¶
type Tool_TableDefs_Dimensions struct { // //列id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //列标题 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tool_TableDefs_Dimensions) Descriptor ¶
func (*Tool_TableDefs_Dimensions) Descriptor() ([]byte, []int)
func (*Tool_TableDefs_Dimensions) GetId ¶
func (m *Tool_TableDefs_Dimensions) GetId() string
func (*Tool_TableDefs_Dimensions) GetName ¶
func (m *Tool_TableDefs_Dimensions) GetName() string
func (*Tool_TableDefs_Dimensions) ProtoMessage ¶
func (*Tool_TableDefs_Dimensions) ProtoMessage()
func (*Tool_TableDefs_Dimensions) Reset ¶
func (m *Tool_TableDefs_Dimensions) Reset()
func (*Tool_TableDefs_Dimensions) String ¶
func (m *Tool_TableDefs_Dimensions) String() string
func (*Tool_TableDefs_Dimensions) Validate ¶
func (this *Tool_TableDefs_Dimensions) Validate() error
func (*Tool_TableDefs_Dimensions) XXX_DiscardUnknown ¶
func (m *Tool_TableDefs_Dimensions) XXX_DiscardUnknown()
func (*Tool_TableDefs_Dimensions) XXX_Marshal ¶
func (m *Tool_TableDefs_Dimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tool_TableDefs_Dimensions) XXX_Merge ¶
func (m *Tool_TableDefs_Dimensions) XXX_Merge(src proto.Message)
func (*Tool_TableDefs_Dimensions) XXX_Size ¶
func (m *Tool_TableDefs_Dimensions) XXX_Size() int
func (*Tool_TableDefs_Dimensions) XXX_Unmarshal ¶
func (m *Tool_TableDefs_Dimensions) XXX_Unmarshal(b []byte) error
Source Files ¶
- callback.pb.go
- callback.validator.pb.go
- execution_snapshot.pb.go
- execution_snapshot.validator.pb.go
- extra_info.pb.go
- extra_info.validator.pb.go
- input_param.pb.go
- input_param.validator.pb.go
- tool.pb.go
- tool.validator.pb.go
- tool_input.pb.go
- tool_input.validator.pb.go
- tool_task.pb.go
- tool_task.validator.pb.go
Click to show internal directories.
Click to hide internal directories.