Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateConfigurationTemplateRequest
- func (*CreateConfigurationTemplateRequest) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationTemplateRequest) GetCacheTtl() int32
- func (m *CreateConfigurationTemplateRequest) GetClazzName() string
- func (m *CreateConfigurationTemplateRequest) GetDisabled() bool
- func (m *CreateConfigurationTemplateRequest) GetEnv() *types.Value
- func (m *CreateConfigurationTemplateRequest) GetIgnoreInvalid() bool
- func (m *CreateConfigurationTemplateRequest) GetInterval() int32
- func (m *CreateConfigurationTemplateRequest) GetKwargs() *types.Value
- func (m *CreateConfigurationTemplateRequest) GetLabels() []string
- func (m *CreateConfigurationTemplateRequest) GetName() string
- func (m *CreateConfigurationTemplateRequest) GetScript() *collector_center.Script
- func (m *CreateConfigurationTemplateRequest) GetTargetRange() *collector_center.TargetRange
- func (m *CreateConfigurationTemplateRequest) GetTimeRange() string
- func (m *CreateConfigurationTemplateRequest) GetTimeout() int32
- func (*CreateConfigurationTemplateRequest) ProtoMessage()
- func (m *CreateConfigurationTemplateRequest) Reset()
- func (m *CreateConfigurationTemplateRequest) String() string
- func (this *CreateConfigurationTemplateRequest) Validate() error
- func (m *CreateConfigurationTemplateRequest) XXX_DiscardUnknown()
- func (m *CreateConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationTemplateRequest) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationTemplateRequest) XXX_Size() int
- func (m *CreateConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
- type CreateConfigurationTemplateResponse
- func (*CreateConfigurationTemplateResponse) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationTemplateResponse) GetId() string
- func (*CreateConfigurationTemplateResponse) ProtoMessage()
- func (m *CreateConfigurationTemplateResponse) Reset()
- func (m *CreateConfigurationTemplateResponse) String() string
- func (this *CreateConfigurationTemplateResponse) Validate() error
- func (m *CreateConfigurationTemplateResponse) XXX_DiscardUnknown()
- func (m *CreateConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationTemplateResponse) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationTemplateResponse) XXX_Size() int
- func (m *CreateConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
- type CreateConfigurationTemplateResponseWrapper
- func (*CreateConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateConfigurationTemplateResponseWrapper) GetCode() int32
- func (m *CreateConfigurationTemplateResponseWrapper) GetCodeExplain() string
- func (m *CreateConfigurationTemplateResponseWrapper) GetData() *CreateConfigurationTemplateResponse
- func (m *CreateConfigurationTemplateResponseWrapper) GetError() string
- func (*CreateConfigurationTemplateResponseWrapper) ProtoMessage()
- func (m *CreateConfigurationTemplateResponseWrapper) Reset()
- func (m *CreateConfigurationTemplateResponseWrapper) String() string
- func (this *CreateConfigurationTemplateResponseWrapper) Validate() error
- func (m *CreateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateConfigurationTemplateResponseWrapper) XXX_Size() int
- func (m *CreateConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationTemplateRequest
- func (*DeleteConfigurationTemplateRequest) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationTemplateRequest) GetId() string
- func (*DeleteConfigurationTemplateRequest) ProtoMessage()
- func (m *DeleteConfigurationTemplateRequest) Reset()
- func (m *DeleteConfigurationTemplateRequest) String() string
- func (this *DeleteConfigurationTemplateRequest) Validate() error
- func (m *DeleteConfigurationTemplateRequest) XXX_DiscardUnknown()
- func (m *DeleteConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationTemplateRequest) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationTemplateRequest) XXX_Size() int
- func (m *DeleteConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationTemplateResponse
- func (*DeleteConfigurationTemplateResponse) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationTemplateResponse) GetId() string
- func (*DeleteConfigurationTemplateResponse) ProtoMessage()
- func (m *DeleteConfigurationTemplateResponse) Reset()
- func (m *DeleteConfigurationTemplateResponse) String() string
- func (this *DeleteConfigurationTemplateResponse) Validate() error
- func (m *DeleteConfigurationTemplateResponse) XXX_DiscardUnknown()
- func (m *DeleteConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationTemplateResponse) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationTemplateResponse) XXX_Size() int
- func (m *DeleteConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
- type DeleteConfigurationTemplateResponseWrapper
- func (*DeleteConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteConfigurationTemplateResponseWrapper) GetCode() int32
- func (m *DeleteConfigurationTemplateResponseWrapper) GetCodeExplain() string
- func (m *DeleteConfigurationTemplateResponseWrapper) GetData() *DeleteConfigurationTemplateResponse
- func (m *DeleteConfigurationTemplateResponseWrapper) GetError() string
- func (*DeleteConfigurationTemplateResponseWrapper) ProtoMessage()
- func (m *DeleteConfigurationTemplateResponseWrapper) Reset()
- func (m *DeleteConfigurationTemplateResponseWrapper) String() string
- func (this *DeleteConfigurationTemplateResponseWrapper) Validate() error
- func (m *DeleteConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Size() int
- func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
- type DetailConfigurationTemplateRequest
- func (*DetailConfigurationTemplateRequest) Descriptor() ([]byte, []int)
- func (m *DetailConfigurationTemplateRequest) GetId() string
- func (*DetailConfigurationTemplateRequest) ProtoMessage()
- func (m *DetailConfigurationTemplateRequest) Reset()
- func (m *DetailConfigurationTemplateRequest) String() string
- func (this *DetailConfigurationTemplateRequest) Validate() error
- func (m *DetailConfigurationTemplateRequest) XXX_DiscardUnknown()
- func (m *DetailConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailConfigurationTemplateRequest) XXX_Merge(src proto.Message)
- func (m *DetailConfigurationTemplateRequest) XXX_Size() int
- func (m *DetailConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
- type DetailConfigurationTemplateResponseWrapper
- func (*DetailConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DetailConfigurationTemplateResponseWrapper) GetCode() int32
- func (m *DetailConfigurationTemplateResponseWrapper) GetCodeExplain() string
- func (m *DetailConfigurationTemplateResponseWrapper) GetData() *collector_center.ConfigurationTemplate
- func (m *DetailConfigurationTemplateResponseWrapper) GetError() string
- func (*DetailConfigurationTemplateResponseWrapper) ProtoMessage()
- func (m *DetailConfigurationTemplateResponseWrapper) Reset()
- func (m *DetailConfigurationTemplateResponseWrapper) String() string
- func (this *DetailConfigurationTemplateResponseWrapper) Validate() error
- func (m *DetailConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
- func (m *DetailConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DetailConfigurationTemplateResponseWrapper) XXX_Size() int
- func (m *DetailConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListConfigurationTemplateRequest
- func (*ListConfigurationTemplateRequest) Descriptor() ([]byte, []int)
- func (m *ListConfigurationTemplateRequest) GetIsAll() bool
- func (m *ListConfigurationTemplateRequest) GetPage() int32
- func (m *ListConfigurationTemplateRequest) GetPageSize() int32
- func (*ListConfigurationTemplateRequest) ProtoMessage()
- func (m *ListConfigurationTemplateRequest) Reset()
- func (m *ListConfigurationTemplateRequest) String() string
- func (this *ListConfigurationTemplateRequest) Validate() error
- func (m *ListConfigurationTemplateRequest) XXX_DiscardUnknown()
- func (m *ListConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationTemplateRequest) XXX_Merge(src proto.Message)
- func (m *ListConfigurationTemplateRequest) XXX_Size() int
- func (m *ListConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
- type ListConfigurationTemplateResponse
- func (*ListConfigurationTemplateResponse) Descriptor() ([]byte, []int)
- func (m *ListConfigurationTemplateResponse) GetList() []*collector_center.ConfigurationTemplate
- func (m *ListConfigurationTemplateResponse) GetPage() int32
- func (m *ListConfigurationTemplateResponse) GetPageSize() int32
- func (m *ListConfigurationTemplateResponse) GetTotal() int32
- func (*ListConfigurationTemplateResponse) ProtoMessage()
- func (m *ListConfigurationTemplateResponse) Reset()
- func (m *ListConfigurationTemplateResponse) String() string
- func (this *ListConfigurationTemplateResponse) Validate() error
- func (m *ListConfigurationTemplateResponse) XXX_DiscardUnknown()
- func (m *ListConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationTemplateResponse) XXX_Merge(src proto.Message)
- func (m *ListConfigurationTemplateResponse) XXX_Size() int
- func (m *ListConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
- type ListConfigurationTemplateResponseWrapper
- func (*ListConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListConfigurationTemplateResponseWrapper) GetCode() int32
- func (m *ListConfigurationTemplateResponseWrapper) GetCodeExplain() string
- func (m *ListConfigurationTemplateResponseWrapper) GetData() *ListConfigurationTemplateResponse
- func (m *ListConfigurationTemplateResponseWrapper) GetError() string
- func (*ListConfigurationTemplateResponseWrapper) ProtoMessage()
- func (m *ListConfigurationTemplateResponseWrapper) Reset()
- func (m *ListConfigurationTemplateResponseWrapper) String() string
- func (this *ListConfigurationTemplateResponseWrapper) Validate() error
- func (m *ListConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
- func (m *ListConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListConfigurationTemplateResponseWrapper) XXX_Size() int
- func (m *ListConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateConfigurationTemplateRequest
- func (*UpdateConfigurationTemplateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationTemplateRequest) GetCacheTtl() int32
- func (m *UpdateConfigurationTemplateRequest) GetClazzName() string
- func (m *UpdateConfigurationTemplateRequest) GetDisabled() bool
- func (m *UpdateConfigurationTemplateRequest) GetEnv() *types.Value
- func (m *UpdateConfigurationTemplateRequest) GetId() string
- func (m *UpdateConfigurationTemplateRequest) GetIgnoreInvalid() bool
- func (m *UpdateConfigurationTemplateRequest) GetInterval() int32
- func (m *UpdateConfigurationTemplateRequest) GetKwargs() *types.Value
- func (m *UpdateConfigurationTemplateRequest) GetLabels() []string
- func (m *UpdateConfigurationTemplateRequest) GetName() string
- func (m *UpdateConfigurationTemplateRequest) GetScript() *collector_center.Script
- func (m *UpdateConfigurationTemplateRequest) GetTargetRange() *collector_center.TargetRange
- func (m *UpdateConfigurationTemplateRequest) GetTimeRange() string
- func (m *UpdateConfigurationTemplateRequest) GetTimeout() int32
- func (*UpdateConfigurationTemplateRequest) ProtoMessage()
- func (m *UpdateConfigurationTemplateRequest) Reset()
- func (m *UpdateConfigurationTemplateRequest) String() string
- func (this *UpdateConfigurationTemplateRequest) Validate() error
- func (m *UpdateConfigurationTemplateRequest) XXX_DiscardUnknown()
- func (m *UpdateConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationTemplateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationTemplateRequest) XXX_Size() int
- func (m *UpdateConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
- type UpdateConfigurationTemplateResponse
- func (*UpdateConfigurationTemplateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationTemplateResponse) GetId() string
- func (*UpdateConfigurationTemplateResponse) ProtoMessage()
- func (m *UpdateConfigurationTemplateResponse) Reset()
- func (m *UpdateConfigurationTemplateResponse) String() string
- func (this *UpdateConfigurationTemplateResponse) Validate() error
- func (m *UpdateConfigurationTemplateResponse) XXX_DiscardUnknown()
- func (m *UpdateConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationTemplateResponse) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationTemplateResponse) XXX_Size() int
- func (m *UpdateConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
- type UpdateConfigurationTemplateResponseWrapper
- func (*UpdateConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationTemplateResponseWrapper) GetCode() int32
- func (m *UpdateConfigurationTemplateResponseWrapper) GetCodeExplain() string
- func (m *UpdateConfigurationTemplateResponseWrapper) GetData() *UpdateConfigurationTemplateResponse
- func (m *UpdateConfigurationTemplateResponseWrapper) GetError() string
- func (*UpdateConfigurationTemplateResponseWrapper) ProtoMessage()
- func (m *UpdateConfigurationTemplateResponseWrapper) Reset()
- func (m *UpdateConfigurationTemplateResponseWrapper) String() string
- func (this *UpdateConfigurationTemplateResponseWrapper) Validate() error
- func (m *UpdateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Size() int
- func (m *UpdateConfigurationTemplateResponseWrapper) 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 { CreateConfigurationTemplate(ctx context.Context, in *CreateConfigurationTemplateRequest) (*CreateConfigurationTemplateResponse, error) DeleteConfigurationTemplate(ctx context.Context, in *DeleteConfigurationTemplateRequest) (*DeleteConfigurationTemplateResponse, error) DetailConfigurationTemplate(ctx context.Context, in *DetailConfigurationTemplateRequest) (*collector_center.ConfigurationTemplate, error) ListConfigurationTemplate(ctx context.Context, in *ListConfigurationTemplateRequest) (*ListConfigurationTemplateResponse, error) UpdateConfigurationTemplate(ctx context.Context, in *UpdateConfigurationTemplateRequest) (*UpdateConfigurationTemplateResponse, error) }
Client is the client API for template 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 CreateConfigurationTemplateRequest ¶
type CreateConfigurationTemplateRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateConfigurationTemplate请求
func (*CreateConfigurationTemplateRequest) Descriptor ¶
func (*CreateConfigurationTemplateRequest) Descriptor() ([]byte, []int)
func (*CreateConfigurationTemplateRequest) GetCacheTtl ¶
func (m *CreateConfigurationTemplateRequest) GetCacheTtl() int32
func (*CreateConfigurationTemplateRequest) GetClazzName ¶
func (m *CreateConfigurationTemplateRequest) GetClazzName() string
func (*CreateConfigurationTemplateRequest) GetDisabled ¶
func (m *CreateConfigurationTemplateRequest) GetDisabled() bool
func (*CreateConfigurationTemplateRequest) GetEnv ¶
func (m *CreateConfigurationTemplateRequest) GetEnv() *types.Value
func (*CreateConfigurationTemplateRequest) GetIgnoreInvalid ¶
func (m *CreateConfigurationTemplateRequest) GetIgnoreInvalid() bool
func (*CreateConfigurationTemplateRequest) GetInterval ¶
func (m *CreateConfigurationTemplateRequest) GetInterval() int32
func (*CreateConfigurationTemplateRequest) GetKwargs ¶
func (m *CreateConfigurationTemplateRequest) GetKwargs() *types.Value
func (*CreateConfigurationTemplateRequest) GetLabels ¶
func (m *CreateConfigurationTemplateRequest) GetLabels() []string
func (*CreateConfigurationTemplateRequest) GetName ¶
func (m *CreateConfigurationTemplateRequest) GetName() string
func (*CreateConfigurationTemplateRequest) GetScript ¶
func (m *CreateConfigurationTemplateRequest) GetScript() *collector_center.Script
func (*CreateConfigurationTemplateRequest) GetTargetRange ¶
func (m *CreateConfigurationTemplateRequest) GetTargetRange() *collector_center.TargetRange
func (*CreateConfigurationTemplateRequest) GetTimeRange ¶
func (m *CreateConfigurationTemplateRequest) GetTimeRange() string
func (*CreateConfigurationTemplateRequest) GetTimeout ¶
func (m *CreateConfigurationTemplateRequest) GetTimeout() int32
func (*CreateConfigurationTemplateRequest) ProtoMessage ¶
func (*CreateConfigurationTemplateRequest) ProtoMessage()
func (*CreateConfigurationTemplateRequest) Reset ¶
func (m *CreateConfigurationTemplateRequest) Reset()
func (*CreateConfigurationTemplateRequest) String ¶
func (m *CreateConfigurationTemplateRequest) String() string
func (*CreateConfigurationTemplateRequest) Validate ¶
func (this *CreateConfigurationTemplateRequest) Validate() error
func (*CreateConfigurationTemplateRequest) XXX_DiscardUnknown ¶
func (m *CreateConfigurationTemplateRequest) XXX_DiscardUnknown()
func (*CreateConfigurationTemplateRequest) XXX_Marshal ¶
func (m *CreateConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationTemplateRequest) XXX_Merge ¶
func (m *CreateConfigurationTemplateRequest) XXX_Merge(src proto.Message)
func (*CreateConfigurationTemplateRequest) XXX_Size ¶
func (m *CreateConfigurationTemplateRequest) XXX_Size() int
func (*CreateConfigurationTemplateRequest) XXX_Unmarshal ¶
func (m *CreateConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
type CreateConfigurationTemplateResponse ¶
type CreateConfigurationTemplateResponse 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:"-"` }
CreateConfigurationTemplate返回
func (*CreateConfigurationTemplateResponse) Descriptor ¶
func (*CreateConfigurationTemplateResponse) Descriptor() ([]byte, []int)
func (*CreateConfigurationTemplateResponse) GetId ¶
func (m *CreateConfigurationTemplateResponse) GetId() string
func (*CreateConfigurationTemplateResponse) ProtoMessage ¶
func (*CreateConfigurationTemplateResponse) ProtoMessage()
func (*CreateConfigurationTemplateResponse) Reset ¶
func (m *CreateConfigurationTemplateResponse) Reset()
func (*CreateConfigurationTemplateResponse) String ¶
func (m *CreateConfigurationTemplateResponse) String() string
func (*CreateConfigurationTemplateResponse) Validate ¶
func (this *CreateConfigurationTemplateResponse) Validate() error
func (*CreateConfigurationTemplateResponse) XXX_DiscardUnknown ¶
func (m *CreateConfigurationTemplateResponse) XXX_DiscardUnknown()
func (*CreateConfigurationTemplateResponse) XXX_Marshal ¶
func (m *CreateConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationTemplateResponse) XXX_Merge ¶
func (m *CreateConfigurationTemplateResponse) XXX_Merge(src proto.Message)
func (*CreateConfigurationTemplateResponse) XXX_Size ¶
func (m *CreateConfigurationTemplateResponse) XXX_Size() int
func (*CreateConfigurationTemplateResponse) XXX_Unmarshal ¶
func (m *CreateConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
type CreateConfigurationTemplateResponseWrapper ¶
type CreateConfigurationTemplateResponseWrapper 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 *CreateConfigurationTemplateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateConfigurationTemplateApi返回
func (*CreateConfigurationTemplateResponseWrapper) Descriptor ¶
func (*CreateConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateConfigurationTemplateResponseWrapper) GetCode ¶
func (m *CreateConfigurationTemplateResponseWrapper) GetCode() int32
func (*CreateConfigurationTemplateResponseWrapper) GetCodeExplain ¶
func (m *CreateConfigurationTemplateResponseWrapper) GetCodeExplain() string
func (*CreateConfigurationTemplateResponseWrapper) GetData ¶
func (m *CreateConfigurationTemplateResponseWrapper) GetData() *CreateConfigurationTemplateResponse
func (*CreateConfigurationTemplateResponseWrapper) GetError ¶
func (m *CreateConfigurationTemplateResponseWrapper) GetError() string
func (*CreateConfigurationTemplateResponseWrapper) ProtoMessage ¶
func (*CreateConfigurationTemplateResponseWrapper) ProtoMessage()
func (*CreateConfigurationTemplateResponseWrapper) Reset ¶
func (m *CreateConfigurationTemplateResponseWrapper) Reset()
func (*CreateConfigurationTemplateResponseWrapper) String ¶
func (m *CreateConfigurationTemplateResponseWrapper) String() string
func (*CreateConfigurationTemplateResponseWrapper) Validate ¶
func (this *CreateConfigurationTemplateResponseWrapper) Validate() error
func (*CreateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
func (*CreateConfigurationTemplateResponseWrapper) XXX_Marshal ¶
func (m *CreateConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateConfigurationTemplateResponseWrapper) XXX_Merge ¶
func (m *CreateConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateConfigurationTemplateResponseWrapper) XXX_Size ¶
func (m *CreateConfigurationTemplateResponseWrapper) XXX_Size() int
func (*CreateConfigurationTemplateResponseWrapper) XXX_Unmarshal ¶
func (m *CreateConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteConfigurationTemplateRequest ¶
type DeleteConfigurationTemplateRequest 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:"-"` }
DeleteConfigurationTemplate请求
func (*DeleteConfigurationTemplateRequest) Descriptor ¶
func (*DeleteConfigurationTemplateRequest) Descriptor() ([]byte, []int)
func (*DeleteConfigurationTemplateRequest) GetId ¶
func (m *DeleteConfigurationTemplateRequest) GetId() string
func (*DeleteConfigurationTemplateRequest) ProtoMessage ¶
func (*DeleteConfigurationTemplateRequest) ProtoMessage()
func (*DeleteConfigurationTemplateRequest) Reset ¶
func (m *DeleteConfigurationTemplateRequest) Reset()
func (*DeleteConfigurationTemplateRequest) String ¶
func (m *DeleteConfigurationTemplateRequest) String() string
func (*DeleteConfigurationTemplateRequest) Validate ¶
func (this *DeleteConfigurationTemplateRequest) Validate() error
func (*DeleteConfigurationTemplateRequest) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationTemplateRequest) XXX_DiscardUnknown()
func (*DeleteConfigurationTemplateRequest) XXX_Marshal ¶
func (m *DeleteConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationTemplateRequest) XXX_Merge ¶
func (m *DeleteConfigurationTemplateRequest) XXX_Merge(src proto.Message)
func (*DeleteConfigurationTemplateRequest) XXX_Size ¶
func (m *DeleteConfigurationTemplateRequest) XXX_Size() int
func (*DeleteConfigurationTemplateRequest) XXX_Unmarshal ¶
func (m *DeleteConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
type DeleteConfigurationTemplateResponse ¶
type DeleteConfigurationTemplateResponse 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:"-"` }
DeleteConfigurationTemplate返回
func (*DeleteConfigurationTemplateResponse) Descriptor ¶
func (*DeleteConfigurationTemplateResponse) Descriptor() ([]byte, []int)
func (*DeleteConfigurationTemplateResponse) GetId ¶
func (m *DeleteConfigurationTemplateResponse) GetId() string
func (*DeleteConfigurationTemplateResponse) ProtoMessage ¶
func (*DeleteConfigurationTemplateResponse) ProtoMessage()
func (*DeleteConfigurationTemplateResponse) Reset ¶
func (m *DeleteConfigurationTemplateResponse) Reset()
func (*DeleteConfigurationTemplateResponse) String ¶
func (m *DeleteConfigurationTemplateResponse) String() string
func (*DeleteConfigurationTemplateResponse) Validate ¶
func (this *DeleteConfigurationTemplateResponse) Validate() error
func (*DeleteConfigurationTemplateResponse) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationTemplateResponse) XXX_DiscardUnknown()
func (*DeleteConfigurationTemplateResponse) XXX_Marshal ¶
func (m *DeleteConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationTemplateResponse) XXX_Merge ¶
func (m *DeleteConfigurationTemplateResponse) XXX_Merge(src proto.Message)
func (*DeleteConfigurationTemplateResponse) XXX_Size ¶
func (m *DeleteConfigurationTemplateResponse) XXX_Size() int
func (*DeleteConfigurationTemplateResponse) XXX_Unmarshal ¶
func (m *DeleteConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
type DeleteConfigurationTemplateResponseWrapper ¶
type DeleteConfigurationTemplateResponseWrapper 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 *DeleteConfigurationTemplateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteConfigurationTemplateApi返回
func (*DeleteConfigurationTemplateResponseWrapper) Descriptor ¶
func (*DeleteConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteConfigurationTemplateResponseWrapper) GetCode ¶
func (m *DeleteConfigurationTemplateResponseWrapper) GetCode() int32
func (*DeleteConfigurationTemplateResponseWrapper) GetCodeExplain ¶
func (m *DeleteConfigurationTemplateResponseWrapper) GetCodeExplain() string
func (*DeleteConfigurationTemplateResponseWrapper) GetData ¶
func (m *DeleteConfigurationTemplateResponseWrapper) GetData() *DeleteConfigurationTemplateResponse
func (*DeleteConfigurationTemplateResponseWrapper) GetError ¶
func (m *DeleteConfigurationTemplateResponseWrapper) GetError() string
func (*DeleteConfigurationTemplateResponseWrapper) ProtoMessage ¶
func (*DeleteConfigurationTemplateResponseWrapper) ProtoMessage()
func (*DeleteConfigurationTemplateResponseWrapper) Reset ¶
func (m *DeleteConfigurationTemplateResponseWrapper) Reset()
func (*DeleteConfigurationTemplateResponseWrapper) String ¶
func (m *DeleteConfigurationTemplateResponseWrapper) String() string
func (*DeleteConfigurationTemplateResponseWrapper) Validate ¶
func (this *DeleteConfigurationTemplateResponseWrapper) Validate() error
func (*DeleteConfigurationTemplateResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
func (*DeleteConfigurationTemplateResponseWrapper) XXX_Marshal ¶
func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigurationTemplateResponseWrapper) XXX_Merge ¶
func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteConfigurationTemplateResponseWrapper) XXX_Size ¶
func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Size() int
func (*DeleteConfigurationTemplateResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
type DetailConfigurationTemplateRequest ¶
type DetailConfigurationTemplateRequest 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:"-"` }
DetailConfigurationTemplate请求
func (*DetailConfigurationTemplateRequest) Descriptor ¶
func (*DetailConfigurationTemplateRequest) Descriptor() ([]byte, []int)
func (*DetailConfigurationTemplateRequest) GetId ¶
func (m *DetailConfigurationTemplateRequest) GetId() string
func (*DetailConfigurationTemplateRequest) ProtoMessage ¶
func (*DetailConfigurationTemplateRequest) ProtoMessage()
func (*DetailConfigurationTemplateRequest) Reset ¶
func (m *DetailConfigurationTemplateRequest) Reset()
func (*DetailConfigurationTemplateRequest) String ¶
func (m *DetailConfigurationTemplateRequest) String() string
func (*DetailConfigurationTemplateRequest) Validate ¶
func (this *DetailConfigurationTemplateRequest) Validate() error
func (*DetailConfigurationTemplateRequest) XXX_DiscardUnknown ¶
func (m *DetailConfigurationTemplateRequest) XXX_DiscardUnknown()
func (*DetailConfigurationTemplateRequest) XXX_Marshal ¶
func (m *DetailConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailConfigurationTemplateRequest) XXX_Merge ¶
func (m *DetailConfigurationTemplateRequest) XXX_Merge(src proto.Message)
func (*DetailConfigurationTemplateRequest) XXX_Size ¶
func (m *DetailConfigurationTemplateRequest) XXX_Size() int
func (*DetailConfigurationTemplateRequest) XXX_Unmarshal ¶
func (m *DetailConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
type DetailConfigurationTemplateResponseWrapper ¶
type DetailConfigurationTemplateResponseWrapper 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.ConfigurationTemplate `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DetailConfigurationTemplateApi返回
func (*DetailConfigurationTemplateResponseWrapper) Descriptor ¶
func (*DetailConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
func (*DetailConfigurationTemplateResponseWrapper) GetCode ¶
func (m *DetailConfigurationTemplateResponseWrapper) GetCode() int32
func (*DetailConfigurationTemplateResponseWrapper) GetCodeExplain ¶
func (m *DetailConfigurationTemplateResponseWrapper) GetCodeExplain() string
func (*DetailConfigurationTemplateResponseWrapper) GetData ¶
func (m *DetailConfigurationTemplateResponseWrapper) GetData() *collector_center.ConfigurationTemplate
func (*DetailConfigurationTemplateResponseWrapper) GetError ¶
func (m *DetailConfigurationTemplateResponseWrapper) GetError() string
func (*DetailConfigurationTemplateResponseWrapper) ProtoMessage ¶
func (*DetailConfigurationTemplateResponseWrapper) ProtoMessage()
func (*DetailConfigurationTemplateResponseWrapper) Reset ¶
func (m *DetailConfigurationTemplateResponseWrapper) Reset()
func (*DetailConfigurationTemplateResponseWrapper) String ¶
func (m *DetailConfigurationTemplateResponseWrapper) String() string
func (*DetailConfigurationTemplateResponseWrapper) Validate ¶
func (this *DetailConfigurationTemplateResponseWrapper) Validate() error
func (*DetailConfigurationTemplateResponseWrapper) XXX_DiscardUnknown ¶
func (m *DetailConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
func (*DetailConfigurationTemplateResponseWrapper) XXX_Marshal ¶
func (m *DetailConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailConfigurationTemplateResponseWrapper) XXX_Merge ¶
func (m *DetailConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
func (*DetailConfigurationTemplateResponseWrapper) XXX_Size ¶
func (m *DetailConfigurationTemplateResponseWrapper) XXX_Size() int
func (*DetailConfigurationTemplateResponseWrapper) XXX_Unmarshal ¶
func (m *DetailConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
type ListConfigurationTemplateRequest ¶
type ListConfigurationTemplateRequest 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:"-"` }
ListConfigurationTemplate请求
func (*ListConfigurationTemplateRequest) Descriptor ¶
func (*ListConfigurationTemplateRequest) Descriptor() ([]byte, []int)
func (*ListConfigurationTemplateRequest) GetIsAll ¶
func (m *ListConfigurationTemplateRequest) GetIsAll() bool
func (*ListConfigurationTemplateRequest) GetPage ¶
func (m *ListConfigurationTemplateRequest) GetPage() int32
func (*ListConfigurationTemplateRequest) GetPageSize ¶
func (m *ListConfigurationTemplateRequest) GetPageSize() int32
func (*ListConfigurationTemplateRequest) ProtoMessage ¶
func (*ListConfigurationTemplateRequest) ProtoMessage()
func (*ListConfigurationTemplateRequest) Reset ¶
func (m *ListConfigurationTemplateRequest) Reset()
func (*ListConfigurationTemplateRequest) String ¶
func (m *ListConfigurationTemplateRequest) String() string
func (*ListConfigurationTemplateRequest) Validate ¶
func (this *ListConfigurationTemplateRequest) Validate() error
func (*ListConfigurationTemplateRequest) XXX_DiscardUnknown ¶
func (m *ListConfigurationTemplateRequest) XXX_DiscardUnknown()
func (*ListConfigurationTemplateRequest) XXX_Marshal ¶
func (m *ListConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationTemplateRequest) XXX_Merge ¶
func (m *ListConfigurationTemplateRequest) XXX_Merge(src proto.Message)
func (*ListConfigurationTemplateRequest) XXX_Size ¶
func (m *ListConfigurationTemplateRequest) XXX_Size() int
func (*ListConfigurationTemplateRequest) XXX_Unmarshal ¶
func (m *ListConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
type ListConfigurationTemplateResponse ¶
type ListConfigurationTemplateResponse 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.ConfigurationTemplate `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListConfigurationTemplate返回
func (*ListConfigurationTemplateResponse) Descriptor ¶
func (*ListConfigurationTemplateResponse) Descriptor() ([]byte, []int)
func (*ListConfigurationTemplateResponse) GetList ¶
func (m *ListConfigurationTemplateResponse) GetList() []*collector_center.ConfigurationTemplate
func (*ListConfigurationTemplateResponse) GetPage ¶
func (m *ListConfigurationTemplateResponse) GetPage() int32
func (*ListConfigurationTemplateResponse) GetPageSize ¶
func (m *ListConfigurationTemplateResponse) GetPageSize() int32
func (*ListConfigurationTemplateResponse) GetTotal ¶
func (m *ListConfigurationTemplateResponse) GetTotal() int32
func (*ListConfigurationTemplateResponse) ProtoMessage ¶
func (*ListConfigurationTemplateResponse) ProtoMessage()
func (*ListConfigurationTemplateResponse) Reset ¶
func (m *ListConfigurationTemplateResponse) Reset()
func (*ListConfigurationTemplateResponse) String ¶
func (m *ListConfigurationTemplateResponse) String() string
func (*ListConfigurationTemplateResponse) Validate ¶
func (this *ListConfigurationTemplateResponse) Validate() error
func (*ListConfigurationTemplateResponse) XXX_DiscardUnknown ¶
func (m *ListConfigurationTemplateResponse) XXX_DiscardUnknown()
func (*ListConfigurationTemplateResponse) XXX_Marshal ¶
func (m *ListConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationTemplateResponse) XXX_Merge ¶
func (m *ListConfigurationTemplateResponse) XXX_Merge(src proto.Message)
func (*ListConfigurationTemplateResponse) XXX_Size ¶
func (m *ListConfigurationTemplateResponse) XXX_Size() int
func (*ListConfigurationTemplateResponse) XXX_Unmarshal ¶
func (m *ListConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
type ListConfigurationTemplateResponseWrapper ¶
type ListConfigurationTemplateResponseWrapper 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 *ListConfigurationTemplateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListConfigurationTemplateApi返回
func (*ListConfigurationTemplateResponseWrapper) Descriptor ¶
func (*ListConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
func (*ListConfigurationTemplateResponseWrapper) GetCode ¶
func (m *ListConfigurationTemplateResponseWrapper) GetCode() int32
func (*ListConfigurationTemplateResponseWrapper) GetCodeExplain ¶
func (m *ListConfigurationTemplateResponseWrapper) GetCodeExplain() string
func (*ListConfigurationTemplateResponseWrapper) GetData ¶
func (m *ListConfigurationTemplateResponseWrapper) GetData() *ListConfigurationTemplateResponse
func (*ListConfigurationTemplateResponseWrapper) GetError ¶
func (m *ListConfigurationTemplateResponseWrapper) GetError() string
func (*ListConfigurationTemplateResponseWrapper) ProtoMessage ¶
func (*ListConfigurationTemplateResponseWrapper) ProtoMessage()
func (*ListConfigurationTemplateResponseWrapper) Reset ¶
func (m *ListConfigurationTemplateResponseWrapper) Reset()
func (*ListConfigurationTemplateResponseWrapper) String ¶
func (m *ListConfigurationTemplateResponseWrapper) String() string
func (*ListConfigurationTemplateResponseWrapper) Validate ¶
func (this *ListConfigurationTemplateResponseWrapper) Validate() error
func (*ListConfigurationTemplateResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
func (*ListConfigurationTemplateResponseWrapper) XXX_Marshal ¶
func (m *ListConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListConfigurationTemplateResponseWrapper) XXX_Merge ¶
func (m *ListConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
func (*ListConfigurationTemplateResponseWrapper) XXX_Size ¶
func (m *ListConfigurationTemplateResponseWrapper) XXX_Size() int
func (*ListConfigurationTemplateResponseWrapper) XXX_Unmarshal ¶
func (m *ListConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateConfigurationTemplate(context.Context, *CreateConfigurationTemplateRequest) (*CreateConfigurationTemplateResponse, error) DeleteConfigurationTemplate(context.Context, *DeleteConfigurationTemplateRequest) (*DeleteConfigurationTemplateResponse, error) DetailConfigurationTemplate(context.Context, *DetailConfigurationTemplateRequest) (*collector_center.ConfigurationTemplate, error) ListConfigurationTemplate(context.Context, *ListConfigurationTemplateRequest) (*ListConfigurationTemplateResponse, error) UpdateConfigurationTemplate(context.Context, *UpdateConfigurationTemplateRequest) (*UpdateConfigurationTemplateResponse, error) }
Service is the server API for template service.
type UpdateConfigurationTemplateRequest ¶
type UpdateConfigurationTemplateRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateConfigurationTemplate请求
func (*UpdateConfigurationTemplateRequest) Descriptor ¶
func (*UpdateConfigurationTemplateRequest) Descriptor() ([]byte, []int)
func (*UpdateConfigurationTemplateRequest) GetCacheTtl ¶
func (m *UpdateConfigurationTemplateRequest) GetCacheTtl() int32
func (*UpdateConfigurationTemplateRequest) GetClazzName ¶
func (m *UpdateConfigurationTemplateRequest) GetClazzName() string
func (*UpdateConfigurationTemplateRequest) GetDisabled ¶
func (m *UpdateConfigurationTemplateRequest) GetDisabled() bool
func (*UpdateConfigurationTemplateRequest) GetEnv ¶
func (m *UpdateConfigurationTemplateRequest) GetEnv() *types.Value
func (*UpdateConfigurationTemplateRequest) GetId ¶
func (m *UpdateConfigurationTemplateRequest) GetId() string
func (*UpdateConfigurationTemplateRequest) GetIgnoreInvalid ¶
func (m *UpdateConfigurationTemplateRequest) GetIgnoreInvalid() bool
func (*UpdateConfigurationTemplateRequest) GetInterval ¶
func (m *UpdateConfigurationTemplateRequest) GetInterval() int32
func (*UpdateConfigurationTemplateRequest) GetKwargs ¶
func (m *UpdateConfigurationTemplateRequest) GetKwargs() *types.Value
func (*UpdateConfigurationTemplateRequest) GetLabels ¶
func (m *UpdateConfigurationTemplateRequest) GetLabels() []string
func (*UpdateConfigurationTemplateRequest) GetName ¶
func (m *UpdateConfigurationTemplateRequest) GetName() string
func (*UpdateConfigurationTemplateRequest) GetScript ¶
func (m *UpdateConfigurationTemplateRequest) GetScript() *collector_center.Script
func (*UpdateConfigurationTemplateRequest) GetTargetRange ¶
func (m *UpdateConfigurationTemplateRequest) GetTargetRange() *collector_center.TargetRange
func (*UpdateConfigurationTemplateRequest) GetTimeRange ¶
func (m *UpdateConfigurationTemplateRequest) GetTimeRange() string
func (*UpdateConfigurationTemplateRequest) GetTimeout ¶
func (m *UpdateConfigurationTemplateRequest) GetTimeout() int32
func (*UpdateConfigurationTemplateRequest) ProtoMessage ¶
func (*UpdateConfigurationTemplateRequest) ProtoMessage()
func (*UpdateConfigurationTemplateRequest) Reset ¶
func (m *UpdateConfigurationTemplateRequest) Reset()
func (*UpdateConfigurationTemplateRequest) String ¶
func (m *UpdateConfigurationTemplateRequest) String() string
func (*UpdateConfigurationTemplateRequest) Validate ¶
func (this *UpdateConfigurationTemplateRequest) Validate() error
func (*UpdateConfigurationTemplateRequest) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationTemplateRequest) XXX_DiscardUnknown()
func (*UpdateConfigurationTemplateRequest) XXX_Marshal ¶
func (m *UpdateConfigurationTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationTemplateRequest) XXX_Merge ¶
func (m *UpdateConfigurationTemplateRequest) XXX_Merge(src proto.Message)
func (*UpdateConfigurationTemplateRequest) XXX_Size ¶
func (m *UpdateConfigurationTemplateRequest) XXX_Size() int
func (*UpdateConfigurationTemplateRequest) XXX_Unmarshal ¶
func (m *UpdateConfigurationTemplateRequest) XXX_Unmarshal(b []byte) error
type UpdateConfigurationTemplateResponse ¶
type UpdateConfigurationTemplateResponse 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:"-"` }
UpdateConfigurationTemplate返回
func (*UpdateConfigurationTemplateResponse) Descriptor ¶
func (*UpdateConfigurationTemplateResponse) Descriptor() ([]byte, []int)
func (*UpdateConfigurationTemplateResponse) GetId ¶
func (m *UpdateConfigurationTemplateResponse) GetId() string
func (*UpdateConfigurationTemplateResponse) ProtoMessage ¶
func (*UpdateConfigurationTemplateResponse) ProtoMessage()
func (*UpdateConfigurationTemplateResponse) Reset ¶
func (m *UpdateConfigurationTemplateResponse) Reset()
func (*UpdateConfigurationTemplateResponse) String ¶
func (m *UpdateConfigurationTemplateResponse) String() string
func (*UpdateConfigurationTemplateResponse) Validate ¶
func (this *UpdateConfigurationTemplateResponse) Validate() error
func (*UpdateConfigurationTemplateResponse) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationTemplateResponse) XXX_DiscardUnknown()
func (*UpdateConfigurationTemplateResponse) XXX_Marshal ¶
func (m *UpdateConfigurationTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationTemplateResponse) XXX_Merge ¶
func (m *UpdateConfigurationTemplateResponse) XXX_Merge(src proto.Message)
func (*UpdateConfigurationTemplateResponse) XXX_Size ¶
func (m *UpdateConfigurationTemplateResponse) XXX_Size() int
func (*UpdateConfigurationTemplateResponse) XXX_Unmarshal ¶
func (m *UpdateConfigurationTemplateResponse) XXX_Unmarshal(b []byte) error
type UpdateConfigurationTemplateResponseWrapper ¶
type UpdateConfigurationTemplateResponseWrapper 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 *UpdateConfigurationTemplateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateConfigurationTemplateApi返回
func (*UpdateConfigurationTemplateResponseWrapper) Descriptor ¶
func (*UpdateConfigurationTemplateResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateConfigurationTemplateResponseWrapper) GetCode ¶
func (m *UpdateConfigurationTemplateResponseWrapper) GetCode() int32
func (*UpdateConfigurationTemplateResponseWrapper) GetCodeExplain ¶
func (m *UpdateConfigurationTemplateResponseWrapper) GetCodeExplain() string
func (*UpdateConfigurationTemplateResponseWrapper) GetData ¶
func (m *UpdateConfigurationTemplateResponseWrapper) GetData() *UpdateConfigurationTemplateResponse
func (*UpdateConfigurationTemplateResponseWrapper) GetError ¶
func (m *UpdateConfigurationTemplateResponseWrapper) GetError() string
func (*UpdateConfigurationTemplateResponseWrapper) ProtoMessage ¶
func (*UpdateConfigurationTemplateResponseWrapper) ProtoMessage()
func (*UpdateConfigurationTemplateResponseWrapper) Reset ¶
func (m *UpdateConfigurationTemplateResponseWrapper) Reset()
func (*UpdateConfigurationTemplateResponseWrapper) String ¶
func (m *UpdateConfigurationTemplateResponseWrapper) String() string
func (*UpdateConfigurationTemplateResponseWrapper) Validate ¶
func (this *UpdateConfigurationTemplateResponseWrapper) Validate() error
func (*UpdateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationTemplateResponseWrapper) XXX_DiscardUnknown()
func (*UpdateConfigurationTemplateResponseWrapper) XXX_Marshal ¶
func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationTemplateResponseWrapper) XXX_Merge ¶
func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateConfigurationTemplateResponseWrapper) XXX_Size ¶
func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Size() int
func (*UpdateConfigurationTemplateResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateConfigurationTemplateResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files
¶
- create_configuration_template.pb.go
- create_configuration_template.validator.pb.go
- delete_configuration_template.pb.go
- delete_configuration_template.validator.pb.go
- detail_configuration_template.pb.go
- detail_configuration_template.validator.pb.go
- giraffe_service.giraffe.pb.go
- list_configuration_template.pb.go
- list_configuration_template.validator.pb.go
- update_configuration_template.pb.go
- update_configuration_template.validator.pb.go