template

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 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 (*CreateConfigurationTemplateRequest) GetIgnoreInvalid

func (m *CreateConfigurationTemplateRequest) GetIgnoreInvalid() bool

func (*CreateConfigurationTemplateRequest) GetInterval

func (m *CreateConfigurationTemplateRequest) GetInterval() int32

func (*CreateConfigurationTemplateRequest) GetKwargs

func (*CreateConfigurationTemplateRequest) GetLabels

func (m *CreateConfigurationTemplateRequest) GetLabels() []string

func (*CreateConfigurationTemplateRequest) GetName

func (*CreateConfigurationTemplateRequest) GetScript

func (*CreateConfigurationTemplateRequest) GetTargetRange

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

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 (*CreateConfigurationTemplateResponse) ProtoMessage

func (*CreateConfigurationTemplateResponse) ProtoMessage()

func (*CreateConfigurationTemplateResponse) Reset

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

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) GetCode

func (*CreateConfigurationTemplateResponseWrapper) GetCodeExplain

func (*CreateConfigurationTemplateResponseWrapper) GetData

func (*CreateConfigurationTemplateResponseWrapper) GetError

func (*CreateConfigurationTemplateResponseWrapper) ProtoMessage

func (*CreateConfigurationTemplateResponseWrapper) Reset

func (*CreateConfigurationTemplateResponseWrapper) String

func (*CreateConfigurationTemplateResponseWrapper) Validate

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

func (*CreateConfigurationTemplateResponseWrapper) XXX_Unmarshal

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 (*DeleteConfigurationTemplateRequest) ProtoMessage

func (*DeleteConfigurationTemplateRequest) ProtoMessage()

func (*DeleteConfigurationTemplateRequest) Reset

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

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 (*DeleteConfigurationTemplateResponse) ProtoMessage

func (*DeleteConfigurationTemplateResponse) ProtoMessage()

func (*DeleteConfigurationTemplateResponse) Reset

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

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) GetCode

func (*DeleteConfigurationTemplateResponseWrapper) GetCodeExplain

func (*DeleteConfigurationTemplateResponseWrapper) GetData

func (*DeleteConfigurationTemplateResponseWrapper) GetError

func (*DeleteConfigurationTemplateResponseWrapper) ProtoMessage

func (*DeleteConfigurationTemplateResponseWrapper) Reset

func (*DeleteConfigurationTemplateResponseWrapper) String

func (*DeleteConfigurationTemplateResponseWrapper) Validate

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

func (*DeleteConfigurationTemplateResponseWrapper) XXX_Unmarshal

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 (*DetailConfigurationTemplateRequest) ProtoMessage

func (*DetailConfigurationTemplateRequest) ProtoMessage()

func (*DetailConfigurationTemplateRequest) Reset

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

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) GetCode

func (*DetailConfigurationTemplateResponseWrapper) GetCodeExplain

func (*DetailConfigurationTemplateResponseWrapper) GetData

func (*DetailConfigurationTemplateResponseWrapper) GetError

func (*DetailConfigurationTemplateResponseWrapper) ProtoMessage

func (*DetailConfigurationTemplateResponseWrapper) Reset

func (*DetailConfigurationTemplateResponseWrapper) String

func (*DetailConfigurationTemplateResponseWrapper) Validate

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

func (*DetailConfigurationTemplateResponseWrapper) XXX_Unmarshal

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 (*ListConfigurationTemplateRequest) GetPageSize

func (m *ListConfigurationTemplateRequest) GetPageSize() int32

func (*ListConfigurationTemplateRequest) ProtoMessage

func (*ListConfigurationTemplateRequest) ProtoMessage()

func (*ListConfigurationTemplateRequest) Reset

func (*ListConfigurationTemplateRequest) 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 (*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 (*ListConfigurationTemplateResponse) GetPage

func (*ListConfigurationTemplateResponse) GetPageSize

func (m *ListConfigurationTemplateResponse) GetPageSize() int32

func (*ListConfigurationTemplateResponse) GetTotal

func (*ListConfigurationTemplateResponse) ProtoMessage

func (*ListConfigurationTemplateResponse) ProtoMessage()

func (*ListConfigurationTemplateResponse) Reset

func (*ListConfigurationTemplateResponse) 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 (*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 (*ListConfigurationTemplateResponseWrapper) GetCodeExplain

func (*ListConfigurationTemplateResponseWrapper) GetData

func (*ListConfigurationTemplateResponseWrapper) GetError

func (*ListConfigurationTemplateResponseWrapper) ProtoMessage

func (*ListConfigurationTemplateResponseWrapper) Reset

func (*ListConfigurationTemplateResponseWrapper) String

func (*ListConfigurationTemplateResponseWrapper) Validate

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

func (*ListConfigurationTemplateResponseWrapper) XXX_Unmarshal

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

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 (*UpdateConfigurationTemplateRequest) GetId

func (*UpdateConfigurationTemplateRequest) GetIgnoreInvalid

func (m *UpdateConfigurationTemplateRequest) GetIgnoreInvalid() bool

func (*UpdateConfigurationTemplateRequest) GetInterval

func (m *UpdateConfigurationTemplateRequest) GetInterval() int32

func (*UpdateConfigurationTemplateRequest) GetKwargs

func (*UpdateConfigurationTemplateRequest) GetLabels

func (m *UpdateConfigurationTemplateRequest) GetLabels() []string

func (*UpdateConfigurationTemplateRequest) GetName

func (*UpdateConfigurationTemplateRequest) GetScript

func (*UpdateConfigurationTemplateRequest) GetTargetRange

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

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 (*UpdateConfigurationTemplateResponse) ProtoMessage

func (*UpdateConfigurationTemplateResponse) ProtoMessage()

func (*UpdateConfigurationTemplateResponse) Reset

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

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) GetCode

func (*UpdateConfigurationTemplateResponseWrapper) GetCodeExplain

func (*UpdateConfigurationTemplateResponseWrapper) GetData

func (*UpdateConfigurationTemplateResponseWrapper) GetError

func (*UpdateConfigurationTemplateResponseWrapper) ProtoMessage

func (*UpdateConfigurationTemplateResponseWrapper) Reset

func (*UpdateConfigurationTemplateResponseWrapper) String

func (*UpdateConfigurationTemplateResponseWrapper) Validate

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

func (*UpdateConfigurationTemplateResponseWrapper) XXX_Unmarshal

Jump to

Keyboard shortcuts

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