Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type EasyCommandCallbackRequest
- func (*EasyCommandCallbackRequest) Descriptor() ([]byte, []int)
- func (m *EasyCommandCallbackRequest) GetEndTime() string
- func (m *EasyCommandCallbackRequest) GetInspectionTaskId() string
- func (m *EasyCommandCallbackRequest) GetJobId() string
- func (m *EasyCommandCallbackRequest) GetPluginId() string
- func (m *EasyCommandCallbackRequest) GetStartTime() string
- func (m *EasyCommandCallbackRequest) GetStatus() string
- func (m *EasyCommandCallbackRequest) GetTargetsLog() []*easy_command.TargetLog
- func (m *EasyCommandCallbackRequest) GetTaskId() string
- func (m *EasyCommandCallbackRequest) GetUpdateTime() string
- func (m *EasyCommandCallbackRequest) GetUsedTime() int32
- func (*EasyCommandCallbackRequest) ProtoMessage()
- func (m *EasyCommandCallbackRequest) Reset()
- func (m *EasyCommandCallbackRequest) String() string
- func (this *EasyCommandCallbackRequest) Validate() error
- func (m *EasyCommandCallbackRequest) XXX_DiscardUnknown()
- func (m *EasyCommandCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EasyCommandCallbackRequest) XXX_Merge(src proto.Message)
- func (m *EasyCommandCallbackRequest) XXX_Size() int
- func (m *EasyCommandCallbackRequest) XXX_Unmarshal(b []byte) error
- type EasyCommandCallbackResponseWrapper
- func (*EasyCommandCallbackResponseWrapper) Descriptor() ([]byte, []int)
- func (m *EasyCommandCallbackResponseWrapper) GetCode() int32
- func (m *EasyCommandCallbackResponseWrapper) GetCodeExplain() string
- func (m *EasyCommandCallbackResponseWrapper) GetData() *types.Empty
- func (m *EasyCommandCallbackResponseWrapper) GetError() string
- func (*EasyCommandCallbackResponseWrapper) ProtoMessage()
- func (m *EasyCommandCallbackResponseWrapper) Reset()
- func (m *EasyCommandCallbackResponseWrapper) String() string
- func (this *EasyCommandCallbackResponseWrapper) Validate() error
- func (m *EasyCommandCallbackResponseWrapper) XXX_DiscardUnknown()
- func (m *EasyCommandCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EasyCommandCallbackResponseWrapper) XXX_Merge(src proto.Message)
- func (m *EasyCommandCallbackResponseWrapper) XXX_Size() int
- func (m *EasyCommandCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
- type ExportHistoryRequest
- func (*ExportHistoryRequest) Descriptor() ([]byte, []int)
- func (m *ExportHistoryRequest) GetJobId() string
- func (m *ExportHistoryRequest) GetPluginId() string
- func (*ExportHistoryRequest) ProtoMessage()
- func (m *ExportHistoryRequest) Reset()
- func (m *ExportHistoryRequest) String() string
- func (this *ExportHistoryRequest) Validate() error
- func (m *ExportHistoryRequest) XXX_DiscardUnknown()
- func (m *ExportHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportHistoryRequest) XXX_Merge(src proto.Message)
- func (m *ExportHistoryRequest) XXX_Size() int
- func (m *ExportHistoryRequest) XXX_Unmarshal(b []byte) error
- type GetHistoryRequest
- func (*GetHistoryRequest) Descriptor() ([]byte, []int)
- func (m *GetHistoryRequest) GetJobId() string
- func (m *GetHistoryRequest) GetPluginId() string
- func (*GetHistoryRequest) ProtoMessage()
- func (m *GetHistoryRequest) Reset()
- func (m *GetHistoryRequest) String() string
- func (this *GetHistoryRequest) Validate() error
- func (m *GetHistoryRequest) XXX_DiscardUnknown()
- func (m *GetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHistoryRequest) XXX_Merge(src proto.Message)
- func (m *GetHistoryRequest) XXX_Size() int
- func (m *GetHistoryRequest) XXX_Unmarshal(b []byte) error
- type GetHistoryResponseWrapper
- func (*GetHistoryResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetHistoryResponseWrapper) GetCode() int32
- func (m *GetHistoryResponseWrapper) GetCodeExplain() string
- func (m *GetHistoryResponseWrapper) GetData() *inspection.InspectionHistory
- func (m *GetHistoryResponseWrapper) GetError() string
- func (*GetHistoryResponseWrapper) ProtoMessage()
- func (m *GetHistoryResponseWrapper) Reset()
- func (m *GetHistoryResponseWrapper) String() string
- func (this *GetHistoryResponseWrapper) Validate() error
- func (m *GetHistoryResponseWrapper) XXX_DiscardUnknown()
- func (m *GetHistoryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHistoryResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetHistoryResponseWrapper) XXX_Size() int
- func (m *GetHistoryResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetSourceDataRequest
- func (*GetSourceDataRequest) Descriptor() ([]byte, []int)
- func (m *GetSourceDataRequest) GetCategory() string
- func (m *GetSourceDataRequest) GetId() string
- func (m *GetSourceDataRequest) GetInstanceId() string
- func (m *GetSourceDataRequest) GetJobId() string
- func (m *GetSourceDataRequest) GetList() []*GetSourceDataRequest_List
- func (m *GetSourceDataRequest) GetName() string
- func (m *GetSourceDataRequest) GetPluginId() string
- func (*GetSourceDataRequest) ProtoMessage()
- func (m *GetSourceDataRequest) Reset()
- func (m *GetSourceDataRequest) String() string
- func (this *GetSourceDataRequest) Validate() error
- func (m *GetSourceDataRequest) XXX_DiscardUnknown()
- func (m *GetSourceDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSourceDataRequest) XXX_Merge(src proto.Message)
- func (m *GetSourceDataRequest) XXX_Size() int
- func (m *GetSourceDataRequest) XXX_Unmarshal(b []byte) error
- type GetSourceDataRequest_List
- func (*GetSourceDataRequest_List) Descriptor() ([]byte, []int)
- func (m *GetSourceDataRequest_List) GetDimList() []*GetSourceDataRequest_List_DimList
- func (m *GetSourceDataRequest_List) GetValList() []*GetSourceDataRequest_List_ValList
- func (*GetSourceDataRequest_List) ProtoMessage()
- func (m *GetSourceDataRequest_List) Reset()
- func (m *GetSourceDataRequest_List) String() string
- func (this *GetSourceDataRequest_List) Validate() error
- func (m *GetSourceDataRequest_List) XXX_DiscardUnknown()
- func (m *GetSourceDataRequest_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSourceDataRequest_List) XXX_Merge(src proto.Message)
- func (m *GetSourceDataRequest_List) XXX_Size() int
- func (m *GetSourceDataRequest_List) XXX_Unmarshal(b []byte) error
- type GetSourceDataRequest_List_DimList
- func (*GetSourceDataRequest_List_DimList) Descriptor() ([]byte, []int)
- func (m *GetSourceDataRequest_List_DimList) GetId() string
- func (m *GetSourceDataRequest_List_DimList) GetName() string
- func (m *GetSourceDataRequest_List_DimList) GetValue() string
- func (*GetSourceDataRequest_List_DimList) ProtoMessage()
- func (m *GetSourceDataRequest_List_DimList) Reset()
- func (m *GetSourceDataRequest_List_DimList) String() string
- func (this *GetSourceDataRequest_List_DimList) Validate() error
- func (m *GetSourceDataRequest_List_DimList) XXX_DiscardUnknown()
- func (m *GetSourceDataRequest_List_DimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSourceDataRequest_List_DimList) XXX_Merge(src proto.Message)
- func (m *GetSourceDataRequest_List_DimList) XXX_Size() int
- func (m *GetSourceDataRequest_List_DimList) XXX_Unmarshal(b []byte) error
- type GetSourceDataRequest_List_ValList
- func (*GetSourceDataRequest_List_ValList) Descriptor() ([]byte, []int)
- func (m *GetSourceDataRequest_List_ValList) GetId() string
- func (m *GetSourceDataRequest_List_ValList) GetName() string
- func (m *GetSourceDataRequest_List_ValList) GetType() string
- func (m *GetSourceDataRequest_List_ValList) GetUnit() string
- func (m *GetSourceDataRequest_List_ValList) GetValue() string
- func (*GetSourceDataRequest_List_ValList) ProtoMessage()
- func (m *GetSourceDataRequest_List_ValList) Reset()
- func (m *GetSourceDataRequest_List_ValList) String() string
- func (this *GetSourceDataRequest_List_ValList) Validate() error
- func (m *GetSourceDataRequest_List_ValList) XXX_DiscardUnknown()
- func (m *GetSourceDataRequest_List_ValList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSourceDataRequest_List_ValList) XXX_Merge(src proto.Message)
- func (m *GetSourceDataRequest_List_ValList) XXX_Size() int
- func (m *GetSourceDataRequest_List_ValList) XXX_Unmarshal(b []byte) error
- type GetSourceDataResponseWrapper
- func (*GetSourceDataResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetSourceDataResponseWrapper) GetCode() int32
- func (m *GetSourceDataResponseWrapper) GetCodeExplain() string
- func (m *GetSourceDataResponseWrapper) GetData() *inspection.InspectionHistory
- func (m *GetSourceDataResponseWrapper) GetError() string
- func (*GetSourceDataResponseWrapper) ProtoMessage()
- func (m *GetSourceDataResponseWrapper) Reset()
- func (m *GetSourceDataResponseWrapper) String() string
- func (this *GetSourceDataResponseWrapper) Validate() error
- func (m *GetSourceDataResponseWrapper) XXX_DiscardUnknown()
- func (m *GetSourceDataResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSourceDataResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetSourceDataResponseWrapper) XXX_Size() int
- func (m *GetSourceDataResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetStatisticsRequest
- func (*GetStatisticsRequest) Descriptor() ([]byte, []int)
- func (m *GetStatisticsRequest) GetJobId() string
- func (m *GetStatisticsRequest) GetPluginId() string
- func (*GetStatisticsRequest) ProtoMessage()
- func (m *GetStatisticsRequest) Reset()
- func (m *GetStatisticsRequest) String() string
- func (this *GetStatisticsRequest) Validate() error
- func (m *GetStatisticsRequest) XXX_DiscardUnknown()
- func (m *GetStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatisticsRequest) XXX_Merge(src proto.Message)
- func (m *GetStatisticsRequest) XXX_Size() int
- func (m *GetStatisticsRequest) XXX_Unmarshal(b []byte) error
- type GetStatisticsResponse
- func (*GetStatisticsResponse) Descriptor() ([]byte, []int)
- func (m *GetStatisticsResponse) GetEmergencyNum() int32
- func (m *GetStatisticsResponse) GetHost() *inspection.InspectionHost
- func (m *GetStatisticsResponse) GetInstanceId() string
- func (m *GetStatisticsResponse) GetLog() string
- func (m *GetStatisticsResponse) GetNoticeNum() int32
- func (m *GetStatisticsResponse) GetPassedNum() int32
- func (m *GetStatisticsResponse) GetScore() float32
- func (m *GetStatisticsResponse) GetStatus() string
- func (m *GetStatisticsResponse) GetTotalNum() int32
- func (m *GetStatisticsResponse) GetWarningNum() int32
- func (*GetStatisticsResponse) ProtoMessage()
- func (m *GetStatisticsResponse) Reset()
- func (m *GetStatisticsResponse) String() string
- func (this *GetStatisticsResponse) Validate() error
- func (m *GetStatisticsResponse) XXX_DiscardUnknown()
- func (m *GetStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatisticsResponse) XXX_Merge(src proto.Message)
- func (m *GetStatisticsResponse) XXX_Size() int
- func (m *GetStatisticsResponse) XXX_Unmarshal(b []byte) error
- type GetStatisticsResponseWrapper
- func (*GetStatisticsResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetStatisticsResponseWrapper) GetCode() int32
- func (m *GetStatisticsResponseWrapper) GetCodeExplain() string
- func (m *GetStatisticsResponseWrapper) GetData() *GetStatisticsResponse
- func (m *GetStatisticsResponseWrapper) GetError() string
- func (*GetStatisticsResponseWrapper) ProtoMessage()
- func (m *GetStatisticsResponseWrapper) Reset()
- func (m *GetStatisticsResponseWrapper) String() string
- func (this *GetStatisticsResponseWrapper) Validate() error
- func (m *GetStatisticsResponseWrapper) XXX_DiscardUnknown()
- func (m *GetStatisticsResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatisticsResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetStatisticsResponseWrapper) XXX_Size() int
- func (m *GetStatisticsResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsRequest
- func (*ListAbnormalMetricsRequest) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsRequest) GetInstanceId() string
- func (m *ListAbnormalMetricsRequest) GetJobId() string
- func (m *ListAbnormalMetricsRequest) GetPluginId() string
- func (*ListAbnormalMetricsRequest) ProtoMessage()
- func (m *ListAbnormalMetricsRequest) Reset()
- func (m *ListAbnormalMetricsRequest) String() string
- func (this *ListAbnormalMetricsRequest) Validate() error
- func (m *ListAbnormalMetricsRequest) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsRequest) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsRequest) XXX_Size() int
- func (m *ListAbnormalMetricsRequest) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsResponse
- func (*ListAbnormalMetricsResponse) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsResponse) GetList() []*ListAbnormalMetricsResponse_List
- func (m *ListAbnormalMetricsResponse) GetPage() int32
- func (m *ListAbnormalMetricsResponse) GetPageSize() int32
- func (m *ListAbnormalMetricsResponse) GetTotal() int32
- func (*ListAbnormalMetricsResponse) ProtoMessage()
- func (m *ListAbnormalMetricsResponse) Reset()
- func (m *ListAbnormalMetricsResponse) String() string
- func (this *ListAbnormalMetricsResponse) Validate() error
- func (m *ListAbnormalMetricsResponse) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsResponse) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsResponse) XXX_Size() int
- func (m *ListAbnormalMetricsResponse) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsResponseWrapper
- func (*ListAbnormalMetricsResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsResponseWrapper) GetCode() int32
- func (m *ListAbnormalMetricsResponseWrapper) GetCodeExplain() string
- func (m *ListAbnormalMetricsResponseWrapper) GetData() *ListAbnormalMetricsResponse
- func (m *ListAbnormalMetricsResponseWrapper) GetError() string
- func (*ListAbnormalMetricsResponseWrapper) ProtoMessage()
- func (m *ListAbnormalMetricsResponseWrapper) Reset()
- func (m *ListAbnormalMetricsResponseWrapper) String() string
- func (this *ListAbnormalMetricsResponseWrapper) Validate() error
- func (m *ListAbnormalMetricsResponseWrapper) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsResponseWrapper) XXX_Size() int
- func (m *ListAbnormalMetricsResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsResponse_List
- func (*ListAbnormalMetricsResponse_List) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsResponse_List) GetAbnormalMetricGroups() *ListAbnormalMetricsResponse_List_AbnormalMetricGroups
- func (m *ListAbnormalMetricsResponse_List) GetLog() string
- func (m *ListAbnormalMetricsResponse_List) GetTargetId() string
- func (*ListAbnormalMetricsResponse_List) ProtoMessage()
- func (m *ListAbnormalMetricsResponse_List) Reset()
- func (m *ListAbnormalMetricsResponse_List) String() string
- func (this *ListAbnormalMetricsResponse_List) Validate() error
- func (m *ListAbnormalMetricsResponse_List) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsResponse_List) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsResponse_List) XXX_Size() int
- func (m *ListAbnormalMetricsResponse_List) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsResponse_List_AbnormalMetricGroups
- func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetAbnormalMetrics() *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetDims() []*inspection.InspectionDim
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupId() string
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupName() string
- func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) ProtoMessage()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Reset()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) String() string
- func (this *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Validate() error
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Size() int
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Unmarshal(b []byte) error
- type ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics
- func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Descriptor() ([]byte, []int)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricId() string
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricName() string
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetDims() []string
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetLevel() string
- func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) ProtoMessage()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Reset()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) String() string
- func (this *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Validate() error
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_DiscardUnknown()
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Merge(src proto.Message)
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Size() int
- func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Unmarshal(b []byte) error
- type ListHistoryRequest
- func (*ListHistoryRequest) Descriptor() ([]byte, []int)
- func (m *ListHistoryRequest) GetPage() int32
- func (m *ListHistoryRequest) GetPageSize() int32
- func (m *ListHistoryRequest) GetPassRateFrom() float32
- func (m *ListHistoryRequest) GetPassRateTo() float32
- func (m *ListHistoryRequest) GetPluginId() string
- func (m *ListHistoryRequest) GetScoreFrom() float32
- func (m *ListHistoryRequest) GetScoreTo() float32
- func (m *ListHistoryRequest) GetStartTimeFrom() int32
- func (m *ListHistoryRequest) GetStartTimeTo() int32
- func (m *ListHistoryRequest) GetTargetEq() string
- func (m *ListHistoryRequest) GetTargetLike() string
- func (m *ListHistoryRequest) GetTargetNeq() string
- func (m *ListHistoryRequest) GetTargetNlike() string
- func (m *ListHistoryRequest) GetTaskNameEq() string
- func (m *ListHistoryRequest) GetTaskNameLike() string
- func (m *ListHistoryRequest) GetTaskNameNeq() string
- func (m *ListHistoryRequest) GetTaskNameNlike() string
- func (m *ListHistoryRequest) GetUsedTimeFrom() int32
- func (m *ListHistoryRequest) GetUsedTimeTo() int32
- func (*ListHistoryRequest) ProtoMessage()
- func (m *ListHistoryRequest) Reset()
- func (m *ListHistoryRequest) String() string
- func (this *ListHistoryRequest) Validate() error
- func (m *ListHistoryRequest) XXX_DiscardUnknown()
- func (m *ListHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListHistoryRequest) XXX_Merge(src proto.Message)
- func (m *ListHistoryRequest) XXX_Size() int
- func (m *ListHistoryRequest) XXX_Unmarshal(b []byte) error
- type ListHistoryResponse
- func (*ListHistoryResponse) Descriptor() ([]byte, []int)
- func (m *ListHistoryResponse) GetList() []*inspection.InspectionHistory
- func (m *ListHistoryResponse) GetPage() int32
- func (m *ListHistoryResponse) GetPageSize() int32
- func (m *ListHistoryResponse) GetTotal() int32
- func (*ListHistoryResponse) ProtoMessage()
- func (m *ListHistoryResponse) Reset()
- func (m *ListHistoryResponse) String() string
- func (this *ListHistoryResponse) Validate() error
- func (m *ListHistoryResponse) XXX_DiscardUnknown()
- func (m *ListHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListHistoryResponse) XXX_Merge(src proto.Message)
- func (m *ListHistoryResponse) XXX_Size() int
- func (m *ListHistoryResponse) XXX_Unmarshal(b []byte) error
- type ListHistoryResponseWrapper
- func (*ListHistoryResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListHistoryResponseWrapper) GetCode() int32
- func (m *ListHistoryResponseWrapper) GetCodeExplain() string
- func (m *ListHistoryResponseWrapper) GetData() *ListHistoryResponse
- func (m *ListHistoryResponseWrapper) GetError() string
- func (*ListHistoryResponseWrapper) ProtoMessage()
- func (m *ListHistoryResponseWrapper) Reset()
- func (m *ListHistoryResponseWrapper) String() string
- func (this *ListHistoryResponseWrapper) Validate() error
- func (m *ListHistoryResponseWrapper) XXX_DiscardUnknown()
- func (m *ListHistoryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListHistoryResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListHistoryResponseWrapper) XXX_Size() int
- func (m *ListHistoryResponseWrapper) XXX_Unmarshal(b []byte) error
- type SchedulerCallbackRequest
- func (*SchedulerCallbackRequest) Descriptor() ([]byte, []int)
- func (m *SchedulerCallbackRequest) GetInspectionTaskId() string
- func (m *SchedulerCallbackRequest) GetPluginId() string
- func (*SchedulerCallbackRequest) ProtoMessage()
- func (m *SchedulerCallbackRequest) Reset()
- func (m *SchedulerCallbackRequest) String() string
- func (this *SchedulerCallbackRequest) Validate() error
- func (m *SchedulerCallbackRequest) XXX_DiscardUnknown()
- func (m *SchedulerCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchedulerCallbackRequest) XXX_Merge(src proto.Message)
- func (m *SchedulerCallbackRequest) XXX_Size() int
- func (m *SchedulerCallbackRequest) XXX_Unmarshal(b []byte) error
- type SchedulerCallbackResponse
- func (*SchedulerCallbackResponse) Descriptor() ([]byte, []int)
- func (m *SchedulerCallbackResponse) GetTaskId() string
- func (*SchedulerCallbackResponse) ProtoMessage()
- func (m *SchedulerCallbackResponse) Reset()
- func (m *SchedulerCallbackResponse) String() string
- func (this *SchedulerCallbackResponse) Validate() error
- func (m *SchedulerCallbackResponse) XXX_DiscardUnknown()
- func (m *SchedulerCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchedulerCallbackResponse) XXX_Merge(src proto.Message)
- func (m *SchedulerCallbackResponse) XXX_Size() int
- func (m *SchedulerCallbackResponse) XXX_Unmarshal(b []byte) error
- type SchedulerCallbackResponseWrapper
- func (*SchedulerCallbackResponseWrapper) Descriptor() ([]byte, []int)
- func (m *SchedulerCallbackResponseWrapper) GetCode() int32
- func (m *SchedulerCallbackResponseWrapper) GetCodeExplain() string
- func (m *SchedulerCallbackResponseWrapper) GetData() *SchedulerCallbackResponse
- func (m *SchedulerCallbackResponseWrapper) GetError() string
- func (*SchedulerCallbackResponseWrapper) ProtoMessage()
- func (m *SchedulerCallbackResponseWrapper) Reset()
- func (m *SchedulerCallbackResponseWrapper) String() string
- func (this *SchedulerCallbackResponseWrapper) Validate() error
- func (m *SchedulerCallbackResponseWrapper) XXX_DiscardUnknown()
- func (m *SchedulerCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchedulerCallbackResponseWrapper) XXX_Merge(src proto.Message)
- func (m *SchedulerCallbackResponseWrapper) XXX_Size() int
- func (m *SchedulerCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { EasyCommandCallback(ctx context.Context, in *EasyCommandCallbackRequest) (*types.Empty, error) GetHistory(ctx context.Context, in *GetHistoryRequest) (*inspection.InspectionHistory, error) GetSourceData(ctx context.Context, in *GetSourceDataRequest) (*inspection.InspectionHistory, error) GetStatistics(ctx context.Context, in *GetStatisticsRequest) (*GetStatisticsResponse, error) ListHistory(ctx context.Context, in *ListHistoryRequest) (*ListHistoryResponse, error) ListAbnormalMetrics(ctx context.Context, in *ListAbnormalMetricsRequest) (*ListAbnormalMetricsResponse, error) SchedulerCallback(ctx context.Context, in *SchedulerCallbackRequest) (*SchedulerCallbackResponse, error) }
Client is the client API for history service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type EasyCommandCallbackRequest ¶
type EasyCommandCallbackRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检任务ID InspectionTaskId string `protobuf:"bytes,2,opt,name=inspectionTaskId,proto3" json:"inspectionTaskId" form:"inspectionTaskId"` // //巡检作业ID JobId string `protobuf:"bytes,3,opt,name=jobId,proto3" json:"jobId" form:"jobId"` // //任务ID TaskId string `protobuf:"bytes,4,opt,name=taskId,proto3" json:"taskId" form:"taskId"` // //任务执行状态 Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status" form:"status"` // //整个任务当前的用时,单位为秒 UsedTime int32 `protobuf:"varint,6,opt,name=usedTime,proto3" json:"usedTime" form:"usedTime"` // //任务开始时间 StartTime string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime" form:"startTime"` // //任务状态更新时间 UpdateTime string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"` // //任务结束时间 EndTime string `protobuf:"bytes,9,opt,name=endTime,proto3" json:"endTime" form:"endTime"` // //任务的各个目标机器的执行结果详情 TargetsLog []*easy_command.TargetLog `protobuf:"bytes,10,rep,name=targetsLog,proto3" json:"targetsLog" form:"targetsLog"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EasyCommandCallback请求
func (*EasyCommandCallbackRequest) Descriptor ¶
func (*EasyCommandCallbackRequest) Descriptor() ([]byte, []int)
func (*EasyCommandCallbackRequest) GetEndTime ¶
func (m *EasyCommandCallbackRequest) GetEndTime() string
func (*EasyCommandCallbackRequest) GetInspectionTaskId ¶
func (m *EasyCommandCallbackRequest) GetInspectionTaskId() string
func (*EasyCommandCallbackRequest) GetJobId ¶
func (m *EasyCommandCallbackRequest) GetJobId() string
func (*EasyCommandCallbackRequest) GetPluginId ¶
func (m *EasyCommandCallbackRequest) GetPluginId() string
func (*EasyCommandCallbackRequest) GetStartTime ¶
func (m *EasyCommandCallbackRequest) GetStartTime() string
func (*EasyCommandCallbackRequest) GetStatus ¶
func (m *EasyCommandCallbackRequest) GetStatus() string
func (*EasyCommandCallbackRequest) GetTargetsLog ¶
func (m *EasyCommandCallbackRequest) GetTargetsLog() []*easy_command.TargetLog
func (*EasyCommandCallbackRequest) GetTaskId ¶
func (m *EasyCommandCallbackRequest) GetTaskId() string
func (*EasyCommandCallbackRequest) GetUpdateTime ¶
func (m *EasyCommandCallbackRequest) GetUpdateTime() string
func (*EasyCommandCallbackRequest) GetUsedTime ¶
func (m *EasyCommandCallbackRequest) GetUsedTime() int32
func (*EasyCommandCallbackRequest) ProtoMessage ¶
func (*EasyCommandCallbackRequest) ProtoMessage()
func (*EasyCommandCallbackRequest) Reset ¶
func (m *EasyCommandCallbackRequest) Reset()
func (*EasyCommandCallbackRequest) String ¶
func (m *EasyCommandCallbackRequest) String() string
func (*EasyCommandCallbackRequest) Validate ¶
func (this *EasyCommandCallbackRequest) Validate() error
func (*EasyCommandCallbackRequest) XXX_DiscardUnknown ¶
func (m *EasyCommandCallbackRequest) XXX_DiscardUnknown()
func (*EasyCommandCallbackRequest) XXX_Marshal ¶
func (m *EasyCommandCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EasyCommandCallbackRequest) XXX_Merge ¶
func (m *EasyCommandCallbackRequest) XXX_Merge(src proto.Message)
func (*EasyCommandCallbackRequest) XXX_Size ¶
func (m *EasyCommandCallbackRequest) XXX_Size() int
func (*EasyCommandCallbackRequest) XXX_Unmarshal ¶
func (m *EasyCommandCallbackRequest) XXX_Unmarshal(b []byte) error
type EasyCommandCallbackResponseWrapper ¶
type EasyCommandCallbackResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EasyCommandCallbackApi返回
func (*EasyCommandCallbackResponseWrapper) Descriptor ¶
func (*EasyCommandCallbackResponseWrapper) Descriptor() ([]byte, []int)
func (*EasyCommandCallbackResponseWrapper) GetCode ¶
func (m *EasyCommandCallbackResponseWrapper) GetCode() int32
func (*EasyCommandCallbackResponseWrapper) GetCodeExplain ¶
func (m *EasyCommandCallbackResponseWrapper) GetCodeExplain() string
func (*EasyCommandCallbackResponseWrapper) GetData ¶
func (m *EasyCommandCallbackResponseWrapper) GetData() *types.Empty
func (*EasyCommandCallbackResponseWrapper) GetError ¶
func (m *EasyCommandCallbackResponseWrapper) GetError() string
func (*EasyCommandCallbackResponseWrapper) ProtoMessage ¶
func (*EasyCommandCallbackResponseWrapper) ProtoMessage()
func (*EasyCommandCallbackResponseWrapper) Reset ¶
func (m *EasyCommandCallbackResponseWrapper) Reset()
func (*EasyCommandCallbackResponseWrapper) String ¶
func (m *EasyCommandCallbackResponseWrapper) String() string
func (*EasyCommandCallbackResponseWrapper) Validate ¶
func (this *EasyCommandCallbackResponseWrapper) Validate() error
func (*EasyCommandCallbackResponseWrapper) XXX_DiscardUnknown ¶
func (m *EasyCommandCallbackResponseWrapper) XXX_DiscardUnknown()
func (*EasyCommandCallbackResponseWrapper) XXX_Marshal ¶
func (m *EasyCommandCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EasyCommandCallbackResponseWrapper) XXX_Merge ¶
func (m *EasyCommandCallbackResponseWrapper) XXX_Merge(src proto.Message)
func (*EasyCommandCallbackResponseWrapper) XXX_Size ¶
func (m *EasyCommandCallbackResponseWrapper) XXX_Size() int
func (*EasyCommandCallbackResponseWrapper) XXX_Unmarshal ¶
func (m *EasyCommandCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
type ExportHistoryRequest ¶
type ExportHistoryRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检作业Id JobId string `protobuf:"bytes,2,opt,name=jobId,proto3" json:"jobId" form:"jobId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ExportHistory请求
func (*ExportHistoryRequest) Descriptor ¶
func (*ExportHistoryRequest) Descriptor() ([]byte, []int)
func (*ExportHistoryRequest) GetJobId ¶
func (m *ExportHistoryRequest) GetJobId() string
func (*ExportHistoryRequest) GetPluginId ¶
func (m *ExportHistoryRequest) GetPluginId() string
func (*ExportHistoryRequest) ProtoMessage ¶
func (*ExportHistoryRequest) ProtoMessage()
func (*ExportHistoryRequest) Reset ¶
func (m *ExportHistoryRequest) Reset()
func (*ExportHistoryRequest) String ¶
func (m *ExportHistoryRequest) String() string
func (*ExportHistoryRequest) Validate ¶
func (this *ExportHistoryRequest) Validate() error
func (*ExportHistoryRequest) XXX_DiscardUnknown ¶
func (m *ExportHistoryRequest) XXX_DiscardUnknown()
func (*ExportHistoryRequest) XXX_Marshal ¶
func (m *ExportHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportHistoryRequest) XXX_Merge ¶
func (m *ExportHistoryRequest) XXX_Merge(src proto.Message)
func (*ExportHistoryRequest) XXX_Size ¶
func (m *ExportHistoryRequest) XXX_Size() int
func (*ExportHistoryRequest) XXX_Unmarshal ¶
func (m *ExportHistoryRequest) XXX_Unmarshal(b []byte) error
type GetHistoryRequest ¶
type GetHistoryRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检作业Id JobId string `protobuf:"bytes,2,opt,name=jobId,proto3" json:"jobId" form:"jobId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetHistory请求
func (*GetHistoryRequest) Descriptor ¶
func (*GetHistoryRequest) Descriptor() ([]byte, []int)
func (*GetHistoryRequest) GetJobId ¶
func (m *GetHistoryRequest) GetJobId() string
func (*GetHistoryRequest) GetPluginId ¶
func (m *GetHistoryRequest) GetPluginId() string
func (*GetHistoryRequest) ProtoMessage ¶
func (*GetHistoryRequest) ProtoMessage()
func (*GetHistoryRequest) Reset ¶
func (m *GetHistoryRequest) Reset()
func (*GetHistoryRequest) String ¶
func (m *GetHistoryRequest) String() string
func (*GetHistoryRequest) Validate ¶
func (this *GetHistoryRequest) Validate() error
func (*GetHistoryRequest) XXX_DiscardUnknown ¶
func (m *GetHistoryRequest) XXX_DiscardUnknown()
func (*GetHistoryRequest) XXX_Marshal ¶
func (m *GetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHistoryRequest) XXX_Merge ¶
func (m *GetHistoryRequest) XXX_Merge(src proto.Message)
func (*GetHistoryRequest) XXX_Size ¶
func (m *GetHistoryRequest) XXX_Size() int
func (*GetHistoryRequest) XXX_Unmarshal ¶
func (m *GetHistoryRequest) XXX_Unmarshal(b []byte) error
type GetHistoryResponseWrapper ¶
type GetHistoryResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *inspection.InspectionHistory `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetHistoryApi返回
func (*GetHistoryResponseWrapper) Descriptor ¶
func (*GetHistoryResponseWrapper) Descriptor() ([]byte, []int)
func (*GetHistoryResponseWrapper) GetCode ¶
func (m *GetHistoryResponseWrapper) GetCode() int32
func (*GetHistoryResponseWrapper) GetCodeExplain ¶
func (m *GetHistoryResponseWrapper) GetCodeExplain() string
func (*GetHistoryResponseWrapper) GetData ¶
func (m *GetHistoryResponseWrapper) GetData() *inspection.InspectionHistory
func (*GetHistoryResponseWrapper) GetError ¶
func (m *GetHistoryResponseWrapper) GetError() string
func (*GetHistoryResponseWrapper) ProtoMessage ¶
func (*GetHistoryResponseWrapper) ProtoMessage()
func (*GetHistoryResponseWrapper) Reset ¶
func (m *GetHistoryResponseWrapper) Reset()
func (*GetHistoryResponseWrapper) String ¶
func (m *GetHistoryResponseWrapper) String() string
func (*GetHistoryResponseWrapper) Validate ¶
func (this *GetHistoryResponseWrapper) Validate() error
func (*GetHistoryResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetHistoryResponseWrapper) XXX_DiscardUnknown()
func (*GetHistoryResponseWrapper) XXX_Marshal ¶
func (m *GetHistoryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHistoryResponseWrapper) XXX_Merge ¶
func (m *GetHistoryResponseWrapper) XXX_Merge(src proto.Message)
func (*GetHistoryResponseWrapper) XXX_Size ¶
func (m *GetHistoryResponseWrapper) XXX_Size() int
func (*GetHistoryResponseWrapper) XXX_Unmarshal ¶
func (m *GetHistoryResponseWrapper) XXX_Unmarshal(b []byte) error
type GetSourceDataRequest ¶
type GetSourceDataRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检作业Id JobId string `protobuf:"bytes,2,opt,name=jobId,proto3" json:"jobId" form:"jobId"` // //巡检对象实例ID InstanceId string `protobuf:"bytes,3,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //指标组的值的列表 List []*GetSourceDataRequest_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` // //指标组id Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id" form:"id"` // //指标组名 Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name" form:"name"` // //两级分类,用.分割,(如:主机状态.基本配置 ) Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category" form:"category"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetSourceData请求
func (*GetSourceDataRequest) Descriptor ¶
func (*GetSourceDataRequest) Descriptor() ([]byte, []int)
func (*GetSourceDataRequest) GetCategory ¶
func (m *GetSourceDataRequest) GetCategory() string
func (*GetSourceDataRequest) GetId ¶
func (m *GetSourceDataRequest) GetId() string
func (*GetSourceDataRequest) GetInstanceId ¶
func (m *GetSourceDataRequest) GetInstanceId() string
func (*GetSourceDataRequest) GetJobId ¶
func (m *GetSourceDataRequest) GetJobId() string
func (*GetSourceDataRequest) GetList ¶
func (m *GetSourceDataRequest) GetList() []*GetSourceDataRequest_List
func (*GetSourceDataRequest) GetName ¶
func (m *GetSourceDataRequest) GetName() string
func (*GetSourceDataRequest) GetPluginId ¶
func (m *GetSourceDataRequest) GetPluginId() string
func (*GetSourceDataRequest) ProtoMessage ¶
func (*GetSourceDataRequest) ProtoMessage()
func (*GetSourceDataRequest) Reset ¶
func (m *GetSourceDataRequest) Reset()
func (*GetSourceDataRequest) String ¶
func (m *GetSourceDataRequest) String() string
func (*GetSourceDataRequest) Validate ¶
func (this *GetSourceDataRequest) Validate() error
func (*GetSourceDataRequest) XXX_DiscardUnknown ¶
func (m *GetSourceDataRequest) XXX_DiscardUnknown()
func (*GetSourceDataRequest) XXX_Marshal ¶
func (m *GetSourceDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSourceDataRequest) XXX_Merge ¶
func (m *GetSourceDataRequest) XXX_Merge(src proto.Message)
func (*GetSourceDataRequest) XXX_Size ¶
func (m *GetSourceDataRequest) XXX_Size() int
func (*GetSourceDataRequest) XXX_Unmarshal ¶
func (m *GetSourceDataRequest) XXX_Unmarshal(b []byte) error
type GetSourceDataRequest_List ¶
type GetSourceDataRequest_List struct { // //一条数据的维度列表 DimList []*GetSourceDataRequest_List_DimList `protobuf:"bytes,1,rep,name=dimList,proto3" json:"dimList" form:"dimList"` // //一条数据的val列表 ValList []*GetSourceDataRequest_List_ValList `protobuf:"bytes,2,rep,name=valList,proto3" json:"valList" form:"valList"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSourceDataRequest_List) Descriptor ¶
func (*GetSourceDataRequest_List) Descriptor() ([]byte, []int)
func (*GetSourceDataRequest_List) GetDimList ¶
func (m *GetSourceDataRequest_List) GetDimList() []*GetSourceDataRequest_List_DimList
func (*GetSourceDataRequest_List) GetValList ¶
func (m *GetSourceDataRequest_List) GetValList() []*GetSourceDataRequest_List_ValList
func (*GetSourceDataRequest_List) ProtoMessage ¶
func (*GetSourceDataRequest_List) ProtoMessage()
func (*GetSourceDataRequest_List) Reset ¶
func (m *GetSourceDataRequest_List) Reset()
func (*GetSourceDataRequest_List) String ¶
func (m *GetSourceDataRequest_List) String() string
func (*GetSourceDataRequest_List) Validate ¶
func (this *GetSourceDataRequest_List) Validate() error
func (*GetSourceDataRequest_List) XXX_DiscardUnknown ¶
func (m *GetSourceDataRequest_List) XXX_DiscardUnknown()
func (*GetSourceDataRequest_List) XXX_Marshal ¶
func (m *GetSourceDataRequest_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSourceDataRequest_List) XXX_Merge ¶
func (m *GetSourceDataRequest_List) XXX_Merge(src proto.Message)
func (*GetSourceDataRequest_List) XXX_Size ¶
func (m *GetSourceDataRequest_List) XXX_Size() int
func (*GetSourceDataRequest_List) XXX_Unmarshal ¶
func (m *GetSourceDataRequest_List) XXX_Unmarshal(b []byte) error
type GetSourceDataRequest_List_DimList ¶
type GetSourceDataRequest_List_DimList struct { // //维度的值 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value" form:"value"` // //维度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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSourceDataRequest_List_DimList) Descriptor ¶
func (*GetSourceDataRequest_List_DimList) Descriptor() ([]byte, []int)
func (*GetSourceDataRequest_List_DimList) GetId ¶
func (m *GetSourceDataRequest_List_DimList) GetId() string
func (*GetSourceDataRequest_List_DimList) GetName ¶
func (m *GetSourceDataRequest_List_DimList) GetName() string
func (*GetSourceDataRequest_List_DimList) GetValue ¶
func (m *GetSourceDataRequest_List_DimList) GetValue() string
func (*GetSourceDataRequest_List_DimList) ProtoMessage ¶
func (*GetSourceDataRequest_List_DimList) ProtoMessage()
func (*GetSourceDataRequest_List_DimList) Reset ¶
func (m *GetSourceDataRequest_List_DimList) Reset()
func (*GetSourceDataRequest_List_DimList) String ¶
func (m *GetSourceDataRequest_List_DimList) String() string
func (*GetSourceDataRequest_List_DimList) Validate ¶
func (this *GetSourceDataRequest_List_DimList) Validate() error
func (*GetSourceDataRequest_List_DimList) XXX_DiscardUnknown ¶
func (m *GetSourceDataRequest_List_DimList) XXX_DiscardUnknown()
func (*GetSourceDataRequest_List_DimList) XXX_Marshal ¶
func (m *GetSourceDataRequest_List_DimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSourceDataRequest_List_DimList) XXX_Merge ¶
func (m *GetSourceDataRequest_List_DimList) XXX_Merge(src proto.Message)
func (*GetSourceDataRequest_List_DimList) XXX_Size ¶
func (m *GetSourceDataRequest_List_DimList) XXX_Size() int
func (*GetSourceDataRequest_List_DimList) XXX_Unmarshal ¶
func (m *GetSourceDataRequest_List_DimList) XXX_Unmarshal(b []byte) error
type GetSourceDataRequest_List_ValList ¶
type GetSourceDataRequest_List_ValList struct { // //val的值 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value" form:"value"` // //指标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"` // //指标类型 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSourceDataRequest_List_ValList) Descriptor ¶
func (*GetSourceDataRequest_List_ValList) Descriptor() ([]byte, []int)
func (*GetSourceDataRequest_List_ValList) GetId ¶
func (m *GetSourceDataRequest_List_ValList) GetId() string
func (*GetSourceDataRequest_List_ValList) GetName ¶
func (m *GetSourceDataRequest_List_ValList) GetName() string
func (*GetSourceDataRequest_List_ValList) GetType ¶
func (m *GetSourceDataRequest_List_ValList) GetType() string
func (*GetSourceDataRequest_List_ValList) GetUnit ¶
func (m *GetSourceDataRequest_List_ValList) GetUnit() string
func (*GetSourceDataRequest_List_ValList) GetValue ¶
func (m *GetSourceDataRequest_List_ValList) GetValue() string
func (*GetSourceDataRequest_List_ValList) ProtoMessage ¶
func (*GetSourceDataRequest_List_ValList) ProtoMessage()
func (*GetSourceDataRequest_List_ValList) Reset ¶
func (m *GetSourceDataRequest_List_ValList) Reset()
func (*GetSourceDataRequest_List_ValList) String ¶
func (m *GetSourceDataRequest_List_ValList) String() string
func (*GetSourceDataRequest_List_ValList) Validate ¶
func (this *GetSourceDataRequest_List_ValList) Validate() error
func (*GetSourceDataRequest_List_ValList) XXX_DiscardUnknown ¶
func (m *GetSourceDataRequest_List_ValList) XXX_DiscardUnknown()
func (*GetSourceDataRequest_List_ValList) XXX_Marshal ¶
func (m *GetSourceDataRequest_List_ValList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSourceDataRequest_List_ValList) XXX_Merge ¶
func (m *GetSourceDataRequest_List_ValList) XXX_Merge(src proto.Message)
func (*GetSourceDataRequest_List_ValList) XXX_Size ¶
func (m *GetSourceDataRequest_List_ValList) XXX_Size() int
func (*GetSourceDataRequest_List_ValList) XXX_Unmarshal ¶
func (m *GetSourceDataRequest_List_ValList) XXX_Unmarshal(b []byte) error
type GetSourceDataResponseWrapper ¶
type GetSourceDataResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *inspection.InspectionHistory `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetSourceDataApi返回
func (*GetSourceDataResponseWrapper) Descriptor ¶
func (*GetSourceDataResponseWrapper) Descriptor() ([]byte, []int)
func (*GetSourceDataResponseWrapper) GetCode ¶
func (m *GetSourceDataResponseWrapper) GetCode() int32
func (*GetSourceDataResponseWrapper) GetCodeExplain ¶
func (m *GetSourceDataResponseWrapper) GetCodeExplain() string
func (*GetSourceDataResponseWrapper) GetData ¶
func (m *GetSourceDataResponseWrapper) GetData() *inspection.InspectionHistory
func (*GetSourceDataResponseWrapper) GetError ¶
func (m *GetSourceDataResponseWrapper) GetError() string
func (*GetSourceDataResponseWrapper) ProtoMessage ¶
func (*GetSourceDataResponseWrapper) ProtoMessage()
func (*GetSourceDataResponseWrapper) Reset ¶
func (m *GetSourceDataResponseWrapper) Reset()
func (*GetSourceDataResponseWrapper) String ¶
func (m *GetSourceDataResponseWrapper) String() string
func (*GetSourceDataResponseWrapper) Validate ¶
func (this *GetSourceDataResponseWrapper) Validate() error
func (*GetSourceDataResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetSourceDataResponseWrapper) XXX_DiscardUnknown()
func (*GetSourceDataResponseWrapper) XXX_Marshal ¶
func (m *GetSourceDataResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSourceDataResponseWrapper) XXX_Merge ¶
func (m *GetSourceDataResponseWrapper) XXX_Merge(src proto.Message)
func (*GetSourceDataResponseWrapper) XXX_Size ¶
func (m *GetSourceDataResponseWrapper) XXX_Size() int
func (*GetSourceDataResponseWrapper) XXX_Unmarshal ¶
func (m *GetSourceDataResponseWrapper) XXX_Unmarshal(b []byte) error
type GetStatisticsRequest ¶
type GetStatisticsRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检作业Id JobId string `protobuf:"bytes,2,opt,name=jobId,proto3" json:"jobId" form:"jobId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetStatistics请求
func (*GetStatisticsRequest) Descriptor ¶
func (*GetStatisticsRequest) Descriptor() ([]byte, []int)
func (*GetStatisticsRequest) GetJobId ¶
func (m *GetStatisticsRequest) GetJobId() string
func (*GetStatisticsRequest) GetPluginId ¶
func (m *GetStatisticsRequest) GetPluginId() string
func (*GetStatisticsRequest) ProtoMessage ¶
func (*GetStatisticsRequest) ProtoMessage()
func (*GetStatisticsRequest) Reset ¶
func (m *GetStatisticsRequest) Reset()
func (*GetStatisticsRequest) String ¶
func (m *GetStatisticsRequest) String() string
func (*GetStatisticsRequest) Validate ¶
func (this *GetStatisticsRequest) Validate() error
func (*GetStatisticsRequest) XXX_DiscardUnknown ¶
func (m *GetStatisticsRequest) XXX_DiscardUnknown()
func (*GetStatisticsRequest) XXX_Marshal ¶
func (m *GetStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatisticsRequest) XXX_Merge ¶
func (m *GetStatisticsRequest) XXX_Merge(src proto.Message)
func (*GetStatisticsRequest) XXX_Size ¶
func (m *GetStatisticsRequest) XXX_Size() int
func (*GetStatisticsRequest) XXX_Unmarshal ¶
func (m *GetStatisticsRequest) XXX_Unmarshal(b []byte) error
type GetStatisticsResponse ¶
type GetStatisticsResponse struct { // //关联的主机 Host *inspection.InspectionHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host" form:"host"` // //日志 Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log" form:"log"` // //巡检总项数 TotalNum int32 `protobuf:"varint,3,opt,name=totalNum,proto3" json:"totalNum" form:"totalNum"` // //通知项数 NoticeNum int32 `protobuf:"varint,4,opt,name=noticeNum,proto3" json:"noticeNum" form:"noticeNum"` // //警告项数 WarningNum int32 `protobuf:"varint,5,opt,name=warningNum,proto3" json:"warningNum" form:"warningNum"` // //紧急项数 EmergencyNum int32 `protobuf:"varint,6,opt,name=emergencyNum,proto3" json:"emergencyNum" form:"emergencyNum"` // //合格项数 PassedNum int32 `protobuf:"varint,7,opt,name=passedNum,proto3" json:"passedNum" form:"passedNum"` // //巡检对象实例ID InstanceId string `protobuf:"bytes,8,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //评分(精确到小数点后2位) Score float32 `protobuf:"fixed32,9,opt,name=score,proto3" json:"score" form:"score"` // //unexecuted:脚本未执行; failed:返回码大于0; normal:返回码等于0,没有异常指标; abnormal:返回码等于0,有异常指标 Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status" form:"status"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetStatistics返回
func (*GetStatisticsResponse) Descriptor ¶
func (*GetStatisticsResponse) Descriptor() ([]byte, []int)
func (*GetStatisticsResponse) GetEmergencyNum ¶
func (m *GetStatisticsResponse) GetEmergencyNum() int32
func (*GetStatisticsResponse) GetHost ¶
func (m *GetStatisticsResponse) GetHost() *inspection.InspectionHost
func (*GetStatisticsResponse) GetInstanceId ¶
func (m *GetStatisticsResponse) GetInstanceId() string
func (*GetStatisticsResponse) GetLog ¶
func (m *GetStatisticsResponse) GetLog() string
func (*GetStatisticsResponse) GetNoticeNum ¶
func (m *GetStatisticsResponse) GetNoticeNum() int32
func (*GetStatisticsResponse) GetPassedNum ¶
func (m *GetStatisticsResponse) GetPassedNum() int32
func (*GetStatisticsResponse) GetScore ¶
func (m *GetStatisticsResponse) GetScore() float32
func (*GetStatisticsResponse) GetStatus ¶
func (m *GetStatisticsResponse) GetStatus() string
func (*GetStatisticsResponse) GetTotalNum ¶
func (m *GetStatisticsResponse) GetTotalNum() int32
func (*GetStatisticsResponse) GetWarningNum ¶
func (m *GetStatisticsResponse) GetWarningNum() int32
func (*GetStatisticsResponse) ProtoMessage ¶
func (*GetStatisticsResponse) ProtoMessage()
func (*GetStatisticsResponse) Reset ¶
func (m *GetStatisticsResponse) Reset()
func (*GetStatisticsResponse) String ¶
func (m *GetStatisticsResponse) String() string
func (*GetStatisticsResponse) Validate ¶
func (this *GetStatisticsResponse) Validate() error
func (*GetStatisticsResponse) XXX_DiscardUnknown ¶
func (m *GetStatisticsResponse) XXX_DiscardUnknown()
func (*GetStatisticsResponse) XXX_Marshal ¶
func (m *GetStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatisticsResponse) XXX_Merge ¶
func (m *GetStatisticsResponse) XXX_Merge(src proto.Message)
func (*GetStatisticsResponse) XXX_Size ¶
func (m *GetStatisticsResponse) XXX_Size() int
func (*GetStatisticsResponse) XXX_Unmarshal ¶
func (m *GetStatisticsResponse) XXX_Unmarshal(b []byte) error
type GetStatisticsResponseWrapper ¶
type GetStatisticsResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetStatisticsResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetStatisticsApi返回
func (*GetStatisticsResponseWrapper) Descriptor ¶
func (*GetStatisticsResponseWrapper) Descriptor() ([]byte, []int)
func (*GetStatisticsResponseWrapper) GetCode ¶
func (m *GetStatisticsResponseWrapper) GetCode() int32
func (*GetStatisticsResponseWrapper) GetCodeExplain ¶
func (m *GetStatisticsResponseWrapper) GetCodeExplain() string
func (*GetStatisticsResponseWrapper) GetData ¶
func (m *GetStatisticsResponseWrapper) GetData() *GetStatisticsResponse
func (*GetStatisticsResponseWrapper) GetError ¶
func (m *GetStatisticsResponseWrapper) GetError() string
func (*GetStatisticsResponseWrapper) ProtoMessage ¶
func (*GetStatisticsResponseWrapper) ProtoMessage()
func (*GetStatisticsResponseWrapper) Reset ¶
func (m *GetStatisticsResponseWrapper) Reset()
func (*GetStatisticsResponseWrapper) String ¶
func (m *GetStatisticsResponseWrapper) String() string
func (*GetStatisticsResponseWrapper) Validate ¶
func (this *GetStatisticsResponseWrapper) Validate() error
func (*GetStatisticsResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetStatisticsResponseWrapper) XXX_DiscardUnknown()
func (*GetStatisticsResponseWrapper) XXX_Marshal ¶
func (m *GetStatisticsResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatisticsResponseWrapper) XXX_Merge ¶
func (m *GetStatisticsResponseWrapper) XXX_Merge(src proto.Message)
func (*GetStatisticsResponseWrapper) XXX_Size ¶
func (m *GetStatisticsResponseWrapper) XXX_Size() int
func (*GetStatisticsResponseWrapper) XXX_Unmarshal ¶
func (m *GetStatisticsResponseWrapper) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsRequest ¶
type ListAbnormalMetricsRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检作业ID JobId string `protobuf:"bytes,2,opt,name=jobId,proto3" json:"jobId" form:"jobId"` // //主机实例ID InstanceId string `protobuf:"bytes,3,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAbnormalMetrics请求
func (*ListAbnormalMetricsRequest) Descriptor ¶
func (*ListAbnormalMetricsRequest) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsRequest) GetInstanceId ¶
func (m *ListAbnormalMetricsRequest) GetInstanceId() string
func (*ListAbnormalMetricsRequest) GetJobId ¶
func (m *ListAbnormalMetricsRequest) GetJobId() string
func (*ListAbnormalMetricsRequest) GetPluginId ¶
func (m *ListAbnormalMetricsRequest) GetPluginId() string
func (*ListAbnormalMetricsRequest) ProtoMessage ¶
func (*ListAbnormalMetricsRequest) ProtoMessage()
func (*ListAbnormalMetricsRequest) Reset ¶
func (m *ListAbnormalMetricsRequest) Reset()
func (*ListAbnormalMetricsRequest) String ¶
func (m *ListAbnormalMetricsRequest) String() string
func (*ListAbnormalMetricsRequest) Validate ¶
func (this *ListAbnormalMetricsRequest) Validate() error
func (*ListAbnormalMetricsRequest) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsRequest) XXX_DiscardUnknown()
func (*ListAbnormalMetricsRequest) XXX_Marshal ¶
func (m *ListAbnormalMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsRequest) XXX_Merge ¶
func (m *ListAbnormalMetricsRequest) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsRequest) XXX_Size ¶
func (m *ListAbnormalMetricsRequest) XXX_Size() int
func (*ListAbnormalMetricsRequest) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsRequest) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsResponse ¶
type ListAbnormalMetricsResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*ListAbnormalMetricsResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAbnormalMetrics返回
func (*ListAbnormalMetricsResponse) Descriptor ¶
func (*ListAbnormalMetricsResponse) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsResponse) GetList ¶
func (m *ListAbnormalMetricsResponse) GetList() []*ListAbnormalMetricsResponse_List
func (*ListAbnormalMetricsResponse) GetPage ¶
func (m *ListAbnormalMetricsResponse) GetPage() int32
func (*ListAbnormalMetricsResponse) GetPageSize ¶
func (m *ListAbnormalMetricsResponse) GetPageSize() int32
func (*ListAbnormalMetricsResponse) GetTotal ¶
func (m *ListAbnormalMetricsResponse) GetTotal() int32
func (*ListAbnormalMetricsResponse) ProtoMessage ¶
func (*ListAbnormalMetricsResponse) ProtoMessage()
func (*ListAbnormalMetricsResponse) Reset ¶
func (m *ListAbnormalMetricsResponse) Reset()
func (*ListAbnormalMetricsResponse) String ¶
func (m *ListAbnormalMetricsResponse) String() string
func (*ListAbnormalMetricsResponse) Validate ¶
func (this *ListAbnormalMetricsResponse) Validate() error
func (*ListAbnormalMetricsResponse) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsResponse) XXX_DiscardUnknown()
func (*ListAbnormalMetricsResponse) XXX_Marshal ¶
func (m *ListAbnormalMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsResponse) XXX_Merge ¶
func (m *ListAbnormalMetricsResponse) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsResponse) XXX_Size ¶
func (m *ListAbnormalMetricsResponse) XXX_Size() int
func (*ListAbnormalMetricsResponse) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsResponse) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsResponseWrapper ¶
type ListAbnormalMetricsResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListAbnormalMetricsResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAbnormalMetricsApi返回
func (*ListAbnormalMetricsResponseWrapper) Descriptor ¶
func (*ListAbnormalMetricsResponseWrapper) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsResponseWrapper) GetCode ¶
func (m *ListAbnormalMetricsResponseWrapper) GetCode() int32
func (*ListAbnormalMetricsResponseWrapper) GetCodeExplain ¶
func (m *ListAbnormalMetricsResponseWrapper) GetCodeExplain() string
func (*ListAbnormalMetricsResponseWrapper) GetData ¶
func (m *ListAbnormalMetricsResponseWrapper) GetData() *ListAbnormalMetricsResponse
func (*ListAbnormalMetricsResponseWrapper) GetError ¶
func (m *ListAbnormalMetricsResponseWrapper) GetError() string
func (*ListAbnormalMetricsResponseWrapper) ProtoMessage ¶
func (*ListAbnormalMetricsResponseWrapper) ProtoMessage()
func (*ListAbnormalMetricsResponseWrapper) Reset ¶
func (m *ListAbnormalMetricsResponseWrapper) Reset()
func (*ListAbnormalMetricsResponseWrapper) String ¶
func (m *ListAbnormalMetricsResponseWrapper) String() string
func (*ListAbnormalMetricsResponseWrapper) Validate ¶
func (this *ListAbnormalMetricsResponseWrapper) Validate() error
func (*ListAbnormalMetricsResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsResponseWrapper) XXX_DiscardUnknown()
func (*ListAbnormalMetricsResponseWrapper) XXX_Marshal ¶
func (m *ListAbnormalMetricsResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsResponseWrapper) XXX_Merge ¶
func (m *ListAbnormalMetricsResponseWrapper) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsResponseWrapper) XXX_Size ¶
func (m *ListAbnormalMetricsResponseWrapper) XXX_Size() int
func (*ListAbnormalMetricsResponseWrapper) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsResponseWrapper) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsResponse_List ¶
type ListAbnormalMetricsResponse_List struct { // //巡检对象实例ID TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId" form:"targetId"` // //巡检日志 Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log" form:"log"` // //异常指标列表 AbnormalMetricGroups *ListAbnormalMetricsResponse_List_AbnormalMetricGroups `protobuf:"bytes,3,opt,name=abnormalMetricGroups,proto3" json:"abnormalMetricGroups" form:"abnormalMetricGroups"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAbnormalMetricsResponse_List) Descriptor ¶
func (*ListAbnormalMetricsResponse_List) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsResponse_List) GetAbnormalMetricGroups ¶
func (m *ListAbnormalMetricsResponse_List) GetAbnormalMetricGroups() *ListAbnormalMetricsResponse_List_AbnormalMetricGroups
func (*ListAbnormalMetricsResponse_List) GetLog ¶
func (m *ListAbnormalMetricsResponse_List) GetLog() string
func (*ListAbnormalMetricsResponse_List) GetTargetId ¶
func (m *ListAbnormalMetricsResponse_List) GetTargetId() string
func (*ListAbnormalMetricsResponse_List) ProtoMessage ¶
func (*ListAbnormalMetricsResponse_List) ProtoMessage()
func (*ListAbnormalMetricsResponse_List) Reset ¶
func (m *ListAbnormalMetricsResponse_List) Reset()
func (*ListAbnormalMetricsResponse_List) String ¶
func (m *ListAbnormalMetricsResponse_List) String() string
func (*ListAbnormalMetricsResponse_List) Validate ¶
func (this *ListAbnormalMetricsResponse_List) Validate() error
func (*ListAbnormalMetricsResponse_List) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsResponse_List) XXX_DiscardUnknown()
func (*ListAbnormalMetricsResponse_List) XXX_Marshal ¶
func (m *ListAbnormalMetricsResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsResponse_List) XXX_Merge ¶
func (m *ListAbnormalMetricsResponse_List) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsResponse_List) XXX_Size ¶
func (m *ListAbnormalMetricsResponse_List) XXX_Size() int
func (*ListAbnormalMetricsResponse_List) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsResponse_List) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsResponse_List_AbnormalMetricGroups ¶
type ListAbnormalMetricsResponse_List_AbnormalMetricGroups struct { // //指标组维度定义 Dims []*inspection.InspectionDim `protobuf:"bytes,1,rep,name=dims,proto3" json:"dims" form:"dims"` // //指标组ID MetricGroupId string `protobuf:"bytes,2,opt,name=metricGroupId,proto3" json:"metricGroupId" form:"metricGroupId"` // //指标组名 MetricGroupName string `protobuf:"bytes,3,opt,name=metricGroupName,proto3" json:"metricGroupName" form:"metricGroupName"` // //该指标组的所有异常指标 AbnormalMetrics *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics `protobuf:"bytes,4,opt,name=abnormalMetrics,proto3" json:"abnormalMetrics" form:"abnormalMetrics"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Descriptor ¶
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetAbnormalMetrics ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetAbnormalMetrics() *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetDims ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetDims() []*inspection.InspectionDim
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupId ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupId() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupName ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) GetMetricGroupName() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) ProtoMessage ¶
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) ProtoMessage()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Reset ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Reset()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) String ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) String() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Validate ¶
func (this *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) Validate() error
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_DiscardUnknown()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Marshal ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Merge ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Size ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Size() int
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups) XXX_Unmarshal(b []byte) error
type ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics ¶
type ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics struct { // //维度的值列表,与指标组维度定义的顺序保持一致 Dims []string `protobuf:"bytes,1,rep,name=dims,proto3" json:"dims" form:"dims"` // //异常指标ID AbnormalMetricId string `protobuf:"bytes,2,opt,name=abnormalMetricId,proto3" json:"abnormalMetricId" form:"abnormalMetricId"` // //异常指标名 AbnormalMetricName string `protobuf:"bytes,3,opt,name=abnormalMetricName,proto3" json:"abnormalMetricName" form:"abnormalMetricName"` // //紧急程度 Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level" form:"level"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Descriptor ¶
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Descriptor() ([]byte, []int)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricId ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricId() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricName ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetAbnormalMetricName() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetDims ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetDims() []string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetLevel ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) GetLevel() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) ProtoMessage ¶
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) ProtoMessage()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Reset ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Reset()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) String ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) String() string
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Validate ¶
func (this *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) Validate() error
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_DiscardUnknown ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_DiscardUnknown()
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Marshal ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Merge ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Merge(src proto.Message)
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Size ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Size() int
func (*ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Unmarshal ¶
func (m *ListAbnormalMetricsResponse_List_AbnormalMetricGroups_AbnormalMetrics) XXX_Unmarshal(b []byte) error
type ListHistoryRequest ¶
type ListHistoryRequest struct { // //套件id PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //页码 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //每页大小 PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //开始时间从,查询条件 StartTimeFrom int32 `protobuf:"varint,4,opt,name=startTimeFrom,proto3" json:"startTimeFrom" form:"startTimeFrom"` // //开始时间到,查询条件 StartTimeTo int32 `protobuf:"varint,5,opt,name=startTimeTo,proto3" json:"startTimeTo" form:"startTimeTo"` // //耗时从,查询条件 UsedTimeFrom int32 `protobuf:"varint,6,opt,name=usedTimeFrom,proto3" json:"usedTimeFrom" form:"usedTimeFrom"` // //耗时到,查询条件 UsedTimeTo int32 `protobuf:"varint,7,opt,name=usedTimeTo,proto3" json:"usedTimeTo" form:"usedTimeTo"` // //成功率从,查询条件 PassRateFrom float32 `protobuf:"fixed32,8,opt,name=passRateFrom,proto3" json:"passRateFrom" form:"passRateFrom"` // //成功率到,查询条件 PassRateTo float32 `protobuf:"fixed32,9,opt,name=passRateTo,proto3" json:"passRateTo" form:"passRateTo"` // //评分从,查询条件 ScoreFrom float32 `protobuf:"fixed32,10,opt,name=scoreFrom,proto3" json:"scoreFrom" form:"scoreFrom"` // //评分到,查询条件 ScoreTo float32 `protobuf:"fixed32,11,opt,name=scoreTo,proto3" json:"scoreTo" form:"scoreTo"` // //任务名包含,查询条件 TaskNameLike string `protobuf:"bytes,12,opt,name=taskNameLike,proto3" json:"taskNameLike" form:"taskNameLike"` // //任务名不包含,查询条件 TaskNameNlike string `protobuf:"bytes,13,opt,name=taskNameNlike,proto3" json:"taskNameNlike" form:"taskNameNlike"` // //任务名等于,查询条件 TaskNameEq string `protobuf:"bytes,14,opt,name=taskNameEq,proto3" json:"taskNameEq" form:"taskNameEq"` // //任务名不等于,查询条件 TaskNameNeq string `protobuf:"bytes,15,opt,name=taskNameNeq,proto3" json:"taskNameNeq" form:"taskNameNeq"` // //目标包含,查询条件 TargetLike string `protobuf:"bytes,16,opt,name=targetLike,proto3" json:"targetLike" form:"targetLike"` // //目标不包含,查询条件 TargetNlike string `protobuf:"bytes,17,opt,name=targetNlike,proto3" json:"targetNlike" form:"targetNlike"` // //目标等于,查询条件 TargetEq string `protobuf:"bytes,18,opt,name=targetEq,proto3" json:"targetEq" form:"targetEq"` // //目标不等于,查询条件 TargetNeq string `protobuf:"bytes,19,opt,name=targetNeq,proto3" json:"targetNeq" form:"targetNeq"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListHistory请求
func (*ListHistoryRequest) Descriptor ¶
func (*ListHistoryRequest) Descriptor() ([]byte, []int)
func (*ListHistoryRequest) GetPage ¶
func (m *ListHistoryRequest) GetPage() int32
func (*ListHistoryRequest) GetPageSize ¶
func (m *ListHistoryRequest) GetPageSize() int32
func (*ListHistoryRequest) GetPassRateFrom ¶
func (m *ListHistoryRequest) GetPassRateFrom() float32
func (*ListHistoryRequest) GetPassRateTo ¶
func (m *ListHistoryRequest) GetPassRateTo() float32
func (*ListHistoryRequest) GetPluginId ¶
func (m *ListHistoryRequest) GetPluginId() string
func (*ListHistoryRequest) GetScoreFrom ¶
func (m *ListHistoryRequest) GetScoreFrom() float32
func (*ListHistoryRequest) GetScoreTo ¶
func (m *ListHistoryRequest) GetScoreTo() float32
func (*ListHistoryRequest) GetStartTimeFrom ¶
func (m *ListHistoryRequest) GetStartTimeFrom() int32
func (*ListHistoryRequest) GetStartTimeTo ¶
func (m *ListHistoryRequest) GetStartTimeTo() int32
func (*ListHistoryRequest) GetTargetEq ¶
func (m *ListHistoryRequest) GetTargetEq() string
func (*ListHistoryRequest) GetTargetLike ¶
func (m *ListHistoryRequest) GetTargetLike() string
func (*ListHistoryRequest) GetTargetNeq ¶
func (m *ListHistoryRequest) GetTargetNeq() string
func (*ListHistoryRequest) GetTargetNlike ¶
func (m *ListHistoryRequest) GetTargetNlike() string
func (*ListHistoryRequest) GetTaskNameEq ¶
func (m *ListHistoryRequest) GetTaskNameEq() string
func (*ListHistoryRequest) GetTaskNameLike ¶
func (m *ListHistoryRequest) GetTaskNameLike() string
func (*ListHistoryRequest) GetTaskNameNeq ¶
func (m *ListHistoryRequest) GetTaskNameNeq() string
func (*ListHistoryRequest) GetTaskNameNlike ¶
func (m *ListHistoryRequest) GetTaskNameNlike() string
func (*ListHistoryRequest) GetUsedTimeFrom ¶
func (m *ListHistoryRequest) GetUsedTimeFrom() int32
func (*ListHistoryRequest) GetUsedTimeTo ¶
func (m *ListHistoryRequest) GetUsedTimeTo() int32
func (*ListHistoryRequest) ProtoMessage ¶
func (*ListHistoryRequest) ProtoMessage()
func (*ListHistoryRequest) Reset ¶
func (m *ListHistoryRequest) Reset()
func (*ListHistoryRequest) String ¶
func (m *ListHistoryRequest) String() string
func (*ListHistoryRequest) Validate ¶
func (this *ListHistoryRequest) Validate() error
func (*ListHistoryRequest) XXX_DiscardUnknown ¶
func (m *ListHistoryRequest) XXX_DiscardUnknown()
func (*ListHistoryRequest) XXX_Marshal ¶
func (m *ListHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListHistoryRequest) XXX_Merge ¶
func (m *ListHistoryRequest) XXX_Merge(src proto.Message)
func (*ListHistoryRequest) XXX_Size ¶
func (m *ListHistoryRequest) XXX_Size() int
func (*ListHistoryRequest) XXX_Unmarshal ¶
func (m *ListHistoryRequest) XXX_Unmarshal(b []byte) error
type ListHistoryResponse ¶
type ListHistoryResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*inspection.InspectionHistory `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListHistory返回
func (*ListHistoryResponse) Descriptor ¶
func (*ListHistoryResponse) Descriptor() ([]byte, []int)
func (*ListHistoryResponse) GetList ¶
func (m *ListHistoryResponse) GetList() []*inspection.InspectionHistory
func (*ListHistoryResponse) GetPage ¶
func (m *ListHistoryResponse) GetPage() int32
func (*ListHistoryResponse) GetPageSize ¶
func (m *ListHistoryResponse) GetPageSize() int32
func (*ListHistoryResponse) GetTotal ¶
func (m *ListHistoryResponse) GetTotal() int32
func (*ListHistoryResponse) ProtoMessage ¶
func (*ListHistoryResponse) ProtoMessage()
func (*ListHistoryResponse) Reset ¶
func (m *ListHistoryResponse) Reset()
func (*ListHistoryResponse) String ¶
func (m *ListHistoryResponse) String() string
func (*ListHistoryResponse) Validate ¶
func (this *ListHistoryResponse) Validate() error
func (*ListHistoryResponse) XXX_DiscardUnknown ¶
func (m *ListHistoryResponse) XXX_DiscardUnknown()
func (*ListHistoryResponse) XXX_Marshal ¶
func (m *ListHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListHistoryResponse) XXX_Merge ¶
func (m *ListHistoryResponse) XXX_Merge(src proto.Message)
func (*ListHistoryResponse) XXX_Size ¶
func (m *ListHistoryResponse) XXX_Size() int
func (*ListHistoryResponse) XXX_Unmarshal ¶
func (m *ListHistoryResponse) XXX_Unmarshal(b []byte) error
type ListHistoryResponseWrapper ¶
type ListHistoryResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListHistoryResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListHistoryApi返回
func (*ListHistoryResponseWrapper) Descriptor ¶
func (*ListHistoryResponseWrapper) Descriptor() ([]byte, []int)
func (*ListHistoryResponseWrapper) GetCode ¶
func (m *ListHistoryResponseWrapper) GetCode() int32
func (*ListHistoryResponseWrapper) GetCodeExplain ¶
func (m *ListHistoryResponseWrapper) GetCodeExplain() string
func (*ListHistoryResponseWrapper) GetData ¶
func (m *ListHistoryResponseWrapper) GetData() *ListHistoryResponse
func (*ListHistoryResponseWrapper) GetError ¶
func (m *ListHistoryResponseWrapper) GetError() string
func (*ListHistoryResponseWrapper) ProtoMessage ¶
func (*ListHistoryResponseWrapper) ProtoMessage()
func (*ListHistoryResponseWrapper) Reset ¶
func (m *ListHistoryResponseWrapper) Reset()
func (*ListHistoryResponseWrapper) String ¶
func (m *ListHistoryResponseWrapper) String() string
func (*ListHistoryResponseWrapper) Validate ¶
func (this *ListHistoryResponseWrapper) Validate() error
func (*ListHistoryResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListHistoryResponseWrapper) XXX_DiscardUnknown()
func (*ListHistoryResponseWrapper) XXX_Marshal ¶
func (m *ListHistoryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListHistoryResponseWrapper) XXX_Merge ¶
func (m *ListHistoryResponseWrapper) XXX_Merge(src proto.Message)
func (*ListHistoryResponseWrapper) XXX_Size ¶
func (m *ListHistoryResponseWrapper) XXX_Size() int
func (*ListHistoryResponseWrapper) XXX_Unmarshal ¶
func (m *ListHistoryResponseWrapper) XXX_Unmarshal(b []byte) error
type SchedulerCallbackRequest ¶
type SchedulerCallbackRequest struct { // //套件ID PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //巡检任务ID InspectionTaskId string `protobuf:"bytes,2,opt,name=inspectionTaskId,proto3" json:"inspectionTaskId" form:"inspectionTaskId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SchedulerCallback请求
func (*SchedulerCallbackRequest) Descriptor ¶
func (*SchedulerCallbackRequest) Descriptor() ([]byte, []int)
func (*SchedulerCallbackRequest) GetInspectionTaskId ¶
func (m *SchedulerCallbackRequest) GetInspectionTaskId() string
func (*SchedulerCallbackRequest) GetPluginId ¶
func (m *SchedulerCallbackRequest) GetPluginId() string
func (*SchedulerCallbackRequest) ProtoMessage ¶
func (*SchedulerCallbackRequest) ProtoMessage()
func (*SchedulerCallbackRequest) Reset ¶
func (m *SchedulerCallbackRequest) Reset()
func (*SchedulerCallbackRequest) String ¶
func (m *SchedulerCallbackRequest) String() string
func (*SchedulerCallbackRequest) Validate ¶
func (this *SchedulerCallbackRequest) Validate() error
func (*SchedulerCallbackRequest) XXX_DiscardUnknown ¶
func (m *SchedulerCallbackRequest) XXX_DiscardUnknown()
func (*SchedulerCallbackRequest) XXX_Marshal ¶
func (m *SchedulerCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchedulerCallbackRequest) XXX_Merge ¶
func (m *SchedulerCallbackRequest) XXX_Merge(src proto.Message)
func (*SchedulerCallbackRequest) XXX_Size ¶
func (m *SchedulerCallbackRequest) XXX_Size() int
func (*SchedulerCallbackRequest) XXX_Unmarshal ¶
func (m *SchedulerCallbackRequest) XXX_Unmarshal(b []byte) error
type SchedulerCallbackResponse ¶
type SchedulerCallbackResponse struct { // //easy_command任务ID TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId" form:"taskId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SchedulerCallback返回
func (*SchedulerCallbackResponse) Descriptor ¶
func (*SchedulerCallbackResponse) Descriptor() ([]byte, []int)
func (*SchedulerCallbackResponse) GetTaskId ¶
func (m *SchedulerCallbackResponse) GetTaskId() string
func (*SchedulerCallbackResponse) ProtoMessage ¶
func (*SchedulerCallbackResponse) ProtoMessage()
func (*SchedulerCallbackResponse) Reset ¶
func (m *SchedulerCallbackResponse) Reset()
func (*SchedulerCallbackResponse) String ¶
func (m *SchedulerCallbackResponse) String() string
func (*SchedulerCallbackResponse) Validate ¶
func (this *SchedulerCallbackResponse) Validate() error
func (*SchedulerCallbackResponse) XXX_DiscardUnknown ¶
func (m *SchedulerCallbackResponse) XXX_DiscardUnknown()
func (*SchedulerCallbackResponse) XXX_Marshal ¶
func (m *SchedulerCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchedulerCallbackResponse) XXX_Merge ¶
func (m *SchedulerCallbackResponse) XXX_Merge(src proto.Message)
func (*SchedulerCallbackResponse) XXX_Size ¶
func (m *SchedulerCallbackResponse) XXX_Size() int
func (*SchedulerCallbackResponse) XXX_Unmarshal ¶
func (m *SchedulerCallbackResponse) XXX_Unmarshal(b []byte) error
type SchedulerCallbackResponseWrapper ¶
type SchedulerCallbackResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *SchedulerCallbackResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SchedulerCallbackApi返回
func (*SchedulerCallbackResponseWrapper) Descriptor ¶
func (*SchedulerCallbackResponseWrapper) Descriptor() ([]byte, []int)
func (*SchedulerCallbackResponseWrapper) GetCode ¶
func (m *SchedulerCallbackResponseWrapper) GetCode() int32
func (*SchedulerCallbackResponseWrapper) GetCodeExplain ¶
func (m *SchedulerCallbackResponseWrapper) GetCodeExplain() string
func (*SchedulerCallbackResponseWrapper) GetData ¶
func (m *SchedulerCallbackResponseWrapper) GetData() *SchedulerCallbackResponse
func (*SchedulerCallbackResponseWrapper) GetError ¶
func (m *SchedulerCallbackResponseWrapper) GetError() string
func (*SchedulerCallbackResponseWrapper) ProtoMessage ¶
func (*SchedulerCallbackResponseWrapper) ProtoMessage()
func (*SchedulerCallbackResponseWrapper) Reset ¶
func (m *SchedulerCallbackResponseWrapper) Reset()
func (*SchedulerCallbackResponseWrapper) String ¶
func (m *SchedulerCallbackResponseWrapper) String() string
func (*SchedulerCallbackResponseWrapper) Validate ¶
func (this *SchedulerCallbackResponseWrapper) Validate() error
func (*SchedulerCallbackResponseWrapper) XXX_DiscardUnknown ¶
func (m *SchedulerCallbackResponseWrapper) XXX_DiscardUnknown()
func (*SchedulerCallbackResponseWrapper) XXX_Marshal ¶
func (m *SchedulerCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchedulerCallbackResponseWrapper) XXX_Merge ¶
func (m *SchedulerCallbackResponseWrapper) XXX_Merge(src proto.Message)
func (*SchedulerCallbackResponseWrapper) XXX_Size ¶
func (m *SchedulerCallbackResponseWrapper) XXX_Size() int
func (*SchedulerCallbackResponseWrapper) XXX_Unmarshal ¶
func (m *SchedulerCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { EasyCommandCallback(context.Context, *EasyCommandCallbackRequest) (*types.Empty, error) GetHistory(context.Context, *GetHistoryRequest) (*inspection.InspectionHistory, error) GetSourceData(context.Context, *GetSourceDataRequest) (*inspection.InspectionHistory, error) GetStatistics(context.Context, *GetStatisticsRequest) (*GetStatisticsResponse, error) ListHistory(context.Context, *ListHistoryRequest) (*ListHistoryResponse, error) ListAbnormalMetrics(context.Context, *ListAbnormalMetricsRequest) (*ListAbnormalMetricsResponse, error) SchedulerCallback(context.Context, *SchedulerCallbackRequest) (*SchedulerCallbackResponse, error) }
Service is the server API for history service.
Source Files ¶
- easy_command_callback.pb.go
- easy_command_callback.validator.pb.go
- export.pb.go
- export.validator.pb.go
- get.pb.go
- get.validator.pb.go
- get_source_data.pb.go
- get_source_data.validator.pb.go
- get_statistics.pb.go
- get_statistics.validator.pb.go
- giraffe_service.giraffe.pb.go
- list.pb.go
- list.validator.pb.go
- list_abnormal_metrics.pb.go
- list_abnormal_metrics.validator.pb.go
- schduler_callback.pb.go
- schduler_callback.validator.pb.go
Click to show internal directories.
Click to hide internal directories.