Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateConfigurationRequest
- func (*CreateConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationRequest) GetCacheTtl() int32
- func (m *CreateConfigurationRequest) GetClazzName() string
- func (m *CreateConfigurationRequest) GetDisabled() bool
- func (m *CreateConfigurationRequest) GetEnv() *types.Value
- func (m *CreateConfigurationRequest) GetIgnoreInvalid() bool
- func (m *CreateConfigurationRequest) GetInstanceIdMacro() string
- func (m *CreateConfigurationRequest) GetInterval() int32
- func (m *CreateConfigurationRequest) GetKwargs() *types.Value
- func (m *CreateConfigurationRequest) GetLabels() []string
- func (m *CreateConfigurationRequest) GetName() string
- func (m *CreateConfigurationRequest) GetObjectId() string
- func (m *CreateConfigurationRequest) GetScript() *collector_center.Script
- func (m *CreateConfigurationRequest) GetTargetRange() *collector_center.TargetRange
- func (m *CreateConfigurationRequest) GetTimeRange() string
- func (m *CreateConfigurationRequest) GetTimeout() int32
- func (*CreateConfigurationRequest) ProtoMessage()
- func (m *CreateConfigurationRequest) Reset()
- func (m *CreateConfigurationRequest) String() string
- func (this *CreateConfigurationRequest) Validate() error
- func (m *CreateConfigurationRequest) XXX_DiscardUnknown()
- func (m *CreateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationRequest) XXX_Size() int
- func (m *CreateConfigurationRequest) XXX_Unmarshal(b []byte) error
- type CreateConfigurationResponse
- func (*CreateConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationResponse) GetId() string
- func (*CreateConfigurationResponse) ProtoMessage()
- func (m *CreateConfigurationResponse) Reset()
- func (m *CreateConfigurationResponse) String() string
- func (this *CreateConfigurationResponse) Validate() error
- func (m *CreateConfigurationResponse) XXX_DiscardUnknown()
- func (m *CreateConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationResponse) XXX_Size() int
- func (m *CreateConfigurationResponse) XXX_Unmarshal(b []byte) error
- type CreateConfigurationResponseWrapper
- func (*CreateConfigurationResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationResponseWrapper) GetCode() int32
- func (m *CreateConfigurationResponseWrapper) GetCodeExplain() string
- func (m *CreateConfigurationResponseWrapper) GetData() *CreateConfigurationResponse
- func (m *CreateConfigurationResponseWrapper) GetError() string
- func (*CreateConfigurationResponseWrapper) ProtoMessage()
- func (m *CreateConfigurationResponseWrapper) Reset()
- func (m *CreateConfigurationResponseWrapper) String() string
- func (this *CreateConfigurationResponseWrapper) Validate() error
- func (m *CreateConfigurationResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationResponseWrapper) XXX_Size() int
- func (m *CreateConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationRequest
- func (*DeleteConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationRequest) GetId() string
- func (*DeleteConfigurationRequest) ProtoMessage()
- func (m *DeleteConfigurationRequest) Reset()
- func (m *DeleteConfigurationRequest) String() string
- func (this *DeleteConfigurationRequest) Validate() error
- func (m *DeleteConfigurationRequest) XXX_DiscardUnknown()
- func (m *DeleteConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationRequest) XXX_Size() int
- func (m *DeleteConfigurationRequest) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationResponse
- func (*DeleteConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationResponse) GetId() string
- func (*DeleteConfigurationResponse) ProtoMessage()
- func (m *DeleteConfigurationResponse) Reset()
- func (m *DeleteConfigurationResponse) String() string
- func (this *DeleteConfigurationResponse) Validate() error
- func (m *DeleteConfigurationResponse) XXX_DiscardUnknown()
- func (m *DeleteConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationResponse) XXX_Size() int
- func (m *DeleteConfigurationResponse) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationResponseWrapper
- func (*DeleteConfigurationResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationResponseWrapper) GetCode() int32
- func (m *DeleteConfigurationResponseWrapper) GetCodeExplain() string
- func (m *DeleteConfigurationResponseWrapper) GetData() *DeleteConfigurationResponse
- func (m *DeleteConfigurationResponseWrapper) GetError() string
- func (*DeleteConfigurationResponseWrapper) ProtoMessage()
- func (m *DeleteConfigurationResponseWrapper) Reset()
- func (m *DeleteConfigurationResponseWrapper) String() string
- func (this *DeleteConfigurationResponseWrapper) Validate() error
- func (m *DeleteConfigurationResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationResponseWrapper) XXX_Size() int
- func (m *DeleteConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
- type DetailConfigurationRequest
- func (*DetailConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *DetailConfigurationRequest) GetId() string
- func (*DetailConfigurationRequest) ProtoMessage()
- func (m *DetailConfigurationRequest) Reset()
- func (m *DetailConfigurationRequest) String() string
- func (this *DetailConfigurationRequest) Validate() error
- func (m *DetailConfigurationRequest) XXX_DiscardUnknown()
- func (m *DetailConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *DetailConfigurationRequest) XXX_Size() int
- func (m *DetailConfigurationRequest) XXX_Unmarshal(b []byte) error
- type DetailConfigurationResponseWrapper
- func (*DetailConfigurationResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DetailConfigurationResponseWrapper) GetCode() int32
- func (m *DetailConfigurationResponseWrapper) GetCodeExplain() string
- func (m *DetailConfigurationResponseWrapper) GetData() *collector_center.Configuration
- func (m *DetailConfigurationResponseWrapper) GetError() string
- func (*DetailConfigurationResponseWrapper) ProtoMessage()
- func (m *DetailConfigurationResponseWrapper) Reset()
- func (m *DetailConfigurationResponseWrapper) String() string
- func (this *DetailConfigurationResponseWrapper) Validate() error
- func (m *DetailConfigurationResponseWrapper) XXX_DiscardUnknown()
- func (m *DetailConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailConfigurationResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DetailConfigurationResponseWrapper) XXX_Size() int
- func (m *DetailConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListConfigurationRequest
- func (*ListConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *ListConfigurationRequest) GetIsAll() bool
- func (m *ListConfigurationRequest) GetPage() int32
- func (m *ListConfigurationRequest) GetPageSize() int32
- func (*ListConfigurationRequest) ProtoMessage()
- func (m *ListConfigurationRequest) Reset()
- func (m *ListConfigurationRequest) String() string
- func (this *ListConfigurationRequest) Validate() error
- func (m *ListConfigurationRequest) XXX_DiscardUnknown()
- func (m *ListConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *ListConfigurationRequest) XXX_Size() int
- func (m *ListConfigurationRequest) XXX_Unmarshal(b []byte) error
- type ListConfigurationResponse
- func (*ListConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *ListConfigurationResponse) GetList() []*collector_center.Configuration
- func (m *ListConfigurationResponse) GetPage() int32
- func (m *ListConfigurationResponse) GetPageSize() int32
- func (m *ListConfigurationResponse) GetTotal() int32
- func (*ListConfigurationResponse) ProtoMessage()
- func (m *ListConfigurationResponse) Reset()
- func (m *ListConfigurationResponse) String() string
- func (this *ListConfigurationResponse) Validate() error
- func (m *ListConfigurationResponse) XXX_DiscardUnknown()
- func (m *ListConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *ListConfigurationResponse) XXX_Size() int
- func (m *ListConfigurationResponse) XXX_Unmarshal(b []byte) error
- type ListConfigurationResponseWrapper
- func (*ListConfigurationResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListConfigurationResponseWrapper) GetCode() int32
- func (m *ListConfigurationResponseWrapper) GetCodeExplain() string
- func (m *ListConfigurationResponseWrapper) GetData() *ListConfigurationResponse
- func (m *ListConfigurationResponseWrapper) GetError() string
- func (*ListConfigurationResponseWrapper) ProtoMessage()
- func (m *ListConfigurationResponseWrapper) Reset()
- func (m *ListConfigurationResponseWrapper) String() string
- func (this *ListConfigurationResponseWrapper) Validate() error
- func (m *ListConfigurationResponseWrapper) XXX_DiscardUnknown()
- func (m *ListConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListConfigurationResponseWrapper) XXX_Size() int
- func (m *ListConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateConfigurationRequest
- func (*UpdateConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationRequest) GetCacheTtl() int32
- func (m *UpdateConfigurationRequest) GetClazzName() string
- func (m *UpdateConfigurationRequest) GetDisabled() bool
- func (m *UpdateConfigurationRequest) GetEnv() *types.Value
- func (m *UpdateConfigurationRequest) GetId() string
- func (m *UpdateConfigurationRequest) GetIgnoreInvalid() bool
- func (m *UpdateConfigurationRequest) GetInstanceIdMacro() string
- func (m *UpdateConfigurationRequest) GetInterval() int32
- func (m *UpdateConfigurationRequest) GetKwargs() *types.Value
- func (m *UpdateConfigurationRequest) GetLabels() []string
- func (m *UpdateConfigurationRequest) GetName() string
- func (m *UpdateConfigurationRequest) GetObjectId() string
- func (m *UpdateConfigurationRequest) GetScript() *collector_center.Script
- func (m *UpdateConfigurationRequest) GetTargetRange() *collector_center.TargetRange
- func (m *UpdateConfigurationRequest) GetTimeRange() string
- func (m *UpdateConfigurationRequest) GetTimeout() int32
- func (*UpdateConfigurationRequest) ProtoMessage()
- func (m *UpdateConfigurationRequest) Reset()
- func (m *UpdateConfigurationRequest) String() string
- func (this *UpdateConfigurationRequest) Validate() error
- func (m *UpdateConfigurationRequest) XXX_DiscardUnknown()
- func (m *UpdateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationRequest) XXX_Size() int
- func (m *UpdateConfigurationRequest) XXX_Unmarshal(b []byte) error
- type UpdateConfigurationResponse
- func (*UpdateConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationResponse) GetId() string
- func (*UpdateConfigurationResponse) ProtoMessage()
- func (m *UpdateConfigurationResponse) Reset()
- func (m *UpdateConfigurationResponse) String() string
- func (this *UpdateConfigurationResponse) Validate() error
- func (m *UpdateConfigurationResponse) XXX_DiscardUnknown()
- func (m *UpdateConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationResponse) XXX_Size() int
- func (m *UpdateConfigurationResponse) XXX_Unmarshal(b []byte) error
- type UpdateConfigurationResponseWrapper
- func (*UpdateConfigurationResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationResponseWrapper) GetCode() int32
- func (m *UpdateConfigurationResponseWrapper) GetCodeExplain() string
- func (m *UpdateConfigurationResponseWrapper) GetData() *UpdateConfigurationResponse
- func (m *UpdateConfigurationResponseWrapper) GetError() string
- func (*UpdateConfigurationResponseWrapper) ProtoMessage()
- func (m *UpdateConfigurationResponseWrapper) Reset()
- func (m *UpdateConfigurationResponseWrapper) String() string
- func (this *UpdateConfigurationResponseWrapper) Validate() error
- func (m *UpdateConfigurationResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationResponseWrapper) XXX_Size() int
- func (m *UpdateConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
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 { CreateConfiguration(ctx context.Context, in *CreateConfigurationRequest) (*CreateConfigurationResponse, error) DeleteConfiguration(ctx context.Context, in *DeleteConfigurationRequest) (*DeleteConfigurationResponse, error) DetailConfiguration(ctx context.Context, in *DetailConfigurationRequest) (*collector_center.Configuration, error) ListConfiguration(ctx context.Context, in *ListConfigurationRequest) (*ListConfigurationResponse, error) UpdateConfiguration(ctx context.Context, in *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error) }
Client is the client API for configuration 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 CreateConfigurationRequest ¶
type CreateConfigurationRequest struct { // //名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //参数 Kwargs *types.Value `protobuf:"bytes,2,opt,name=kwargs,proto3" json:"kwargs" form:"kwargs"` // //超时时间 Timeout int32 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout" form:"timeout"` // //环境变量 Env *types.Value `protobuf:"bytes,4,opt,name=env,proto3" json:"env" form:"env"` // //是否禁用 Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled" form:"disabled"` // //标签 Labels []string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels" form:"labels"` // //脚本 Script *collector_center.Script `protobuf:"bytes,7,opt,name=script,proto3" json:"script" form:"script"` // //是否忽略不符合要求数据 IgnoreInvalid bool `protobuf:"varint,8,opt,name=ignoreInvalid,proto3" json:"ignoreInvalid" form:"ignoreInvalid"` // //目标动态范围 TargetRange *collector_center.TargetRange `protobuf:"bytes,9,opt,name=targetRange,proto3" json:"targetRange" form:"targetRange"` // //采集间隔 Interval int32 `protobuf:"varint,10,opt,name=interval,proto3" json:"interval" form:"interval"` // //缓存过期次数(时间) CacheTtl int32 `protobuf:"varint,11,opt,name=cacheTtl,proto3" json:"cacheTtl" form:"cacheTtl"` // //执行时间范围(24小时) TimeRange string `protobuf:"bytes,12,opt,name=timeRange,proto3" json:"timeRange" form:"timeRange"` // //采集类型名称 ClazzName string `protobuf:"bytes,13,opt,name=clazzName,proto3" json:"clazzName" form:"clazzName"` // //关联模型ID ObjectId string `protobuf:"bytes,14,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //关联模型实例ID宏 InstanceIdMacro string `protobuf:"bytes,15,opt,name=instanceIdMacro,proto3" json:"instanceIdMacro" form:"instanceIdMacro"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateConfiguration请求
func (*CreateConfigurationRequest) Descriptor ¶
func (*CreateConfigurationRequest) Descriptor() ([]byte, []int)
func (*CreateConfigurationRequest) GetCacheTtl ¶
func (m *CreateConfigurationRequest) GetCacheTtl() int32
func (*CreateConfigurationRequest) GetClazzName ¶
func (m *CreateConfigurationRequest) GetClazzName() string
func (*CreateConfigurationRequest) GetDisabled ¶
func (m *CreateConfigurationRequest) GetDisabled() bool
func (*CreateConfigurationRequest) GetEnv ¶
func (m *CreateConfigurationRequest) GetEnv() *types.Value
func (*CreateConfigurationRequest) GetIgnoreInvalid ¶
func (m *CreateConfigurationRequest) GetIgnoreInvalid() bool
func (*CreateConfigurationRequest) GetInstanceIdMacro ¶
func (m *CreateConfigurationRequest) GetInstanceIdMacro() string
func (*CreateConfigurationRequest) GetInterval ¶
func (m *CreateConfigurationRequest) GetInterval() int32
func (*CreateConfigurationRequest) GetKwargs ¶
func (m *CreateConfigurationRequest) GetKwargs() *types.Value
func (*CreateConfigurationRequest) GetLabels ¶
func (m *CreateConfigurationRequest) GetLabels() []string
func (*CreateConfigurationRequest) GetName ¶
func (m *CreateConfigurationRequest) GetName() string
func (*CreateConfigurationRequest) GetObjectId ¶
func (m *CreateConfigurationRequest) GetObjectId() string
func (*CreateConfigurationRequest) GetScript ¶
func (m *CreateConfigurationRequest) GetScript() *collector_center.Script
func (*CreateConfigurationRequest) GetTargetRange ¶
func (m *CreateConfigurationRequest) GetTargetRange() *collector_center.TargetRange
func (*CreateConfigurationRequest) GetTimeRange ¶
func (m *CreateConfigurationRequest) GetTimeRange() string
func (*CreateConfigurationRequest) GetTimeout ¶
func (m *CreateConfigurationRequest) GetTimeout() int32
func (*CreateConfigurationRequest) ProtoMessage ¶
func (*CreateConfigurationRequest) ProtoMessage()
func (*CreateConfigurationRequest) Reset ¶
func (m *CreateConfigurationRequest) Reset()
func (*CreateConfigurationRequest) String ¶
func (m *CreateConfigurationRequest) String() string
func (*CreateConfigurationRequest) Validate ¶
func (this *CreateConfigurationRequest) Validate() error
func (*CreateConfigurationRequest) XXX_DiscardUnknown ¶
func (m *CreateConfigurationRequest) XXX_DiscardUnknown()
func (*CreateConfigurationRequest) XXX_Marshal ¶
func (m *CreateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationRequest) XXX_Merge ¶
func (m *CreateConfigurationRequest) XXX_Merge(src proto.Message)
func (*CreateConfigurationRequest) XXX_Size ¶
func (m *CreateConfigurationRequest) XXX_Size() int
func (*CreateConfigurationRequest) XXX_Unmarshal ¶
func (m *CreateConfigurationRequest) XXX_Unmarshal(b []byte) error
type CreateConfigurationResponse ¶
type CreateConfigurationResponse struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateConfiguration返回
func (*CreateConfigurationResponse) Descriptor ¶
func (*CreateConfigurationResponse) Descriptor() ([]byte, []int)
func (*CreateConfigurationResponse) GetId ¶
func (m *CreateConfigurationResponse) GetId() string
func (*CreateConfigurationResponse) ProtoMessage ¶
func (*CreateConfigurationResponse) ProtoMessage()
func (*CreateConfigurationResponse) Reset ¶
func (m *CreateConfigurationResponse) Reset()
func (*CreateConfigurationResponse) String ¶
func (m *CreateConfigurationResponse) String() string
func (*CreateConfigurationResponse) Validate ¶
func (this *CreateConfigurationResponse) Validate() error
func (*CreateConfigurationResponse) XXX_DiscardUnknown ¶
func (m *CreateConfigurationResponse) XXX_DiscardUnknown()
func (*CreateConfigurationResponse) XXX_Marshal ¶
func (m *CreateConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationResponse) XXX_Merge ¶
func (m *CreateConfigurationResponse) XXX_Merge(src proto.Message)
func (*CreateConfigurationResponse) XXX_Size ¶
func (m *CreateConfigurationResponse) XXX_Size() int
func (*CreateConfigurationResponse) XXX_Unmarshal ¶
func (m *CreateConfigurationResponse) XXX_Unmarshal(b []byte) error
type CreateConfigurationResponseWrapper ¶
type CreateConfigurationResponseWrapper 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 *CreateConfigurationResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateConfigurationApi返回
func (*CreateConfigurationResponseWrapper) Descriptor ¶
func (*CreateConfigurationResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateConfigurationResponseWrapper) GetCode ¶
func (m *CreateConfigurationResponseWrapper) GetCode() int32
func (*CreateConfigurationResponseWrapper) GetCodeExplain ¶
func (m *CreateConfigurationResponseWrapper) GetCodeExplain() string
func (*CreateConfigurationResponseWrapper) GetData ¶
func (m *CreateConfigurationResponseWrapper) GetData() *CreateConfigurationResponse
func (*CreateConfigurationResponseWrapper) GetError ¶
func (m *CreateConfigurationResponseWrapper) GetError() string
func (*CreateConfigurationResponseWrapper) ProtoMessage ¶
func (*CreateConfigurationResponseWrapper) ProtoMessage()
func (*CreateConfigurationResponseWrapper) Reset ¶
func (m *CreateConfigurationResponseWrapper) Reset()
func (*CreateConfigurationResponseWrapper) String ¶
func (m *CreateConfigurationResponseWrapper) String() string
func (*CreateConfigurationResponseWrapper) Validate ¶
func (this *CreateConfigurationResponseWrapper) Validate() error
func (*CreateConfigurationResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateConfigurationResponseWrapper) XXX_DiscardUnknown()
func (*CreateConfigurationResponseWrapper) XXX_Marshal ¶
func (m *CreateConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationResponseWrapper) XXX_Merge ¶
func (m *CreateConfigurationResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateConfigurationResponseWrapper) XXX_Size ¶
func (m *CreateConfigurationResponseWrapper) XXX_Size() int
func (*CreateConfigurationResponseWrapper) XXX_Unmarshal ¶
func (m *CreateConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteConfigurationRequest ¶
type DeleteConfigurationRequest struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteConfiguration请求
func (*DeleteConfigurationRequest) Descriptor ¶
func (*DeleteConfigurationRequest) Descriptor() ([]byte, []int)
func (*DeleteConfigurationRequest) GetId ¶
func (m *DeleteConfigurationRequest) GetId() string
func (*DeleteConfigurationRequest) ProtoMessage ¶
func (*DeleteConfigurationRequest) ProtoMessage()
func (*DeleteConfigurationRequest) Reset ¶
func (m *DeleteConfigurationRequest) Reset()
func (*DeleteConfigurationRequest) String ¶
func (m *DeleteConfigurationRequest) String() string
func (*DeleteConfigurationRequest) Validate ¶
func (this *DeleteConfigurationRequest) Validate() error
func (*DeleteConfigurationRequest) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationRequest) XXX_DiscardUnknown()
func (*DeleteConfigurationRequest) XXX_Marshal ¶
func (m *DeleteConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationRequest) XXX_Merge ¶
func (m *DeleteConfigurationRequest) XXX_Merge(src proto.Message)
func (*DeleteConfigurationRequest) XXX_Size ¶
func (m *DeleteConfigurationRequest) XXX_Size() int
func (*DeleteConfigurationRequest) XXX_Unmarshal ¶
func (m *DeleteConfigurationRequest) XXX_Unmarshal(b []byte) error
type DeleteConfigurationResponse ¶
type DeleteConfigurationResponse struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteConfiguration返回
func (*DeleteConfigurationResponse) Descriptor ¶
func (*DeleteConfigurationResponse) Descriptor() ([]byte, []int)
func (*DeleteConfigurationResponse) GetId ¶
func (m *DeleteConfigurationResponse) GetId() string
func (*DeleteConfigurationResponse) ProtoMessage ¶
func (*DeleteConfigurationResponse) ProtoMessage()
func (*DeleteConfigurationResponse) Reset ¶
func (m *DeleteConfigurationResponse) Reset()
func (*DeleteConfigurationResponse) String ¶
func (m *DeleteConfigurationResponse) String() string
func (*DeleteConfigurationResponse) Validate ¶
func (this *DeleteConfigurationResponse) Validate() error
func (*DeleteConfigurationResponse) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationResponse) XXX_DiscardUnknown()
func (*DeleteConfigurationResponse) XXX_Marshal ¶
func (m *DeleteConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationResponse) XXX_Merge ¶
func (m *DeleteConfigurationResponse) XXX_Merge(src proto.Message)
func (*DeleteConfigurationResponse) XXX_Size ¶
func (m *DeleteConfigurationResponse) XXX_Size() int
func (*DeleteConfigurationResponse) XXX_Unmarshal ¶
func (m *DeleteConfigurationResponse) XXX_Unmarshal(b []byte) error
type DeleteConfigurationResponseWrapper ¶
type DeleteConfigurationResponseWrapper 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 *DeleteConfigurationResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteConfigurationApi返回
func (*DeleteConfigurationResponseWrapper) Descriptor ¶
func (*DeleteConfigurationResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteConfigurationResponseWrapper) GetCode ¶
func (m *DeleteConfigurationResponseWrapper) GetCode() int32
func (*DeleteConfigurationResponseWrapper) GetCodeExplain ¶
func (m *DeleteConfigurationResponseWrapper) GetCodeExplain() string
func (*DeleteConfigurationResponseWrapper) GetData ¶
func (m *DeleteConfigurationResponseWrapper) GetData() *DeleteConfigurationResponse
func (*DeleteConfigurationResponseWrapper) GetError ¶
func (m *DeleteConfigurationResponseWrapper) GetError() string
func (*DeleteConfigurationResponseWrapper) ProtoMessage ¶
func (*DeleteConfigurationResponseWrapper) ProtoMessage()
func (*DeleteConfigurationResponseWrapper) Reset ¶
func (m *DeleteConfigurationResponseWrapper) Reset()
func (*DeleteConfigurationResponseWrapper) String ¶
func (m *DeleteConfigurationResponseWrapper) String() string
func (*DeleteConfigurationResponseWrapper) Validate ¶
func (this *DeleteConfigurationResponseWrapper) Validate() error
func (*DeleteConfigurationResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationResponseWrapper) XXX_DiscardUnknown()
func (*DeleteConfigurationResponseWrapper) XXX_Marshal ¶
func (m *DeleteConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationResponseWrapper) XXX_Merge ¶
func (m *DeleteConfigurationResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteConfigurationResponseWrapper) XXX_Size ¶
func (m *DeleteConfigurationResponseWrapper) XXX_Size() int
func (*DeleteConfigurationResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
type DetailConfigurationRequest ¶
type DetailConfigurationRequest struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DetailConfiguration请求
func (*DetailConfigurationRequest) Descriptor ¶
func (*DetailConfigurationRequest) Descriptor() ([]byte, []int)
func (*DetailConfigurationRequest) GetId ¶
func (m *DetailConfigurationRequest) GetId() string
func (*DetailConfigurationRequest) ProtoMessage ¶
func (*DetailConfigurationRequest) ProtoMessage()
func (*DetailConfigurationRequest) Reset ¶
func (m *DetailConfigurationRequest) Reset()
func (*DetailConfigurationRequest) String ¶
func (m *DetailConfigurationRequest) String() string
func (*DetailConfigurationRequest) Validate ¶
func (this *DetailConfigurationRequest) Validate() error
func (*DetailConfigurationRequest) XXX_DiscardUnknown ¶
func (m *DetailConfigurationRequest) XXX_DiscardUnknown()
func (*DetailConfigurationRequest) XXX_Marshal ¶
func (m *DetailConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailConfigurationRequest) XXX_Merge ¶
func (m *DetailConfigurationRequest) XXX_Merge(src proto.Message)
func (*DetailConfigurationRequest) XXX_Size ¶
func (m *DetailConfigurationRequest) XXX_Size() int
func (*DetailConfigurationRequest) XXX_Unmarshal ¶
func (m *DetailConfigurationRequest) XXX_Unmarshal(b []byte) error
type DetailConfigurationResponseWrapper ¶
type DetailConfigurationResponseWrapper 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 *collector_center.Configuration `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DetailConfigurationApi返回
func (*DetailConfigurationResponseWrapper) Descriptor ¶
func (*DetailConfigurationResponseWrapper) Descriptor() ([]byte, []int)
func (*DetailConfigurationResponseWrapper) GetCode ¶
func (m *DetailConfigurationResponseWrapper) GetCode() int32
func (*DetailConfigurationResponseWrapper) GetCodeExplain ¶
func (m *DetailConfigurationResponseWrapper) GetCodeExplain() string
func (*DetailConfigurationResponseWrapper) GetData ¶
func (m *DetailConfigurationResponseWrapper) GetData() *collector_center.Configuration
func (*DetailConfigurationResponseWrapper) GetError ¶
func (m *DetailConfigurationResponseWrapper) GetError() string
func (*DetailConfigurationResponseWrapper) ProtoMessage ¶
func (*DetailConfigurationResponseWrapper) ProtoMessage()
func (*DetailConfigurationResponseWrapper) Reset ¶
func (m *DetailConfigurationResponseWrapper) Reset()
func (*DetailConfigurationResponseWrapper) String ¶
func (m *DetailConfigurationResponseWrapper) String() string
func (*DetailConfigurationResponseWrapper) Validate ¶
func (this *DetailConfigurationResponseWrapper) Validate() error
func (*DetailConfigurationResponseWrapper) XXX_DiscardUnknown ¶
func (m *DetailConfigurationResponseWrapper) XXX_DiscardUnknown()
func (*DetailConfigurationResponseWrapper) XXX_Marshal ¶
func (m *DetailConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailConfigurationResponseWrapper) XXX_Merge ¶
func (m *DetailConfigurationResponseWrapper) XXX_Merge(src proto.Message)
func (*DetailConfigurationResponseWrapper) XXX_Size ¶
func (m *DetailConfigurationResponseWrapper) XXX_Size() int
func (*DetailConfigurationResponseWrapper) XXX_Unmarshal ¶
func (m *DetailConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
type ListConfigurationRequest ¶
type ListConfigurationRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //是否全部 IsAll bool `protobuf:"varint,3,opt,name=isAll,proto3" json:"isAll" form:"isAll"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListConfiguration请求
func (*ListConfigurationRequest) Descriptor ¶
func (*ListConfigurationRequest) Descriptor() ([]byte, []int)
func (*ListConfigurationRequest) GetIsAll ¶
func (m *ListConfigurationRequest) GetIsAll() bool
func (*ListConfigurationRequest) GetPage ¶
func (m *ListConfigurationRequest) GetPage() int32
func (*ListConfigurationRequest) GetPageSize ¶
func (m *ListConfigurationRequest) GetPageSize() int32
func (*ListConfigurationRequest) ProtoMessage ¶
func (*ListConfigurationRequest) ProtoMessage()
func (*ListConfigurationRequest) Reset ¶
func (m *ListConfigurationRequest) Reset()
func (*ListConfigurationRequest) String ¶
func (m *ListConfigurationRequest) String() string
func (*ListConfigurationRequest) Validate ¶
func (this *ListConfigurationRequest) Validate() error
func (*ListConfigurationRequest) XXX_DiscardUnknown ¶
func (m *ListConfigurationRequest) XXX_DiscardUnknown()
func (*ListConfigurationRequest) XXX_Marshal ¶
func (m *ListConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationRequest) XXX_Merge ¶
func (m *ListConfigurationRequest) XXX_Merge(src proto.Message)
func (*ListConfigurationRequest) XXX_Size ¶
func (m *ListConfigurationRequest) XXX_Size() int
func (*ListConfigurationRequest) XXX_Unmarshal ¶
func (m *ListConfigurationRequest) XXX_Unmarshal(b []byte) error
type ListConfigurationResponse ¶
type ListConfigurationResponse 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 []*collector_center.Configuration `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListConfiguration返回
func (*ListConfigurationResponse) Descriptor ¶
func (*ListConfigurationResponse) Descriptor() ([]byte, []int)
func (*ListConfigurationResponse) GetList ¶
func (m *ListConfigurationResponse) GetList() []*collector_center.Configuration
func (*ListConfigurationResponse) GetPage ¶
func (m *ListConfigurationResponse) GetPage() int32
func (*ListConfigurationResponse) GetPageSize ¶
func (m *ListConfigurationResponse) GetPageSize() int32
func (*ListConfigurationResponse) GetTotal ¶
func (m *ListConfigurationResponse) GetTotal() int32
func (*ListConfigurationResponse) ProtoMessage ¶
func (*ListConfigurationResponse) ProtoMessage()
func (*ListConfigurationResponse) Reset ¶
func (m *ListConfigurationResponse) Reset()
func (*ListConfigurationResponse) String ¶
func (m *ListConfigurationResponse) String() string
func (*ListConfigurationResponse) Validate ¶
func (this *ListConfigurationResponse) Validate() error
func (*ListConfigurationResponse) XXX_DiscardUnknown ¶
func (m *ListConfigurationResponse) XXX_DiscardUnknown()
func (*ListConfigurationResponse) XXX_Marshal ¶
func (m *ListConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationResponse) XXX_Merge ¶
func (m *ListConfigurationResponse) XXX_Merge(src proto.Message)
func (*ListConfigurationResponse) XXX_Size ¶
func (m *ListConfigurationResponse) XXX_Size() int
func (*ListConfigurationResponse) XXX_Unmarshal ¶
func (m *ListConfigurationResponse) XXX_Unmarshal(b []byte) error
type ListConfigurationResponseWrapper ¶
type ListConfigurationResponseWrapper 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 *ListConfigurationResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListConfigurationApi返回
func (*ListConfigurationResponseWrapper) Descriptor ¶
func (*ListConfigurationResponseWrapper) Descriptor() ([]byte, []int)
func (*ListConfigurationResponseWrapper) GetCode ¶
func (m *ListConfigurationResponseWrapper) GetCode() int32
func (*ListConfigurationResponseWrapper) GetCodeExplain ¶
func (m *ListConfigurationResponseWrapper) GetCodeExplain() string
func (*ListConfigurationResponseWrapper) GetData ¶
func (m *ListConfigurationResponseWrapper) GetData() *ListConfigurationResponse
func (*ListConfigurationResponseWrapper) GetError ¶
func (m *ListConfigurationResponseWrapper) GetError() string
func (*ListConfigurationResponseWrapper) ProtoMessage ¶
func (*ListConfigurationResponseWrapper) ProtoMessage()
func (*ListConfigurationResponseWrapper) Reset ¶
func (m *ListConfigurationResponseWrapper) Reset()
func (*ListConfigurationResponseWrapper) String ¶
func (m *ListConfigurationResponseWrapper) String() string
func (*ListConfigurationResponseWrapper) Validate ¶
func (this *ListConfigurationResponseWrapper) Validate() error
func (*ListConfigurationResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListConfigurationResponseWrapper) XXX_DiscardUnknown()
func (*ListConfigurationResponseWrapper) XXX_Marshal ¶
func (m *ListConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationResponseWrapper) XXX_Merge ¶
func (m *ListConfigurationResponseWrapper) XXX_Merge(src proto.Message)
func (*ListConfigurationResponseWrapper) XXX_Size ¶
func (m *ListConfigurationResponseWrapper) XXX_Size() int
func (*ListConfigurationResponseWrapper) XXX_Unmarshal ¶
func (m *ListConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateConfiguration(context.Context, *CreateConfigurationRequest) (*CreateConfigurationResponse, error) DeleteConfiguration(context.Context, *DeleteConfigurationRequest) (*DeleteConfigurationResponse, error) DetailConfiguration(context.Context, *DetailConfigurationRequest) (*collector_center.Configuration, error) ListConfiguration(context.Context, *ListConfigurationRequest) (*ListConfigurationResponse, error) UpdateConfiguration(context.Context, *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error) }
Service is the server API for configuration service.
type UpdateConfigurationRequest ¶
type UpdateConfigurationRequest 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"` // //参数 Kwargs *types.Value `protobuf:"bytes,3,opt,name=kwargs,proto3" json:"kwargs" form:"kwargs"` // //超时时间 Timeout int32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout" form:"timeout"` // //环境变量 Env *types.Value `protobuf:"bytes,5,opt,name=env,proto3" json:"env" form:"env"` // //是否禁用 Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled" form:"disabled"` // //标签 Labels []string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels" form:"labels"` // //脚本 Script *collector_center.Script `protobuf:"bytes,8,opt,name=script,proto3" json:"script" form:"script"` // //是否忽略不符合要求数据 IgnoreInvalid bool `protobuf:"varint,9,opt,name=ignoreInvalid,proto3" json:"ignoreInvalid" form:"ignoreInvalid"` // //目标动态范围 TargetRange *collector_center.TargetRange `protobuf:"bytes,10,opt,name=targetRange,proto3" json:"targetRange" form:"targetRange"` // //采集间隔 Interval int32 `protobuf:"varint,11,opt,name=interval,proto3" json:"interval" form:"interval"` // //缓存过期次数(时间) CacheTtl int32 `protobuf:"varint,12,opt,name=cacheTtl,proto3" json:"cacheTtl" form:"cacheTtl"` // //执行时间范围(24小时) TimeRange string `protobuf:"bytes,13,opt,name=timeRange,proto3" json:"timeRange" form:"timeRange"` // //采集类型名称 ClazzName string `protobuf:"bytes,14,opt,name=clazzName,proto3" json:"clazzName" form:"clazzName"` // //关联模型ID ObjectId string `protobuf:"bytes,15,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //关联模型实例ID宏 InstanceIdMacro string `protobuf:"bytes,16,opt,name=instanceIdMacro,proto3" json:"instanceIdMacro" form:"instanceIdMacro"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateConfiguration请求
func (*UpdateConfigurationRequest) Descriptor ¶
func (*UpdateConfigurationRequest) Descriptor() ([]byte, []int)
func (*UpdateConfigurationRequest) GetCacheTtl ¶
func (m *UpdateConfigurationRequest) GetCacheTtl() int32
func (*UpdateConfigurationRequest) GetClazzName ¶
func (m *UpdateConfigurationRequest) GetClazzName() string
func (*UpdateConfigurationRequest) GetDisabled ¶
func (m *UpdateConfigurationRequest) GetDisabled() bool
func (*UpdateConfigurationRequest) GetEnv ¶
func (m *UpdateConfigurationRequest) GetEnv() *types.Value
func (*UpdateConfigurationRequest) GetId ¶
func (m *UpdateConfigurationRequest) GetId() string
func (*UpdateConfigurationRequest) GetIgnoreInvalid ¶
func (m *UpdateConfigurationRequest) GetIgnoreInvalid() bool
func (*UpdateConfigurationRequest) GetInstanceIdMacro ¶
func (m *UpdateConfigurationRequest) GetInstanceIdMacro() string
func (*UpdateConfigurationRequest) GetInterval ¶
func (m *UpdateConfigurationRequest) GetInterval() int32
func (*UpdateConfigurationRequest) GetKwargs ¶
func (m *UpdateConfigurationRequest) GetKwargs() *types.Value
func (*UpdateConfigurationRequest) GetLabels ¶
func (m *UpdateConfigurationRequest) GetLabels() []string
func (*UpdateConfigurationRequest) GetName ¶
func (m *UpdateConfigurationRequest) GetName() string
func (*UpdateConfigurationRequest) GetObjectId ¶
func (m *UpdateConfigurationRequest) GetObjectId() string
func (*UpdateConfigurationRequest) GetScript ¶
func (m *UpdateConfigurationRequest) GetScript() *collector_center.Script
func (*UpdateConfigurationRequest) GetTargetRange ¶
func (m *UpdateConfigurationRequest) GetTargetRange() *collector_center.TargetRange
func (*UpdateConfigurationRequest) GetTimeRange ¶
func (m *UpdateConfigurationRequest) GetTimeRange() string
func (*UpdateConfigurationRequest) GetTimeout ¶
func (m *UpdateConfigurationRequest) GetTimeout() int32
func (*UpdateConfigurationRequest) ProtoMessage ¶
func (*UpdateConfigurationRequest) ProtoMessage()
func (*UpdateConfigurationRequest) Reset ¶
func (m *UpdateConfigurationRequest) Reset()
func (*UpdateConfigurationRequest) String ¶
func (m *UpdateConfigurationRequest) String() string
func (*UpdateConfigurationRequest) Validate ¶
func (this *UpdateConfigurationRequest) Validate() error
func (*UpdateConfigurationRequest) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationRequest) XXX_DiscardUnknown()
func (*UpdateConfigurationRequest) XXX_Marshal ¶
func (m *UpdateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationRequest) XXX_Merge ¶
func (m *UpdateConfigurationRequest) XXX_Merge(src proto.Message)
func (*UpdateConfigurationRequest) XXX_Size ¶
func (m *UpdateConfigurationRequest) XXX_Size() int
func (*UpdateConfigurationRequest) XXX_Unmarshal ¶
func (m *UpdateConfigurationRequest) XXX_Unmarshal(b []byte) error
type UpdateConfigurationResponse ¶
type UpdateConfigurationResponse struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateConfiguration返回
func (*UpdateConfigurationResponse) Descriptor ¶
func (*UpdateConfigurationResponse) Descriptor() ([]byte, []int)
func (*UpdateConfigurationResponse) GetId ¶
func (m *UpdateConfigurationResponse) GetId() string
func (*UpdateConfigurationResponse) ProtoMessage ¶
func (*UpdateConfigurationResponse) ProtoMessage()
func (*UpdateConfigurationResponse) Reset ¶
func (m *UpdateConfigurationResponse) Reset()
func (*UpdateConfigurationResponse) String ¶
func (m *UpdateConfigurationResponse) String() string
func (*UpdateConfigurationResponse) Validate ¶
func (this *UpdateConfigurationResponse) Validate() error
func (*UpdateConfigurationResponse) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationResponse) XXX_DiscardUnknown()
func (*UpdateConfigurationResponse) XXX_Marshal ¶
func (m *UpdateConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationResponse) XXX_Merge ¶
func (m *UpdateConfigurationResponse) XXX_Merge(src proto.Message)
func (*UpdateConfigurationResponse) XXX_Size ¶
func (m *UpdateConfigurationResponse) XXX_Size() int
func (*UpdateConfigurationResponse) XXX_Unmarshal ¶
func (m *UpdateConfigurationResponse) XXX_Unmarshal(b []byte) error
type UpdateConfigurationResponseWrapper ¶
type UpdateConfigurationResponseWrapper 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 *UpdateConfigurationResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateConfigurationApi返回
func (*UpdateConfigurationResponseWrapper) Descriptor ¶
func (*UpdateConfigurationResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateConfigurationResponseWrapper) GetCode ¶
func (m *UpdateConfigurationResponseWrapper) GetCode() int32
func (*UpdateConfigurationResponseWrapper) GetCodeExplain ¶
func (m *UpdateConfigurationResponseWrapper) GetCodeExplain() string
func (*UpdateConfigurationResponseWrapper) GetData ¶
func (m *UpdateConfigurationResponseWrapper) GetData() *UpdateConfigurationResponse
func (*UpdateConfigurationResponseWrapper) GetError ¶
func (m *UpdateConfigurationResponseWrapper) GetError() string
func (*UpdateConfigurationResponseWrapper) ProtoMessage ¶
func (*UpdateConfigurationResponseWrapper) ProtoMessage()
func (*UpdateConfigurationResponseWrapper) Reset ¶
func (m *UpdateConfigurationResponseWrapper) Reset()
func (*UpdateConfigurationResponseWrapper) String ¶
func (m *UpdateConfigurationResponseWrapper) String() string
func (*UpdateConfigurationResponseWrapper) Validate ¶
func (this *UpdateConfigurationResponseWrapper) Validate() error
func (*UpdateConfigurationResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationResponseWrapper) XXX_DiscardUnknown()
func (*UpdateConfigurationResponseWrapper) XXX_Marshal ¶
func (m *UpdateConfigurationResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationResponseWrapper) XXX_Merge ¶
func (m *UpdateConfigurationResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateConfigurationResponseWrapper) XXX_Size ¶
func (m *UpdateConfigurationResponseWrapper) XXX_Size() int
func (*UpdateConfigurationResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files ¶
- create_configuration.pb.go
- create_configuration.validator.pb.go
- delete_configuration.pb.go
- delete_configuration.validator.pb.go
- detail_configuration.pb.go
- detail_configuration.validator.pb.go
- giraffe_service.giraffe.pb.go
- list_configuration.pb.go
- list_configuration.validator.pb.go
- update_configuration.pb.go
- update_configuration.validator.pb.go
Click to show internal directories.
Click to hide internal directories.