Documentation
¶
Index ¶
- type InspectionArg
- func (*InspectionArg) Descriptor() ([]byte, []int)
- func (m *InspectionArg) GetAlias() string
- func (m *InspectionArg) GetDefault() string
- func (m *InspectionArg) GetKey() string
- func (m *InspectionArg) GetMemo() string
- func (m *InspectionArg) GetRequire() bool
- func (m *InspectionArg) GetSource() string
- func (m *InspectionArg) GetType() string
- func (*InspectionArg) ProtoMessage()
- func (m *InspectionArg) Reset()
- func (m *InspectionArg) String() string
- func (this *InspectionArg) Validate() error
- func (m *InspectionArg) XXX_DiscardUnknown()
- func (m *InspectionArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionArg) XXX_Merge(src proto.Message)
- func (m *InspectionArg) XXX_Size() int
- func (m *InspectionArg) XXX_Unmarshal(b []byte) error
- type InspectionCollector
- func (*InspectionCollector) Descriptor() ([]byte, []int)
- func (m *InspectionCollector) GetArgs() []*InspectionArg
- func (m *InspectionCollector) GetContent() string
- func (m *InspectionCollector) GetId() string
- func (m *InspectionCollector) GetName() string
- func (m *InspectionCollector) GetScript() string
- func (*InspectionCollector) ProtoMessage()
- func (m *InspectionCollector) Reset()
- func (m *InspectionCollector) String() string
- func (this *InspectionCollector) Validate() error
- func (m *InspectionCollector) XXX_DiscardUnknown()
- func (m *InspectionCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionCollector) XXX_Merge(src proto.Message)
- func (m *InspectionCollector) XXX_Size() int
- func (m *InspectionCollector) XXX_Unmarshal(b []byte) error
- type InspectionCondition
- func (*InspectionCondition) Descriptor() ([]byte, []int)
- func (m *InspectionCondition) GetComparatorType() string
- func (m *InspectionCondition) GetLevel() int32
- func (m *InspectionCondition) GetMaxValue() float32
- func (m *InspectionCondition) GetMinValue() float32
- func (m *InspectionCondition) GetValue() string
- func (*InspectionCondition) ProtoMessage()
- func (m *InspectionCondition) Reset()
- func (m *InspectionCondition) String() string
- func (this *InspectionCondition) Validate() error
- func (m *InspectionCondition) XXX_DiscardUnknown()
- func (m *InspectionCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionCondition) XXX_Merge(src proto.Message)
- func (m *InspectionCondition) XXX_Size() int
- func (m *InspectionCondition) XXX_Unmarshal(b []byte) error
- type InspectionDim
- func (*InspectionDim) Descriptor() ([]byte, []int)
- func (m *InspectionDim) GetId() string
- func (m *InspectionDim) GetName() string
- func (*InspectionDim) ProtoMessage()
- func (m *InspectionDim) Reset()
- func (m *InspectionDim) String() string
- func (this *InspectionDim) Validate() error
- func (m *InspectionDim) XXX_DiscardUnknown()
- func (m *InspectionDim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionDim) XXX_Merge(src proto.Message)
- func (m *InspectionDim) XXX_Size() int
- func (m *InspectionDim) XXX_Unmarshal(b []byte) error
- type InspectionHistory
- func (*InspectionHistory) Descriptor() ([]byte, []int)
- func (m *InspectionHistory) GetEndTime() int32
- func (m *InspectionHistory) GetJobId() string
- func (m *InspectionHistory) GetPassingRate() float32
- func (m *InspectionHistory) GetScore() float32
- func (m *InspectionHistory) GetStartTime() int32
- func (m *InspectionHistory) GetStatus() string
- func (m *InspectionHistory) GetTargets() []*InspectionTarget
- func (m *InspectionHistory) GetTaskId() string
- func (m *InspectionHistory) GetTaskName() string
- func (m *InspectionHistory) GetUsedTime() int32
- func (*InspectionHistory) ProtoMessage()
- func (m *InspectionHistory) Reset()
- func (m *InspectionHistory) String() string
- func (this *InspectionHistory) Validate() error
- func (m *InspectionHistory) XXX_DiscardUnknown()
- func (m *InspectionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionHistory) XXX_Merge(src proto.Message)
- func (m *InspectionHistory) XXX_Size() int
- func (m *InspectionHistory) XXX_Unmarshal(b []byte) error
- type InspectionHost
- func (*InspectionHost) Descriptor() ([]byte, []int)
- func (m *InspectionHost) GetHostname() string
- func (m *InspectionHost) GetInstanceId() string
- func (m *InspectionHost) GetIp() string
- func (*InspectionHost) ProtoMessage()
- func (m *InspectionHost) Reset()
- func (m *InspectionHost) String() string
- func (this *InspectionHost) Validate() error
- func (m *InspectionHost) XXX_DiscardUnknown()
- func (m *InspectionHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionHost) XXX_Merge(src proto.Message)
- func (m *InspectionHost) XXX_Size() int
- func (m *InspectionHost) XXX_Unmarshal(b []byte) error
- type InspectionInfo
- func (*InspectionInfo) Descriptor() ([]byte, []int)
- func (m *InspectionInfo) GetCounterSideId() string
- func (m *InspectionInfo) GetCtime() string
- func (m *InspectionInfo) GetId() string
- func (m *InspectionInfo) GetIndex() int32
- func (m *InspectionInfo) GetKeys() []string
- func (m *InspectionInfo) GetMemo() string
- func (m *InspectionInfo) GetMethod() string
- func (m *InspectionInfo) GetName() string
- func (m *InspectionInfo) GetObjectId() string
- func (m *InspectionInfo) GetObjectName() string
- func (m *InspectionInfo) GetRelationIdWithHost() string
- func (m *InspectionInfo) GetStatus() string
- func (*InspectionInfo) ProtoMessage()
- func (m *InspectionInfo) Reset()
- func (m *InspectionInfo) String() string
- func (this *InspectionInfo) Validate() error
- func (m *InspectionInfo) XXX_DiscardUnknown()
- func (m *InspectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionInfo) XXX_Merge(src proto.Message)
- func (m *InspectionInfo) XXX_Size() int
- func (m *InspectionInfo) XXX_Unmarshal(b []byte) error
- type InspectionMetricGroup
- func (*InspectionMetricGroup) Descriptor() ([]byte, []int)
- func (m *InspectionMetricGroup) GetCategory() string
- func (m *InspectionMetricGroup) GetDims() []*InspectionDim
- func (m *InspectionMetricGroup) GetId() string
- func (m *InspectionMetricGroup) GetMemo() string
- func (m *InspectionMetricGroup) GetName() string
- func (m *InspectionMetricGroup) GetVals() []*InspectionVal
- func (*InspectionMetricGroup) ProtoMessage()
- func (m *InspectionMetricGroup) Reset()
- func (m *InspectionMetricGroup) String() string
- func (this *InspectionMetricGroup) Validate() error
- func (m *InspectionMetricGroup) XXX_DiscardUnknown()
- func (m *InspectionMetricGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionMetricGroup) XXX_Merge(src proto.Message)
- func (m *InspectionMetricGroup) XXX_Size() int
- func (m *InspectionMetricGroup) XXX_Unmarshal(b []byte) error
- type InspectionTarget
- func (*InspectionTarget) Descriptor() ([]byte, []int)
- func (m *InspectionTarget) GetInstanceId() string
- func (m *InspectionTarget) GetKeys() []*InspectionTarget_Keys
- func (m *InspectionTarget) GetName() string
- func (m *InspectionTarget) GetScore() float32
- func (m *InspectionTarget) GetStatus() string
- func (*InspectionTarget) ProtoMessage()
- func (m *InspectionTarget) Reset()
- func (m *InspectionTarget) String() string
- func (this *InspectionTarget) Validate() error
- func (m *InspectionTarget) XXX_DiscardUnknown()
- func (m *InspectionTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTarget) XXX_Merge(src proto.Message)
- func (m *InspectionTarget) XXX_Size() int
- func (m *InspectionTarget) XXX_Unmarshal(b []byte) error
- type InspectionTarget_Keys
- func (*InspectionTarget_Keys) Descriptor() ([]byte, []int)
- func (m *InspectionTarget_Keys) GetId() string
- func (m *InspectionTarget_Keys) GetName() string
- func (m *InspectionTarget_Keys) GetValue() string
- func (*InspectionTarget_Keys) ProtoMessage()
- func (m *InspectionTarget_Keys) Reset()
- func (m *InspectionTarget_Keys) String() string
- func (this *InspectionTarget_Keys) Validate() error
- func (m *InspectionTarget_Keys) XXX_DiscardUnknown()
- func (m *InspectionTarget_Keys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTarget_Keys) XXX_Merge(src proto.Message)
- func (m *InspectionTarget_Keys) XXX_Size() int
- func (m *InspectionTarget_Keys) XXX_Unmarshal(b []byte) error
- type InspectionTask
- func (*InspectionTask) Descriptor() ([]byte, []int)
- func (m *InspectionTask) GetArgs() []*InspectionTask_Args
- func (m *InspectionTask) GetInspectionTaskId() string
- func (m *InspectionTask) GetIsAllNotify() bool
- func (m *InspectionTask) GetMemo() string
- func (m *InspectionTask) GetName() string
- func (m *InspectionTask) GetNotifyPassComparator() string
- func (m *InspectionTask) GetNotifyScore() float32
- func (m *InspectionTask) GetNotifyUser() *InspectionUserOrUserGroup
- func (m *InspectionTask) GetNotifyUserGroup() *InspectionUserOrUserGroup
- func (m *InspectionTask) GetPerformanceTargets() string
- func (m *InspectionTask) GetQueryStrategyId() string
- func (m *InspectionTask) GetTargets() []*InspectionTask_Targets
- func (m *InspectionTask) GetTaskScheduler() string
- func (m *InspectionTask) GetTaskType() string
- func (m *InspectionTask) GetTemplateId() string
- func (m *InspectionTask) GetTemplateName() string
- func (*InspectionTask) ProtoMessage()
- func (m *InspectionTask) Reset()
- func (m *InspectionTask) String() string
- func (this *InspectionTask) Validate() error
- func (m *InspectionTask) XXX_DiscardUnknown()
- func (m *InspectionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTask) XXX_Merge(src proto.Message)
- func (m *InspectionTask) XXX_Size() int
- func (m *InspectionTask) XXX_Unmarshal(b []byte) error
- type InspectionTask_Args
- func (*InspectionTask_Args) Descriptor() ([]byte, []int)
- func (m *InspectionTask_Args) GetKey() string
- func (m *InspectionTask_Args) GetSource() string
- func (m *InspectionTask_Args) GetValue() string
- func (*InspectionTask_Args) ProtoMessage()
- func (m *InspectionTask_Args) Reset()
- func (m *InspectionTask_Args) String() string
- func (this *InspectionTask_Args) Validate() error
- func (m *InspectionTask_Args) XXX_DiscardUnknown()
- func (m *InspectionTask_Args) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTask_Args) XXX_Merge(src proto.Message)
- func (m *InspectionTask_Args) XXX_Size() int
- func (m *InspectionTask_Args) XXX_Unmarshal(b []byte) error
- type InspectionTask_Targets
- func (*InspectionTask_Targets) Descriptor() ([]byte, []int)
- func (m *InspectionTask_Targets) GetInstanceId() string
- func (*InspectionTask_Targets) ProtoMessage()
- func (m *InspectionTask_Targets) Reset()
- func (m *InspectionTask_Targets) String() string
- func (this *InspectionTask_Targets) Validate() error
- func (m *InspectionTask_Targets) XXX_DiscardUnknown()
- func (m *InspectionTask_Targets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTask_Targets) XXX_Merge(src proto.Message)
- func (m *InspectionTask_Targets) XXX_Size() int
- func (m *InspectionTask_Targets) XXX_Unmarshal(b []byte) error
- type InspectionTemplate
- func (*InspectionTemplate) Descriptor() ([]byte, []int)
- func (m *InspectionTemplate) GetCreator() string
- func (m *InspectionTemplate) GetCtime() string
- func (m *InspectionTemplate) GetId() string
- func (m *InspectionTemplate) GetMemo() string
- func (m *InspectionTemplate) GetMetricGroups() []*InspectionTemplate_MetricGroups
- func (m *InspectionTemplate) GetName() string
- func (m *InspectionTemplate) GetPluginId() string
- func (m *InspectionTemplate) GetSummaryTemplates() *InspectionTemplate_SummaryTemplates
- func (*InspectionTemplate) ProtoMessage()
- func (m *InspectionTemplate) Reset()
- func (m *InspectionTemplate) String() string
- func (this *InspectionTemplate) Validate() error
- func (m *InspectionTemplate) XXX_DiscardUnknown()
- func (m *InspectionTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTemplate) XXX_Merge(src proto.Message)
- func (m *InspectionTemplate) XXX_Size() int
- func (m *InspectionTemplate) XXX_Unmarshal(b []byte) error
- type InspectionTemplate_MetricGroups
- func (*InspectionTemplate_MetricGroups) Descriptor() ([]byte, []int)
- func (m *InspectionTemplate_MetricGroups) GetAbscissaId() string
- func (m *InspectionTemplate_MetricGroups) GetAbscissaName() string
- func (m *InspectionTemplate_MetricGroups) GetCategory() string
- func (m *InspectionTemplate_MetricGroups) GetDisplayType() string
- func (m *InspectionTemplate_MetricGroups) GetId() string
- func (m *InspectionTemplate_MetricGroups) GetIndex() int32
- func (m *InspectionTemplate_MetricGroups) GetName() string
- func (m *InspectionTemplate_MetricGroups) GetTransposed() bool
- func (*InspectionTemplate_MetricGroups) ProtoMessage()
- func (m *InspectionTemplate_MetricGroups) Reset()
- func (m *InspectionTemplate_MetricGroups) String() string
- func (this *InspectionTemplate_MetricGroups) Validate() error
- func (m *InspectionTemplate_MetricGroups) XXX_DiscardUnknown()
- func (m *InspectionTemplate_MetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTemplate_MetricGroups) XXX_Merge(src proto.Message)
- func (m *InspectionTemplate_MetricGroups) XXX_Size() int
- func (m *InspectionTemplate_MetricGroups) XXX_Unmarshal(b []byte) error
- type InspectionTemplate_SummaryTemplates
- func (*InspectionTemplate_SummaryTemplates) Descriptor() ([]byte, []int)
- func (m *InspectionTemplate_SummaryTemplates) GetMetricGroups() []*InspectionTemplate_SummaryTemplates_MetricGroups
- func (m *InspectionTemplate_SummaryTemplates) GetMetrics() []*InspectionTemplate_SummaryTemplates_Metrics
- func (*InspectionTemplate_SummaryTemplates) ProtoMessage()
- func (m *InspectionTemplate_SummaryTemplates) Reset()
- func (m *InspectionTemplate_SummaryTemplates) String() string
- func (this *InspectionTemplate_SummaryTemplates) Validate() error
- func (m *InspectionTemplate_SummaryTemplates) XXX_DiscardUnknown()
- func (m *InspectionTemplate_SummaryTemplates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTemplate_SummaryTemplates) XXX_Merge(src proto.Message)
- func (m *InspectionTemplate_SummaryTemplates) XXX_Size() int
- func (m *InspectionTemplate_SummaryTemplates) XXX_Unmarshal(b []byte) error
- type InspectionTemplate_SummaryTemplates_MetricGroups
- func (*InspectionTemplate_SummaryTemplates_MetricGroups) Descriptor() ([]byte, []int)
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetCategory() string
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetDisplayType() string
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetHeight() int32
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetId() string
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetIndex() int32
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetName() string
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetTransposed() bool
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetWidth() int32
- func (*InspectionTemplate_SummaryTemplates_MetricGroups) ProtoMessage()
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) Reset()
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) String() string
- func (this *InspectionTemplate_SummaryTemplates_MetricGroups) Validate() error
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_DiscardUnknown()
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Merge(src proto.Message)
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Size() int
- func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Unmarshal(b []byte) error
- type InspectionTemplate_SummaryTemplates_Metrics
- func (*InspectionTemplate_SummaryTemplates_Metrics) Descriptor() ([]byte, []int)
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaId() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaName() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetDisplayType() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetHeight() int32
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetId() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetIndex() int32
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetMetricGroupId() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetName() string
- func (m *InspectionTemplate_SummaryTemplates_Metrics) GetWidth() int32
- func (*InspectionTemplate_SummaryTemplates_Metrics) ProtoMessage()
- func (m *InspectionTemplate_SummaryTemplates_Metrics) Reset()
- func (m *InspectionTemplate_SummaryTemplates_Metrics) String() string
- func (this *InspectionTemplate_SummaryTemplates_Metrics) Validate() error
- func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_DiscardUnknown()
- func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Merge(src proto.Message)
- func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Size() int
- func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Unmarshal(b []byte) error
- type InspectionUserOrUserGroup
- func (*InspectionUserOrUserGroup) Descriptor() ([]byte, []int)
- func (m *InspectionUserOrUserGroup) GetInstanceId() string
- func (m *InspectionUserOrUserGroup) GetName() string
- func (*InspectionUserOrUserGroup) ProtoMessage()
- func (m *InspectionUserOrUserGroup) Reset()
- func (m *InspectionUserOrUserGroup) String() string
- func (this *InspectionUserOrUserGroup) Validate() error
- func (m *InspectionUserOrUserGroup) XXX_DiscardUnknown()
- func (m *InspectionUserOrUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionUserOrUserGroup) XXX_Merge(src proto.Message)
- func (m *InspectionUserOrUserGroup) XXX_Size() int
- func (m *InspectionUserOrUserGroup) XXX_Unmarshal(b []byte) error
- type InspectionVal
- func (*InspectionVal) Descriptor() ([]byte, []int)
- func (m *InspectionVal) GetConditions() []*InspectionCondition
- func (m *InspectionVal) GetId() string
- func (m *InspectionVal) GetMemo() string
- func (m *InspectionVal) GetName() string
- func (m *InspectionVal) GetType() string
- func (m *InspectionVal) GetUnit() string
- func (m *InspectionVal) GetWeight() int32
- func (*InspectionVal) ProtoMessage()
- func (m *InspectionVal) Reset()
- func (m *InspectionVal) String() string
- func (this *InspectionVal) Validate() error
- func (m *InspectionVal) XXX_DiscardUnknown()
- func (m *InspectionVal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectionVal) XXX_Merge(src proto.Message)
- func (m *InspectionVal) XXX_Size() int
- func (m *InspectionVal) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InspectionArg ¶
type InspectionArg struct { // //脚本入参key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"` // //别名 Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias" form:"alias"` // //参数的来源 //attr_id: CMDB模型的属性 //custom: 自定义 // Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source" form:"source"` // //输入框类型 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" form:"type"` // //是否必填 Require bool `protobuf:"varint,5,opt,name=require,proto3" json:"require" form:"require"` // //默认值 Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default" form:"default"` // //辅助说明 Memo string `protobuf:"bytes,7,opt,name=memo,proto3" json:"memo" form:"memo"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
采集脚本的参数
func (*InspectionArg) Descriptor ¶
func (*InspectionArg) Descriptor() ([]byte, []int)
func (*InspectionArg) GetAlias ¶
func (m *InspectionArg) GetAlias() string
func (*InspectionArg) GetDefault ¶
func (m *InspectionArg) GetDefault() string
func (*InspectionArg) GetKey ¶
func (m *InspectionArg) GetKey() string
func (*InspectionArg) GetMemo ¶
func (m *InspectionArg) GetMemo() string
func (*InspectionArg) GetRequire ¶
func (m *InspectionArg) GetRequire() bool
func (*InspectionArg) GetSource ¶
func (m *InspectionArg) GetSource() string
func (*InspectionArg) GetType ¶
func (m *InspectionArg) GetType() string
func (*InspectionArg) ProtoMessage ¶
func (*InspectionArg) ProtoMessage()
func (*InspectionArg) Reset ¶
func (m *InspectionArg) Reset()
func (*InspectionArg) String ¶
func (m *InspectionArg) String() string
func (*InspectionArg) Validate ¶
func (this *InspectionArg) Validate() error
func (*InspectionArg) XXX_DiscardUnknown ¶
func (m *InspectionArg) XXX_DiscardUnknown()
func (*InspectionArg) XXX_Marshal ¶
func (m *InspectionArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionArg) XXX_Merge ¶
func (m *InspectionArg) XXX_Merge(src proto.Message)
func (*InspectionArg) XXX_Size ¶
func (m *InspectionArg) XXX_Size() int
func (*InspectionArg) XXX_Unmarshal ¶
func (m *InspectionArg) XXX_Unmarshal(b []byte) error
type InspectionCollector ¶
type InspectionCollector 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"` // //脚本内容 Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content" form:"content"` // //脚本类型 Script string `protobuf:"bytes,4,opt,name=script,proto3" json:"script" form:"script"` // //脚本入参 Args []*InspectionArg `protobuf:"bytes,5,rep,name=args,proto3" json:"args" form:"args"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
采集脚本
func (*InspectionCollector) Descriptor ¶
func (*InspectionCollector) Descriptor() ([]byte, []int)
func (*InspectionCollector) GetArgs ¶
func (m *InspectionCollector) GetArgs() []*InspectionArg
func (*InspectionCollector) GetContent ¶
func (m *InspectionCollector) GetContent() string
func (*InspectionCollector) GetId ¶
func (m *InspectionCollector) GetId() string
func (*InspectionCollector) GetName ¶
func (m *InspectionCollector) GetName() string
func (*InspectionCollector) GetScript ¶
func (m *InspectionCollector) GetScript() string
func (*InspectionCollector) ProtoMessage ¶
func (*InspectionCollector) ProtoMessage()
func (*InspectionCollector) Reset ¶
func (m *InspectionCollector) Reset()
func (*InspectionCollector) String ¶
func (m *InspectionCollector) String() string
func (*InspectionCollector) Validate ¶
func (this *InspectionCollector) Validate() error
func (*InspectionCollector) XXX_DiscardUnknown ¶
func (m *InspectionCollector) XXX_DiscardUnknown()
func (*InspectionCollector) XXX_Marshal ¶
func (m *InspectionCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionCollector) XXX_Merge ¶
func (m *InspectionCollector) XXX_Merge(src proto.Message)
func (*InspectionCollector) XXX_Size ¶
func (m *InspectionCollector) XXX_Size() int
func (*InspectionCollector) XXX_Unmarshal ¶
func (m *InspectionCollector) XXX_Unmarshal(b []byte) error
type InspectionCondition ¶
type InspectionCondition struct { // //比较器的类型 ComparatorType string `protobuf:"bytes,1,opt,name=comparatorType,proto3" json:"comparatorType" form:"comparatorType"` // //告警等级。0、5、10 分别对应 notice、warning、emergency 三个等级 Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level" form:"level"` // //一个 level 内最大值。仅当 type == int 时有效 MaxValue float32 `protobuf:"fixed32,3,opt,name=maxValue,proto3" json:"maxValue" form:"maxValue"` // //一个 level 内最小值。仅当 type == int 时有效 MinValue float32 `protobuf:"fixed32,4,opt,name=minValue,proto3" json:"minValue" form:"minValue"` // //阈值。仅当 type == string 时有效 Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
阈值判定条件
func (*InspectionCondition) Descriptor ¶
func (*InspectionCondition) Descriptor() ([]byte, []int)
func (*InspectionCondition) GetComparatorType ¶
func (m *InspectionCondition) GetComparatorType() string
func (*InspectionCondition) GetLevel ¶
func (m *InspectionCondition) GetLevel() int32
func (*InspectionCondition) GetMaxValue ¶
func (m *InspectionCondition) GetMaxValue() float32
func (*InspectionCondition) GetMinValue ¶
func (m *InspectionCondition) GetMinValue() float32
func (*InspectionCondition) GetValue ¶
func (m *InspectionCondition) GetValue() string
func (*InspectionCondition) ProtoMessage ¶
func (*InspectionCondition) ProtoMessage()
func (*InspectionCondition) Reset ¶
func (m *InspectionCondition) Reset()
func (*InspectionCondition) String ¶
func (m *InspectionCondition) String() string
func (*InspectionCondition) Validate ¶
func (this *InspectionCondition) Validate() error
func (*InspectionCondition) XXX_DiscardUnknown ¶
func (m *InspectionCondition) XXX_DiscardUnknown()
func (*InspectionCondition) XXX_Marshal ¶
func (m *InspectionCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionCondition) XXX_Merge ¶
func (m *InspectionCondition) XXX_Merge(src proto.Message)
func (*InspectionCondition) XXX_Size ¶
func (m *InspectionCondition) XXX_Size() int
func (*InspectionCondition) XXX_Unmarshal ¶
func (m *InspectionCondition) XXX_Unmarshal(b []byte) error
type InspectionDim ¶
type InspectionDim 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 (*InspectionDim) Descriptor ¶
func (*InspectionDim) Descriptor() ([]byte, []int)
func (*InspectionDim) GetId ¶
func (m *InspectionDim) GetId() string
func (*InspectionDim) GetName ¶
func (m *InspectionDim) GetName() string
func (*InspectionDim) ProtoMessage ¶
func (*InspectionDim) ProtoMessage()
func (*InspectionDim) Reset ¶
func (m *InspectionDim) Reset()
func (*InspectionDim) String ¶
func (m *InspectionDim) String() string
func (*InspectionDim) Validate ¶
func (this *InspectionDim) Validate() error
func (*InspectionDim) XXX_DiscardUnknown ¶
func (m *InspectionDim) XXX_DiscardUnknown()
func (*InspectionDim) XXX_Marshal ¶
func (m *InspectionDim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionDim) XXX_Merge ¶
func (m *InspectionDim) XXX_Merge(src proto.Message)
func (*InspectionDim) XXX_Size ¶
func (m *InspectionDim) XXX_Size() int
func (*InspectionDim) XXX_Unmarshal ¶
func (m *InspectionDim) XXX_Unmarshal(b []byte) error
type InspectionHistory ¶
type InspectionHistory struct { // //巡检作业Id JobId string `protobuf:"bytes,1,opt,name=jobId,proto3" json:"jobId" form:"jobId"` // //巡检任务Id TaskId string `protobuf:"bytes,2,opt,name=taskId,proto3" json:"taskId" form:"taskId"` // //巡检任务名 TaskName string `protobuf:"bytes,3,opt,name=taskName,proto3" json:"taskName" form:"taskName"` // //开始时间(unix时间戳) StartTime int32 `protobuf:"varint,4,opt,name=startTime,proto3" json:"startTime" form:"startTime"` // //结束时间(unix时间戳) EndTime int32 `protobuf:"varint,5,opt,name=endTime,proto3" json:"endTime" form:"endTime"` // //耗时(秒) UsedTime int32 `protobuf:"varint,6,opt,name=usedTime,proto3" json:"usedTime" form:"usedTime"` // //状态 Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status" form:"status"` // //成功率(精确到小数点后2位) PassingRate float32 `protobuf:"fixed32,8,opt,name=passingRate,proto3" json:"passingRate" form:"passingRate"` // //分数(精确到小数点后2位) Score float32 `protobuf:"fixed32,9,opt,name=score,proto3" json:"score" form:"score"` // //巡检对象列表 Targets []*InspectionTarget `protobuf:"bytes,10,rep,name=targets,proto3" json:"targets" form:"targets"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
巡检历史
func (*InspectionHistory) Descriptor ¶
func (*InspectionHistory) Descriptor() ([]byte, []int)
func (*InspectionHistory) GetEndTime ¶
func (m *InspectionHistory) GetEndTime() int32
func (*InspectionHistory) GetJobId ¶
func (m *InspectionHistory) GetJobId() string
func (*InspectionHistory) GetPassingRate ¶
func (m *InspectionHistory) GetPassingRate() float32
func (*InspectionHistory) GetScore ¶
func (m *InspectionHistory) GetScore() float32
func (*InspectionHistory) GetStartTime ¶
func (m *InspectionHistory) GetStartTime() int32
func (*InspectionHistory) GetStatus ¶
func (m *InspectionHistory) GetStatus() string
func (*InspectionHistory) GetTargets ¶
func (m *InspectionHistory) GetTargets() []*InspectionTarget
func (*InspectionHistory) GetTaskId ¶
func (m *InspectionHistory) GetTaskId() string
func (*InspectionHistory) GetTaskName ¶
func (m *InspectionHistory) GetTaskName() string
func (*InspectionHistory) GetUsedTime ¶
func (m *InspectionHistory) GetUsedTime() int32
func (*InspectionHistory) ProtoMessage ¶
func (*InspectionHistory) ProtoMessage()
func (*InspectionHistory) Reset ¶
func (m *InspectionHistory) Reset()
func (*InspectionHistory) String ¶
func (m *InspectionHistory) String() string
func (*InspectionHistory) Validate ¶
func (this *InspectionHistory) Validate() error
func (*InspectionHistory) XXX_DiscardUnknown ¶
func (m *InspectionHistory) XXX_DiscardUnknown()
func (*InspectionHistory) XXX_Marshal ¶
func (m *InspectionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionHistory) XXX_Merge ¶
func (m *InspectionHistory) XXX_Merge(src proto.Message)
func (*InspectionHistory) XXX_Size ¶
func (m *InspectionHistory) XXX_Size() int
func (*InspectionHistory) XXX_Unmarshal ¶
func (m *InspectionHistory) XXX_Unmarshal(b []byte) error
type InspectionHost ¶
type InspectionHost struct { // //实例ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //hostname Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname" form:"hostname"` // //ip Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip" form:"ip"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
巡检对象关联的主机
func (*InspectionHost) Descriptor ¶
func (*InspectionHost) Descriptor() ([]byte, []int)
func (*InspectionHost) GetHostname ¶
func (m *InspectionHost) GetHostname() string
func (*InspectionHost) GetInstanceId ¶
func (m *InspectionHost) GetInstanceId() string
func (*InspectionHost) GetIp ¶
func (m *InspectionHost) GetIp() string
func (*InspectionHost) ProtoMessage ¶
func (*InspectionHost) ProtoMessage()
func (*InspectionHost) Reset ¶
func (m *InspectionHost) Reset()
func (*InspectionHost) String ¶
func (m *InspectionHost) String() string
func (*InspectionHost) Validate ¶
func (this *InspectionHost) Validate() error
func (*InspectionHost) XXX_DiscardUnknown ¶
func (m *InspectionHost) XXX_DiscardUnknown()
func (*InspectionHost) XXX_Marshal ¶
func (m *InspectionHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionHost) XXX_Merge ¶
func (m *InspectionHost) XXX_Merge(src proto.Message)
func (*InspectionHost) XXX_Size ¶
func (m *InspectionHost) XXX_Size() int
func (*InspectionHost) XXX_Unmarshal ¶
func (m *InspectionHost) XXX_Unmarshal(b []byte) error
type InspectionInfo ¶
type InspectionInfo 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"` // //备注 Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo" form:"memo"` // //套件索引 Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index" form:"index"` // //CMDB模型ID ObjectId string `protobuf:"bytes,5,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //CMDB模型名称 ObjectName string `protobuf:"bytes,6,opt,name=objectName,proto3" json:"objectName" form:"objectName"` // //唯一键列表(CMDB模型的属性) Keys []string `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys" form:"keys"` // //CMDB模型与主机的关系ID RelationIdWithHost string `protobuf:"bytes,8,opt,name=relationIdWithHost,proto3" json:"relationIdWithHost" form:"relationIdWithHost"` // //对端主机Id(不一定是Host) CounterSideId string `protobuf:"bytes,9,opt,name=counterSideId,proto3" json:"counterSideId" form:"counterSideId"` // //套件的状态 //ok: 正常 //object_deleted: CMDB模型被删除 //keys_deleted: 唯一键被删除 //keys_not_unique: 唯一键不唯一 //object_relation_not_ok: CMDB模型与主机的关系ID不符合要求 // Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status" form:"status"` // //执行巡检的方式 //agent: 通过agent执行 // Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method" form:"method"` // //创建时间 Ctime string `protobuf:"bytes,12,opt,name=ctime,proto3" json:"ctime" form:"ctime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
套件信息
func (*InspectionInfo) Descriptor ¶
func (*InspectionInfo) Descriptor() ([]byte, []int)
func (*InspectionInfo) GetCounterSideId ¶
func (m *InspectionInfo) GetCounterSideId() string
func (*InspectionInfo) GetCtime ¶
func (m *InspectionInfo) GetCtime() string
func (*InspectionInfo) GetId ¶
func (m *InspectionInfo) GetId() string
func (*InspectionInfo) GetIndex ¶
func (m *InspectionInfo) GetIndex() int32
func (*InspectionInfo) GetKeys ¶
func (m *InspectionInfo) GetKeys() []string
func (*InspectionInfo) GetMemo ¶
func (m *InspectionInfo) GetMemo() string
func (*InspectionInfo) GetMethod ¶
func (m *InspectionInfo) GetMethod() string
func (*InspectionInfo) GetName ¶
func (m *InspectionInfo) GetName() string
func (*InspectionInfo) GetObjectId ¶
func (m *InspectionInfo) GetObjectId() string
func (*InspectionInfo) GetObjectName ¶
func (m *InspectionInfo) GetObjectName() string
func (*InspectionInfo) GetRelationIdWithHost ¶
func (m *InspectionInfo) GetRelationIdWithHost() string
func (*InspectionInfo) GetStatus ¶
func (m *InspectionInfo) GetStatus() string
func (*InspectionInfo) ProtoMessage ¶
func (*InspectionInfo) ProtoMessage()
func (*InspectionInfo) Reset ¶
func (m *InspectionInfo) Reset()
func (*InspectionInfo) String ¶
func (m *InspectionInfo) String() string
func (*InspectionInfo) Validate ¶
func (this *InspectionInfo) Validate() error
func (*InspectionInfo) XXX_DiscardUnknown ¶
func (m *InspectionInfo) XXX_DiscardUnknown()
func (*InspectionInfo) XXX_Marshal ¶
func (m *InspectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionInfo) XXX_Merge ¶
func (m *InspectionInfo) XXX_Merge(src proto.Message)
func (*InspectionInfo) XXX_Size ¶
func (m *InspectionInfo) XXX_Size() int
func (*InspectionInfo) XXX_Unmarshal ¶
func (m *InspectionInfo) XXX_Unmarshal(b []byte) error
type InspectionMetricGroup ¶
type InspectionMetricGroup 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"` // //两级分类,用.分割,(如:主机状态.基本配置 ) Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category" form:"category"` // //指标组维度信息 Dims []*InspectionDim `protobuf:"bytes,4,rep,name=dims,proto3" json:"dims" form:"dims"` // //指标组指标信息 Vals []*InspectionVal `protobuf:"bytes,5,rep,name=vals,proto3" json:"vals" form:"vals"` // //指标组说明 Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo" form:"memo"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
指标组
func (*InspectionMetricGroup) Descriptor ¶
func (*InspectionMetricGroup) Descriptor() ([]byte, []int)
func (*InspectionMetricGroup) GetCategory ¶
func (m *InspectionMetricGroup) GetCategory() string
func (*InspectionMetricGroup) GetDims ¶
func (m *InspectionMetricGroup) GetDims() []*InspectionDim
func (*InspectionMetricGroup) GetId ¶
func (m *InspectionMetricGroup) GetId() string
func (*InspectionMetricGroup) GetMemo ¶
func (m *InspectionMetricGroup) GetMemo() string
func (*InspectionMetricGroup) GetName ¶
func (m *InspectionMetricGroup) GetName() string
func (*InspectionMetricGroup) GetVals ¶
func (m *InspectionMetricGroup) GetVals() []*InspectionVal
func (*InspectionMetricGroup) ProtoMessage ¶
func (*InspectionMetricGroup) ProtoMessage()
func (*InspectionMetricGroup) Reset ¶
func (m *InspectionMetricGroup) Reset()
func (*InspectionMetricGroup) String ¶
func (m *InspectionMetricGroup) String() string
func (*InspectionMetricGroup) Validate ¶
func (this *InspectionMetricGroup) Validate() error
func (*InspectionMetricGroup) XXX_DiscardUnknown ¶
func (m *InspectionMetricGroup) XXX_DiscardUnknown()
func (*InspectionMetricGroup) XXX_Marshal ¶
func (m *InspectionMetricGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionMetricGroup) XXX_Merge ¶
func (m *InspectionMetricGroup) XXX_Merge(src proto.Message)
func (*InspectionMetricGroup) XXX_Size ¶
func (m *InspectionMetricGroup) XXX_Size() int
func (*InspectionMetricGroup) XXX_Unmarshal ¶
func (m *InspectionMetricGroup) XXX_Unmarshal(b []byte) error
type InspectionTarget ¶
type InspectionTarget struct { // //巡检对象实例ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //由唯一键的值拼接得到的实例名 //如: sid(pid xxx) // Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //唯一键的值 Keys []*InspectionTarget_Keys `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys" form:"keys"` // //评分(精确到小数点后2位) Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score" form:"score"` // //unexecuted:脚本未执行; failed:返回码大于0; normal:返回码等于0,没有异常指标; abnormal:返回码等于0,有异常指标 Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status" form:"status"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
巡检对象
func (*InspectionTarget) Descriptor ¶
func (*InspectionTarget) Descriptor() ([]byte, []int)
func (*InspectionTarget) GetInstanceId ¶
func (m *InspectionTarget) GetInstanceId() string
func (*InspectionTarget) GetKeys ¶
func (m *InspectionTarget) GetKeys() []*InspectionTarget_Keys
func (*InspectionTarget) GetName ¶
func (m *InspectionTarget) GetName() string
func (*InspectionTarget) GetScore ¶
func (m *InspectionTarget) GetScore() float32
func (*InspectionTarget) GetStatus ¶
func (m *InspectionTarget) GetStatus() string
func (*InspectionTarget) ProtoMessage ¶
func (*InspectionTarget) ProtoMessage()
func (*InspectionTarget) Reset ¶
func (m *InspectionTarget) Reset()
func (*InspectionTarget) String ¶
func (m *InspectionTarget) String() string
func (*InspectionTarget) Validate ¶
func (this *InspectionTarget) Validate() error
func (*InspectionTarget) XXX_DiscardUnknown ¶
func (m *InspectionTarget) XXX_DiscardUnknown()
func (*InspectionTarget) XXX_Marshal ¶
func (m *InspectionTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTarget) XXX_Merge ¶
func (m *InspectionTarget) XXX_Merge(src proto.Message)
func (*InspectionTarget) XXX_Size ¶
func (m *InspectionTarget) XXX_Size() int
func (*InspectionTarget) XXX_Unmarshal ¶
func (m *InspectionTarget) XXX_Unmarshal(b []byte) error
type InspectionTarget_Keys ¶
type InspectionTarget_Keys struct { // //唯一键的id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //唯一键的值 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` // //唯一键的名字 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTarget_Keys) Descriptor ¶
func (*InspectionTarget_Keys) Descriptor() ([]byte, []int)
func (*InspectionTarget_Keys) GetId ¶
func (m *InspectionTarget_Keys) GetId() string
func (*InspectionTarget_Keys) GetName ¶
func (m *InspectionTarget_Keys) GetName() string
func (*InspectionTarget_Keys) GetValue ¶
func (m *InspectionTarget_Keys) GetValue() string
func (*InspectionTarget_Keys) ProtoMessage ¶
func (*InspectionTarget_Keys) ProtoMessage()
func (*InspectionTarget_Keys) Reset ¶
func (m *InspectionTarget_Keys) Reset()
func (*InspectionTarget_Keys) String ¶
func (m *InspectionTarget_Keys) String() string
func (*InspectionTarget_Keys) Validate ¶
func (this *InspectionTarget_Keys) Validate() error
func (*InspectionTarget_Keys) XXX_DiscardUnknown ¶
func (m *InspectionTarget_Keys) XXX_DiscardUnknown()
func (*InspectionTarget_Keys) XXX_Marshal ¶
func (m *InspectionTarget_Keys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTarget_Keys) XXX_Merge ¶
func (m *InspectionTarget_Keys) XXX_Merge(src proto.Message)
func (*InspectionTarget_Keys) XXX_Size ¶
func (m *InspectionTarget_Keys) XXX_Size() int
func (*InspectionTarget_Keys) XXX_Unmarshal ¶
func (m *InspectionTarget_Keys) XXX_Unmarshal(b []byte) error
type InspectionTask ¶
type InspectionTask struct { // //巡检任务Id InspectionTaskId string `protobuf:"bytes,1,opt,name=inspectionTaskId,proto3" json:"inspectionTaskId" form:"inspectionTaskId"` // //巡检任务名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //是否全部通知 IsAllNotify bool `protobuf:"varint,3,opt,name=isAllNotify,proto3" json:"isAllNotify" form:"isAllNotify"` // //邮件通知限制 NotifyPassComparator string `protobuf:"bytes,4,opt,name=notifyPassComparator,proto3" json:"notifyPassComparator" form:"notifyPassComparator"` // //邮件通知评分限制 NotifyScore float32 `protobuf:"fixed32,5,opt,name=notifyScore,proto3" json:"notifyScore" form:"notifyScore"` // //采集时需要的参数 Args []*InspectionTask_Args `protobuf:"bytes,6,rep,name=args,proto3" json:"args" form:"args"` // //通知的用户 NotifyUser *InspectionUserOrUserGroup `protobuf:"bytes,7,opt,name=notifyUser,proto3" json:"notifyUser" form:"notifyUser"` // //通知的用户组 NotifyUserGroup *InspectionUserOrUserGroup `protobuf:"bytes,8,opt,name=notifyUserGroup,proto3" json:"notifyUserGroup" form:"notifyUserGroup"` // //巡检策略(once单次,crontab周期) TaskType string `protobuf:"bytes,9,opt,name=taskType,proto3" json:"taskType" form:"taskType"` // //执行目标(指定实例,指定查询策略) PerformanceTargets string `protobuf:"bytes,10,opt,name=performanceTargets,proto3" json:"performanceTargets" form:"performanceTargets"` // //仅当执行目标为指定查询策略时该参数有效 QueryStrategyId string `protobuf:"bytes,11,opt,name=queryStrategyId,proto3" json:"queryStrategyId" form:"queryStrategyId"` // //任务调度时间 TaskScheduler string `protobuf:"bytes,12,opt,name=taskScheduler,proto3" json:"taskScheduler" form:"taskScheduler"` // //仅当执行目标为指定实例时该参数有效 Targets []*InspectionTask_Targets `protobuf:"bytes,13,rep,name=targets,proto3" json:"targets" form:"targets"` // //备注 Memo string `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo" form:"memo"` // //报告模板ID TemplateId string `protobuf:"bytes,15,opt,name=templateId,proto3" json:"templateId" form:"templateId"` // //报告模板名 TemplateName string `protobuf:"bytes,16,opt,name=templateName,proto3" json:"templateName" form:"templateName"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
巡检任务
func (*InspectionTask) Descriptor ¶
func (*InspectionTask) Descriptor() ([]byte, []int)
func (*InspectionTask) GetArgs ¶
func (m *InspectionTask) GetArgs() []*InspectionTask_Args
func (*InspectionTask) GetInspectionTaskId ¶
func (m *InspectionTask) GetInspectionTaskId() string
func (*InspectionTask) GetIsAllNotify ¶
func (m *InspectionTask) GetIsAllNotify() bool
func (*InspectionTask) GetMemo ¶
func (m *InspectionTask) GetMemo() string
func (*InspectionTask) GetName ¶
func (m *InspectionTask) GetName() string
func (*InspectionTask) GetNotifyPassComparator ¶
func (m *InspectionTask) GetNotifyPassComparator() string
func (*InspectionTask) GetNotifyScore ¶
func (m *InspectionTask) GetNotifyScore() float32
func (*InspectionTask) GetNotifyUser ¶
func (m *InspectionTask) GetNotifyUser() *InspectionUserOrUserGroup
func (*InspectionTask) GetNotifyUserGroup ¶
func (m *InspectionTask) GetNotifyUserGroup() *InspectionUserOrUserGroup
func (*InspectionTask) GetPerformanceTargets ¶
func (m *InspectionTask) GetPerformanceTargets() string
func (*InspectionTask) GetQueryStrategyId ¶
func (m *InspectionTask) GetQueryStrategyId() string
func (*InspectionTask) GetTargets ¶
func (m *InspectionTask) GetTargets() []*InspectionTask_Targets
func (*InspectionTask) GetTaskScheduler ¶
func (m *InspectionTask) GetTaskScheduler() string
func (*InspectionTask) GetTaskType ¶
func (m *InspectionTask) GetTaskType() string
func (*InspectionTask) GetTemplateId ¶
func (m *InspectionTask) GetTemplateId() string
func (*InspectionTask) GetTemplateName ¶
func (m *InspectionTask) GetTemplateName() string
func (*InspectionTask) ProtoMessage ¶
func (*InspectionTask) ProtoMessage()
func (*InspectionTask) Reset ¶
func (m *InspectionTask) Reset()
func (*InspectionTask) String ¶
func (m *InspectionTask) String() string
func (*InspectionTask) Validate ¶
func (this *InspectionTask) Validate() error
func (*InspectionTask) XXX_DiscardUnknown ¶
func (m *InspectionTask) XXX_DiscardUnknown()
func (*InspectionTask) XXX_Marshal ¶
func (m *InspectionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTask) XXX_Merge ¶
func (m *InspectionTask) XXX_Merge(src proto.Message)
func (*InspectionTask) XXX_Size ¶
func (m *InspectionTask) XXX_Size() int
func (*InspectionTask) XXX_Unmarshal ¶
func (m *InspectionTask) XXX_Unmarshal(b []byte) error
type InspectionTask_Args ¶
type InspectionTask_Args struct { // //参数ID Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"` // //参数的值 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` // //参数的来源 //attr_id: CMDB模型的属性 //custom: 自定义 // Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source" form:"source"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTask_Args) Descriptor ¶
func (*InspectionTask_Args) Descriptor() ([]byte, []int)
func (*InspectionTask_Args) GetKey ¶
func (m *InspectionTask_Args) GetKey() string
func (*InspectionTask_Args) GetSource ¶
func (m *InspectionTask_Args) GetSource() string
func (*InspectionTask_Args) GetValue ¶
func (m *InspectionTask_Args) GetValue() string
func (*InspectionTask_Args) ProtoMessage ¶
func (*InspectionTask_Args) ProtoMessage()
func (*InspectionTask_Args) Reset ¶
func (m *InspectionTask_Args) Reset()
func (*InspectionTask_Args) String ¶
func (m *InspectionTask_Args) String() string
func (*InspectionTask_Args) Validate ¶
func (this *InspectionTask_Args) Validate() error
func (*InspectionTask_Args) XXX_DiscardUnknown ¶
func (m *InspectionTask_Args) XXX_DiscardUnknown()
func (*InspectionTask_Args) XXX_Marshal ¶
func (m *InspectionTask_Args) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTask_Args) XXX_Merge ¶
func (m *InspectionTask_Args) XXX_Merge(src proto.Message)
func (*InspectionTask_Args) XXX_Size ¶
func (m *InspectionTask_Args) XXX_Size() int
func (*InspectionTask_Args) XXX_Unmarshal ¶
func (m *InspectionTask_Args) XXX_Unmarshal(b []byte) error
type InspectionTask_Targets ¶
type InspectionTask_Targets struct { // //巡检对象实例ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTask_Targets) Descriptor ¶
func (*InspectionTask_Targets) Descriptor() ([]byte, []int)
func (*InspectionTask_Targets) GetInstanceId ¶
func (m *InspectionTask_Targets) GetInstanceId() string
func (*InspectionTask_Targets) ProtoMessage ¶
func (*InspectionTask_Targets) ProtoMessage()
func (*InspectionTask_Targets) Reset ¶
func (m *InspectionTask_Targets) Reset()
func (*InspectionTask_Targets) String ¶
func (m *InspectionTask_Targets) String() string
func (*InspectionTask_Targets) Validate ¶
func (this *InspectionTask_Targets) Validate() error
func (*InspectionTask_Targets) XXX_DiscardUnknown ¶
func (m *InspectionTask_Targets) XXX_DiscardUnknown()
func (*InspectionTask_Targets) XXX_Marshal ¶
func (m *InspectionTask_Targets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTask_Targets) XXX_Merge ¶
func (m *InspectionTask_Targets) XXX_Merge(src proto.Message)
func (*InspectionTask_Targets) XXX_Size ¶
func (m *InspectionTask_Targets) XXX_Size() int
func (*InspectionTask_Targets) XXX_Unmarshal ¶
func (m *InspectionTask_Targets) XXX_Unmarshal(b []byte) error
type InspectionTemplate ¶
type InspectionTemplate struct { // //套件ID PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //报告模板ID Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id" form:"id"` // //报告模板名 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //备注 Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"` // //报告总览模板 SummaryTemplates *InspectionTemplate_SummaryTemplates `protobuf:"bytes,5,opt,name=summaryTemplates,proto3" json:"summaryTemplates" form:"summaryTemplates"` // //报告详情模板 MetricGroups []*InspectionTemplate_MetricGroups `protobuf:"bytes,6,rep,name=metricGroups,proto3" json:"metricGroups" form:"metricGroups"` // //创建者 Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间 Ctime string `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime" form:"ctime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
报告模板
func (*InspectionTemplate) Descriptor ¶
func (*InspectionTemplate) Descriptor() ([]byte, []int)
func (*InspectionTemplate) GetCreator ¶
func (m *InspectionTemplate) GetCreator() string
func (*InspectionTemplate) GetCtime ¶
func (m *InspectionTemplate) GetCtime() string
func (*InspectionTemplate) GetId ¶
func (m *InspectionTemplate) GetId() string
func (*InspectionTemplate) GetMemo ¶
func (m *InspectionTemplate) GetMemo() string
func (*InspectionTemplate) GetMetricGroups ¶
func (m *InspectionTemplate) GetMetricGroups() []*InspectionTemplate_MetricGroups
func (*InspectionTemplate) GetName ¶
func (m *InspectionTemplate) GetName() string
func (*InspectionTemplate) GetPluginId ¶
func (m *InspectionTemplate) GetPluginId() string
func (*InspectionTemplate) GetSummaryTemplates ¶
func (m *InspectionTemplate) GetSummaryTemplates() *InspectionTemplate_SummaryTemplates
func (*InspectionTemplate) ProtoMessage ¶
func (*InspectionTemplate) ProtoMessage()
func (*InspectionTemplate) Reset ¶
func (m *InspectionTemplate) Reset()
func (*InspectionTemplate) String ¶
func (m *InspectionTemplate) String() string
func (*InspectionTemplate) Validate ¶
func (this *InspectionTemplate) Validate() error
func (*InspectionTemplate) XXX_DiscardUnknown ¶
func (m *InspectionTemplate) XXX_DiscardUnknown()
func (*InspectionTemplate) XXX_Marshal ¶
func (m *InspectionTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTemplate) XXX_Merge ¶
func (m *InspectionTemplate) XXX_Merge(src proto.Message)
func (*InspectionTemplate) XXX_Size ¶
func (m *InspectionTemplate) XXX_Size() int
func (*InspectionTemplate) XXX_Unmarshal ¶
func (m *InspectionTemplate) XXX_Unmarshal(b []byte) error
type InspectionTemplate_MetricGroups ¶
type InspectionTemplate_MetricGroups struct { // //排序 Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index" form:"index"` // //图表类型(LineChart 折线图/BarChart 柱状图/Form 表格) DisplayType string `protobuf:"bytes,2,opt,name=displayType,proto3" json:"displayType" form:"displayType"` // //是否转换行列(仅当图表类型为表格时有效) Transposed bool `protobuf:"varint,3,opt,name=transposed,proto3" json:"transposed" form:"transposed"` // //折线图横坐标ID(仅当图表类型为折线图时有效) AbscissaId string `protobuf:"bytes,4,opt,name=abscissaId,proto3" json:"abscissaId" form:"abscissaId"` // //折线图横坐标名(仅当图表类型为折线图时有效) AbscissaName string `protobuf:"bytes,5,opt,name=abscissaName,proto3" json:"abscissaName" form:"abscissaName"` // //指标组id Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id" form:"id"` // //指标组名 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name" form:"name"` // //两级分类,用.分割,(如:主机状态.基本配置 ) Category string `protobuf:"bytes,8,opt,name=category,proto3" json:"category" form:"category"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTemplate_MetricGroups) Descriptor ¶
func (*InspectionTemplate_MetricGroups) Descriptor() ([]byte, []int)
func (*InspectionTemplate_MetricGroups) GetAbscissaId ¶
func (m *InspectionTemplate_MetricGroups) GetAbscissaId() string
func (*InspectionTemplate_MetricGroups) GetAbscissaName ¶
func (m *InspectionTemplate_MetricGroups) GetAbscissaName() string
func (*InspectionTemplate_MetricGroups) GetCategory ¶
func (m *InspectionTemplate_MetricGroups) GetCategory() string
func (*InspectionTemplate_MetricGroups) GetDisplayType ¶
func (m *InspectionTemplate_MetricGroups) GetDisplayType() string
func (*InspectionTemplate_MetricGroups) GetId ¶
func (m *InspectionTemplate_MetricGroups) GetId() string
func (*InspectionTemplate_MetricGroups) GetIndex ¶
func (m *InspectionTemplate_MetricGroups) GetIndex() int32
func (*InspectionTemplate_MetricGroups) GetName ¶
func (m *InspectionTemplate_MetricGroups) GetName() string
func (*InspectionTemplate_MetricGroups) GetTransposed ¶
func (m *InspectionTemplate_MetricGroups) GetTransposed() bool
func (*InspectionTemplate_MetricGroups) ProtoMessage ¶
func (*InspectionTemplate_MetricGroups) ProtoMessage()
func (*InspectionTemplate_MetricGroups) Reset ¶
func (m *InspectionTemplate_MetricGroups) Reset()
func (*InspectionTemplate_MetricGroups) String ¶
func (m *InspectionTemplate_MetricGroups) String() string
func (*InspectionTemplate_MetricGroups) Validate ¶
func (this *InspectionTemplate_MetricGroups) Validate() error
func (*InspectionTemplate_MetricGroups) XXX_DiscardUnknown ¶
func (m *InspectionTemplate_MetricGroups) XXX_DiscardUnknown()
func (*InspectionTemplate_MetricGroups) XXX_Marshal ¶
func (m *InspectionTemplate_MetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTemplate_MetricGroups) XXX_Merge ¶
func (m *InspectionTemplate_MetricGroups) XXX_Merge(src proto.Message)
func (*InspectionTemplate_MetricGroups) XXX_Size ¶
func (m *InspectionTemplate_MetricGroups) XXX_Size() int
func (*InspectionTemplate_MetricGroups) XXX_Unmarshal ¶
func (m *InspectionTemplate_MetricGroups) XXX_Unmarshal(b []byte) error
type InspectionTemplate_SummaryTemplates ¶
type InspectionTemplate_SummaryTemplates struct { // //如何展示指标组 MetricGroups []*InspectionTemplate_SummaryTemplates_MetricGroups `protobuf:"bytes,1,rep,name=metricGroups,proto3" json:"metricGroups" form:"metricGroups"` // //如何展示指标 Metrics []*InspectionTemplate_SummaryTemplates_Metrics `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics" form:"metrics"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTemplate_SummaryTemplates) Descriptor ¶
func (*InspectionTemplate_SummaryTemplates) Descriptor() ([]byte, []int)
func (*InspectionTemplate_SummaryTemplates) GetMetricGroups ¶
func (m *InspectionTemplate_SummaryTemplates) GetMetricGroups() []*InspectionTemplate_SummaryTemplates_MetricGroups
func (*InspectionTemplate_SummaryTemplates) GetMetrics ¶
func (m *InspectionTemplate_SummaryTemplates) GetMetrics() []*InspectionTemplate_SummaryTemplates_Metrics
func (*InspectionTemplate_SummaryTemplates) ProtoMessage ¶
func (*InspectionTemplate_SummaryTemplates) ProtoMessage()
func (*InspectionTemplate_SummaryTemplates) Reset ¶
func (m *InspectionTemplate_SummaryTemplates) Reset()
func (*InspectionTemplate_SummaryTemplates) String ¶
func (m *InspectionTemplate_SummaryTemplates) String() string
func (*InspectionTemplate_SummaryTemplates) Validate ¶
func (this *InspectionTemplate_SummaryTemplates) Validate() error
func (*InspectionTemplate_SummaryTemplates) XXX_DiscardUnknown ¶
func (m *InspectionTemplate_SummaryTemplates) XXX_DiscardUnknown()
func (*InspectionTemplate_SummaryTemplates) XXX_Marshal ¶
func (m *InspectionTemplate_SummaryTemplates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTemplate_SummaryTemplates) XXX_Merge ¶
func (m *InspectionTemplate_SummaryTemplates) XXX_Merge(src proto.Message)
func (*InspectionTemplate_SummaryTemplates) XXX_Size ¶
func (m *InspectionTemplate_SummaryTemplates) XXX_Size() int
func (*InspectionTemplate_SummaryTemplates) XXX_Unmarshal ¶
func (m *InspectionTemplate_SummaryTemplates) XXX_Unmarshal(b []byte) error
type InspectionTemplate_SummaryTemplates_MetricGroups ¶
type InspectionTemplate_SummaryTemplates_MetricGroups struct { // //排序 Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index" form:"index"` // //高度 Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height" form:"height"` // //宽度 Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width" form:"width"` // //图表类型(Form 表格) DisplayType string `protobuf:"bytes,4,opt,name=displayType,proto3" json:"displayType" form:"displayType"` // //是否转换行列(仅当图表类型为表格时有效) Transposed bool `protobuf:"varint,5,opt,name=transposed,proto3" json:"transposed" form:"transposed"` // //指标组id Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id" form:"id"` // //指标组名 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name" form:"name"` // //两级分类,用.分割,(如:主机状态.基本配置 ) Category string `protobuf:"bytes,8,opt,name=category,proto3" json:"category" form:"category"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTemplate_SummaryTemplates_MetricGroups) Descriptor ¶
func (*InspectionTemplate_SummaryTemplates_MetricGroups) Descriptor() ([]byte, []int)
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetCategory ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetCategory() string
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetDisplayType ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetDisplayType() string
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetHeight ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetHeight() int32
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetId ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetId() string
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetIndex ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetIndex() int32
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetName ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetName() string
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetTransposed ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetTransposed() bool
func (*InspectionTemplate_SummaryTemplates_MetricGroups) GetWidth ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) GetWidth() int32
func (*InspectionTemplate_SummaryTemplates_MetricGroups) ProtoMessage ¶
func (*InspectionTemplate_SummaryTemplates_MetricGroups) ProtoMessage()
func (*InspectionTemplate_SummaryTemplates_MetricGroups) Reset ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) Reset()
func (*InspectionTemplate_SummaryTemplates_MetricGroups) String ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) String() string
func (*InspectionTemplate_SummaryTemplates_MetricGroups) Validate ¶
func (this *InspectionTemplate_SummaryTemplates_MetricGroups) Validate() error
func (*InspectionTemplate_SummaryTemplates_MetricGroups) XXX_DiscardUnknown ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_DiscardUnknown()
func (*InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Marshal ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Merge ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Merge(src proto.Message)
func (*InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Size ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Size() int
func (*InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Unmarshal ¶
func (m *InspectionTemplate_SummaryTemplates_MetricGroups) XXX_Unmarshal(b []byte) error
type InspectionTemplate_SummaryTemplates_Metrics ¶
type InspectionTemplate_SummaryTemplates_Metrics struct { // //指标组Id MetricGroupId string `protobuf:"bytes,1,opt,name=metricGroupId,proto3" json:"metricGroupId" form:"metricGroupId"` // //排序 Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index" form:"index"` // //高度 Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height" form:"height"` // //宽度 Width int32 `protobuf:"varint,4,opt,name=width,proto3" json:"width" form:"width"` // //折线图横坐标ID(仅当图表类型为折线图时有效) AbscissaId string `protobuf:"bytes,5,opt,name=abscissaId,proto3" json:"abscissaId" form:"abscissaId"` // //折线图横坐标名(仅当图表类型为折线图时有效) AbscissaName string `protobuf:"bytes,6,opt,name=abscissaName,proto3" json:"abscissaName" form:"abscissaName"` // //图表类型(BasicInfo 基本信息/LineChart 折线图/BarChart 柱状图/DoughnutChart 环形图/Card 卡片) DisplayType string `protobuf:"bytes,7,opt,name=displayType,proto3" json:"displayType" form:"displayType"` // //指标id Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id" form:"id"` // //指标名称 Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectionTemplate_SummaryTemplates_Metrics) Descriptor ¶
func (*InspectionTemplate_SummaryTemplates_Metrics) Descriptor() ([]byte, []int)
func (*InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaId ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaId() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaName ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetAbscissaName() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetDisplayType ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetDisplayType() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetHeight ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetHeight() int32
func (*InspectionTemplate_SummaryTemplates_Metrics) GetId ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetId() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetIndex ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetIndex() int32
func (*InspectionTemplate_SummaryTemplates_Metrics) GetMetricGroupId ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetMetricGroupId() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetName ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetName() string
func (*InspectionTemplate_SummaryTemplates_Metrics) GetWidth ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) GetWidth() int32
func (*InspectionTemplate_SummaryTemplates_Metrics) ProtoMessage ¶
func (*InspectionTemplate_SummaryTemplates_Metrics) ProtoMessage()
func (*InspectionTemplate_SummaryTemplates_Metrics) Reset ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) Reset()
func (*InspectionTemplate_SummaryTemplates_Metrics) String ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) String() string
func (*InspectionTemplate_SummaryTemplates_Metrics) Validate ¶
func (this *InspectionTemplate_SummaryTemplates_Metrics) Validate() error
func (*InspectionTemplate_SummaryTemplates_Metrics) XXX_DiscardUnknown ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_DiscardUnknown()
func (*InspectionTemplate_SummaryTemplates_Metrics) XXX_Marshal ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionTemplate_SummaryTemplates_Metrics) XXX_Merge ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Merge(src proto.Message)
func (*InspectionTemplate_SummaryTemplates_Metrics) XXX_Size ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Size() int
func (*InspectionTemplate_SummaryTemplates_Metrics) XXX_Unmarshal ¶
func (m *InspectionTemplate_SummaryTemplates_Metrics) XXX_Unmarshal(b []byte) error
type InspectionUserOrUserGroup ¶
type InspectionUserOrUserGroup struct { // //用户名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //用户实例id InstanceId string `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
用户或用户组的信息
func (*InspectionUserOrUserGroup) Descriptor ¶
func (*InspectionUserOrUserGroup) Descriptor() ([]byte, []int)
func (*InspectionUserOrUserGroup) GetInstanceId ¶
func (m *InspectionUserOrUserGroup) GetInstanceId() string
func (*InspectionUserOrUserGroup) GetName ¶
func (m *InspectionUserOrUserGroup) GetName() string
func (*InspectionUserOrUserGroup) ProtoMessage ¶
func (*InspectionUserOrUserGroup) ProtoMessage()
func (*InspectionUserOrUserGroup) Reset ¶
func (m *InspectionUserOrUserGroup) Reset()
func (*InspectionUserOrUserGroup) String ¶
func (m *InspectionUserOrUserGroup) String() string
func (*InspectionUserOrUserGroup) Validate ¶
func (this *InspectionUserOrUserGroup) Validate() error
func (*InspectionUserOrUserGroup) XXX_DiscardUnknown ¶
func (m *InspectionUserOrUserGroup) XXX_DiscardUnknown()
func (*InspectionUserOrUserGroup) XXX_Marshal ¶
func (m *InspectionUserOrUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionUserOrUserGroup) XXX_Merge ¶
func (m *InspectionUserOrUserGroup) XXX_Merge(src proto.Message)
func (*InspectionUserOrUserGroup) XXX_Size ¶
func (m *InspectionUserOrUserGroup) XXX_Size() int
func (*InspectionUserOrUserGroup) XXX_Unmarshal ¶
func (m *InspectionUserOrUserGroup) XXX_Unmarshal(b []byte) error
type InspectionVal ¶
type InspectionVal 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"` // //备注 Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo" form:"memo"` // //指标类型 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" form:"type"` // //指标单位 Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit" form:"unit"` // //指标权重 Weight int32 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight" form:"weight"` // //阈值判定条件 Conditions []*InspectionCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions" form:"conditions"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
指标信息
func (*InspectionVal) Descriptor ¶
func (*InspectionVal) Descriptor() ([]byte, []int)
func (*InspectionVal) GetConditions ¶
func (m *InspectionVal) GetConditions() []*InspectionCondition
func (*InspectionVal) GetId ¶
func (m *InspectionVal) GetId() string
func (*InspectionVal) GetMemo ¶
func (m *InspectionVal) GetMemo() string
func (*InspectionVal) GetName ¶
func (m *InspectionVal) GetName() string
func (*InspectionVal) GetType ¶
func (m *InspectionVal) GetType() string
func (*InspectionVal) GetUnit ¶
func (m *InspectionVal) GetUnit() string
func (*InspectionVal) GetWeight ¶
func (m *InspectionVal) GetWeight() int32
func (*InspectionVal) ProtoMessage ¶
func (*InspectionVal) ProtoMessage()
func (*InspectionVal) Reset ¶
func (m *InspectionVal) Reset()
func (*InspectionVal) String ¶
func (m *InspectionVal) String() string
func (*InspectionVal) Validate ¶
func (this *InspectionVal) Validate() error
func (*InspectionVal) XXX_DiscardUnknown ¶
func (m *InspectionVal) XXX_DiscardUnknown()
func (*InspectionVal) XXX_Marshal ¶
func (m *InspectionVal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectionVal) XXX_Merge ¶
func (m *InspectionVal) XXX_Merge(src proto.Message)
func (*InspectionVal) XXX_Size ¶
func (m *InspectionVal) XXX_Size() int
func (*InspectionVal) XXX_Unmarshal ¶
func (m *InspectionVal) XXX_Unmarshal(b []byte) error
Source Files
¶
- arg.pb.go
- arg.validator.pb.go
- collector.pb.go
- collector.validator.pb.go
- condition.pb.go
- condition.validator.pb.go
- dim.pb.go
- dim.validator.pb.go
- history.pb.go
- history.validator.pb.go
- host.pb.go
- host.validator.pb.go
- info.pb.go
- info.validator.pb.go
- metric_group.pb.go
- metric_group.validator.pb.go
- target.pb.go
- target.validator.pb.go
- task.pb.go
- task.validator.pb.go
- template.pb.go
- template.validator.pb.go
- user_or_user_group.pb.go
- user_or_user_group.validator.pb.go
- val.pb.go
- val.validator.pb.go
Click to show internal directories.
Click to hide internal directories.