configuration

package
v0.0.0-...-b63aa1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

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 (*CreateConfigurationRequest) GetTargetRange

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 (*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 (*CreateConfigurationResponseWrapper) GetCodeExplain

func (m *CreateConfigurationResponseWrapper) GetCodeExplain() string

func (*CreateConfigurationResponseWrapper) GetData

func (*CreateConfigurationResponseWrapper) GetError

func (*CreateConfigurationResponseWrapper) ProtoMessage

func (*CreateConfigurationResponseWrapper) ProtoMessage()

func (*CreateConfigurationResponseWrapper) Reset

func (*CreateConfigurationResponseWrapper) 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 (*CreateConfigurationResponseWrapper) XXX_Size

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 (*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 (*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 (*DeleteConfigurationResponseWrapper) GetCodeExplain

func (m *DeleteConfigurationResponseWrapper) GetCodeExplain() string

func (*DeleteConfigurationResponseWrapper) GetData

func (*DeleteConfigurationResponseWrapper) GetError

func (*DeleteConfigurationResponseWrapper) ProtoMessage

func (*DeleteConfigurationResponseWrapper) ProtoMessage()

func (*DeleteConfigurationResponseWrapper) Reset

func (*DeleteConfigurationResponseWrapper) 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 (*DeleteConfigurationResponseWrapper) XXX_Size

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 (*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 (*DetailConfigurationResponseWrapper) GetCodeExplain

func (m *DetailConfigurationResponseWrapper) GetCodeExplain() string

func (*DetailConfigurationResponseWrapper) GetData

func (*DetailConfigurationResponseWrapper) GetError

func (*DetailConfigurationResponseWrapper) ProtoMessage

func (*DetailConfigurationResponseWrapper) ProtoMessage()

func (*DetailConfigurationResponseWrapper) Reset

func (*DetailConfigurationResponseWrapper) 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 (*DetailConfigurationResponseWrapper) XXX_Size

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 (*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 (*ListConfigurationResponseWrapper) GetCodeExplain

func (m *ListConfigurationResponseWrapper) GetCodeExplain() string

func (*ListConfigurationResponseWrapper) GetData

func (*ListConfigurationResponseWrapper) GetError

func (*ListConfigurationResponseWrapper) ProtoMessage

func (*ListConfigurationResponseWrapper) ProtoMessage()

func (*ListConfigurationResponseWrapper) Reset

func (*ListConfigurationResponseWrapper) 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 (*ListConfigurationResponseWrapper) XXX_Size

func (m *ListConfigurationResponseWrapper) XXX_Size() int

func (*ListConfigurationResponseWrapper) XXX_Unmarshal

func (m *ListConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error

type Service

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 (*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 (*UpdateConfigurationRequest) GetTargetRange

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 (*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 (*UpdateConfigurationResponseWrapper) GetCodeExplain

func (m *UpdateConfigurationResponseWrapper) GetCodeExplain() string

func (*UpdateConfigurationResponseWrapper) GetData

func (*UpdateConfigurationResponseWrapper) GetError

func (*UpdateConfigurationResponseWrapper) ProtoMessage

func (*UpdateConfigurationResponseWrapper) ProtoMessage()

func (*UpdateConfigurationResponseWrapper) Reset

func (*UpdateConfigurationResponseWrapper) 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 (*UpdateConfigurationResponseWrapper) XXX_Size

func (*UpdateConfigurationResponseWrapper) XXX_Unmarshal

func (m *UpdateConfigurationResponseWrapper) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL