thirdGrpc

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ThirdTencentResourceType_name = map[int32]string{
		0: "HOST",
		1: "MYSQL",
		2: "REDIS",
	}
	ThirdTencentResourceType_value = map[string]int32{
		"HOST":  0,
		"MYSQL": 1,
		"REDIS": 2,
	}
)

Enum value maps for ThirdTencentResourceType.

View Source
var (
	RedisType_name = map[int32]string{
		0: "Redis4Standard",
		1: "Redis4Cluster",
	}
	RedisType_value = map[string]int32{
		"Redis4Standard": 0,
		"Redis4Cluster":  1,
	}
)

Enum value maps for RedisType.

View Source
var File_third_proto protoreflect.FileDescriptor

Functions

func RegisterApmServiceServer

func RegisterApmServiceServer(s *grpc.Server, srv ApmServiceServer)

func RegisterClsServiceServer

func RegisterClsServiceServer(s *grpc.Server, srv ClsServiceServer)

func RegisterRedisServiceServer

func RegisterRedisServiceServer(s *grpc.Server, srv RedisServiceServer)

func RegisterTencentServiceServer

func RegisterTencentServiceServer(s *grpc.Server, srv TencentServiceServer)

Types

type ApmServiceClient

type ApmServiceClient interface {
	// CreateMerchantApmInstance 业务购买APM实例,调用该接口创建
	CreateMerchantApmInstance(ctx context.Context, in *CreateMerchantApmInstanceRequest, opts ...grpc.CallOption) (*CreateMerchantApmInstanceResponse, error)
}

ApmServiceClient is the client API for ApmService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewApmServiceClient

func NewApmServiceClient(cc grpc.ClientConnInterface) ApmServiceClient

type ApmServiceServer

type ApmServiceServer interface {
	// CreateMerchantApmInstance 业务购买APM实例,调用该接口创建
	CreateMerchantApmInstance(context.Context, *CreateMerchantApmInstanceRequest) (*CreateMerchantApmInstanceResponse, error)
}

ApmServiceServer is the server API for ApmService service.

type BatchCreateClsTopicRequest

type BatchCreateClsTopicRequest struct {
	LogsetId     string   `protobuf:"bytes,1,opt,name=LogsetId,proto3" json:"LogsetId,omitempty"`   // 日志集id
	TopicName    []string `protobuf:"bytes,2,rep,name=TopicName,proto3" json:"TopicName,omitempty"` // topic的名称
	MerchantName string   `protobuf:"bytes,3,opt,name=MerchantName,proto3" json:"MerchantName,omitempty"`
	MerchantId   string   `protobuf:"bytes,4,opt,name=MerchantId,proto3" json:"MerchantId,omitempty"`
	// contains filtered or unexported fields
}

BatchCreateClsTopicRequest

func (*BatchCreateClsTopicRequest) Descriptor deprecated

func (*BatchCreateClsTopicRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateClsTopicRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateClsTopicRequest) GetLogsetId

func (x *BatchCreateClsTopicRequest) GetLogsetId() string

func (*BatchCreateClsTopicRequest) GetMerchantId

func (x *BatchCreateClsTopicRequest) GetMerchantId() string

func (*BatchCreateClsTopicRequest) GetMerchantName

func (x *BatchCreateClsTopicRequest) GetMerchantName() string

func (*BatchCreateClsTopicRequest) GetTopicName

func (x *BatchCreateClsTopicRequest) GetTopicName() []string

func (*BatchCreateClsTopicRequest) ProtoMessage

func (*BatchCreateClsTopicRequest) ProtoMessage()

func (*BatchCreateClsTopicRequest) ProtoReflect

func (*BatchCreateClsTopicRequest) Reset

func (x *BatchCreateClsTopicRequest) Reset()

func (*BatchCreateClsTopicRequest) String

func (x *BatchCreateClsTopicRequest) String() string

type BatchCreateClsTopicResponse

type BatchCreateClsTopicResponse struct {
	Result *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Topics []*TopicInfo     `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	// contains filtered or unexported fields
}

BatchCreateClsTopicResponse

func (*BatchCreateClsTopicResponse) Descriptor deprecated

func (*BatchCreateClsTopicResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateClsTopicResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateClsTopicResponse) GetResult

func (*BatchCreateClsTopicResponse) GetTopics

func (x *BatchCreateClsTopicResponse) GetTopics() []*TopicInfo

func (*BatchCreateClsTopicResponse) ProtoMessage

func (*BatchCreateClsTopicResponse) ProtoMessage()

func (*BatchCreateClsTopicResponse) ProtoReflect

func (*BatchCreateClsTopicResponse) Reset

func (x *BatchCreateClsTopicResponse) Reset()

func (*BatchCreateClsTopicResponse) String

func (x *BatchCreateClsTopicResponse) String() string

type ClsServiceClient

type ClsServiceClient interface {
	// 获取日志主题列表
	GetCLSTopicList(ctx context.Context, in *TopicListRequest, opts ...grpc.CallOption) (*TopicListResponse, error)
	// 创建日志主题
	CreateClsTopic(ctx context.Context, in *TopicCreateRequest, opts ...grpc.CallOption) (*TopicCreateResponse, error)
	// 批量创建日志主题
	BatchCreateClsTopic(ctx context.Context, in *BatchCreateClsTopicRequest, opts ...grpc.CallOption) (*BatchCreateClsTopicResponse, error)
	// 删除商户日志集
	DeleteMerchantLog(ctx context.Context, in *DeleteMerchantLogRequest, opts ...grpc.CallOption) (*DeleteMerchantLogResponse, error)
	// 删除日志主题
	DeleteClsTopic(ctx context.Context, in *TopicDeleteRequest, opts ...grpc.CallOption) (*TopicDeleteResponse, error)
	// 修改日志主题
	ModifyClsTopic(ctx context.Context, in *TopicModifyRequest, opts ...grpc.CallOption) (*TopicModifyResponse, error)
	// 创建日志集
	CreateLogset(ctx context.Context, in *LogsetCreateRequest, opts ...grpc.CallOption) (*LogsetCreateResponse, error)
	// 删除日志集
	DeleteLogset(ctx context.Context, in *LogsetDeleteRequest, opts ...grpc.CallOption) (*LogsetDeleteResponse, error)
}

ClsServiceClient is the client API for ClsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClsServiceClient

func NewClsServiceClient(cc grpc.ClientConnInterface) ClsServiceClient

type ClsServiceServer

type ClsServiceServer interface {
	// 获取日志主题列表
	GetCLSTopicList(context.Context, *TopicListRequest) (*TopicListResponse, error)
	// 创建日志主题
	CreateClsTopic(context.Context, *TopicCreateRequest) (*TopicCreateResponse, error)
	// 批量创建日志主题
	BatchCreateClsTopic(context.Context, *BatchCreateClsTopicRequest) (*BatchCreateClsTopicResponse, error)
	// 删除商户日志集
	DeleteMerchantLog(context.Context, *DeleteMerchantLogRequest) (*DeleteMerchantLogResponse, error)
	// 删除日志主题
	DeleteClsTopic(context.Context, *TopicDeleteRequest) (*TopicDeleteResponse, error)
	// 修改日志主题
	ModifyClsTopic(context.Context, *TopicModifyRequest) (*TopicModifyResponse, error)
	// 创建日志集
	CreateLogset(context.Context, *LogsetCreateRequest) (*LogsetCreateResponse, error)
	// 删除日志集
	DeleteLogset(context.Context, *LogsetDeleteRequest) (*LogsetDeleteResponse, error)
}

ClsServiceServer is the server API for ClsService service.

type CreateMerchantApmInstanceRequest

type CreateMerchantApmInstanceRequest struct {
	MerchantId   string `protobuf:"bytes,1,opt,name=merchantId,proto3" json:"merchantId,omitempty"`
	Namespace    string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	MerchantName string `protobuf:"bytes,3,opt,name=merchantName,proto3" json:"merchantName,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMerchantApmInstanceRequest) Descriptor deprecated

func (*CreateMerchantApmInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMerchantApmInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateMerchantApmInstanceRequest) GetMerchantId

func (x *CreateMerchantApmInstanceRequest) GetMerchantId() string

func (*CreateMerchantApmInstanceRequest) GetMerchantName

func (x *CreateMerchantApmInstanceRequest) GetMerchantName() string

func (*CreateMerchantApmInstanceRequest) GetNamespace

func (x *CreateMerchantApmInstanceRequest) GetNamespace() string

func (*CreateMerchantApmInstanceRequest) ProtoMessage

func (*CreateMerchantApmInstanceRequest) ProtoMessage()

func (*CreateMerchantApmInstanceRequest) ProtoReflect

func (*CreateMerchantApmInstanceRequest) Reset

func (*CreateMerchantApmInstanceRequest) String

type CreateMerchantApmInstanceResponse

type CreateMerchantApmInstanceResponse struct {
	Result                  *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	InstanceId              string           `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	Token                   string           `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	PrivateLinkCollectorURL string           `protobuf:"bytes,4,opt,name=privateLinkCollectorURL,proto3" json:"privateLinkCollectorURL,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMerchantApmInstanceResponse) Descriptor deprecated

func (*CreateMerchantApmInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateMerchantApmInstanceResponse.ProtoReflect.Descriptor instead.

func (*CreateMerchantApmInstanceResponse) GetInstanceId

func (x *CreateMerchantApmInstanceResponse) GetInstanceId() string

func (*CreateMerchantApmInstanceResponse) GetPrivateLinkCollectorURL

func (x *CreateMerchantApmInstanceResponse) GetPrivateLinkCollectorURL() string

func (*CreateMerchantApmInstanceResponse) GetResult

func (*CreateMerchantApmInstanceResponse) GetToken

func (*CreateMerchantApmInstanceResponse) ProtoMessage

func (*CreateMerchantApmInstanceResponse) ProtoMessage()

func (*CreateMerchantApmInstanceResponse) ProtoReflect

func (*CreateMerchantApmInstanceResponse) Reset

func (*CreateMerchantApmInstanceResponse) String

type CreateRedisInstanceRequest

type CreateRedisInstanceRequest struct {
	TypeId      RedisType `protobuf:"varint,1,opt,name=typeId,proto3,enum=proto.RedisType" json:"typeId,omitempty"`
	MemSize     int64     `protobuf:"varint,2,opt,name=memSize,proto3" json:"memSize,omitempty"`         // 内存容量,单位为MB, 数值需为1024的整数倍,TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架构时,MemSize是单分片内存容量。
	Period      int64     `protobuf:"varint,3,opt,name=period,proto3" json:"period,omitempty"`           // 购买时长,在创建包年包月实例的时候需要填写,按量计费实例填1即可,单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
	BillingMode int64     `protobuf:"varint,4,opt,name=billingMode,proto3" json:"billingMode,omitempty"` // 付费方式:0-按量计费,1-包年包月。
	ZoneId      int64     `protobuf:"varint,5,opt,name=zoneId,proto3" json:"zoneId,omitempty"`           // 实例所属的可用区ID,上海三区 200003,上海四区 200004
	// contains filtered or unexported fields
}

func (*CreateRedisInstanceRequest) Descriptor deprecated

func (*CreateRedisInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRedisInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateRedisInstanceRequest) GetBillingMode

func (x *CreateRedisInstanceRequest) GetBillingMode() int64

func (*CreateRedisInstanceRequest) GetMemSize

func (x *CreateRedisInstanceRequest) GetMemSize() int64

func (*CreateRedisInstanceRequest) GetPeriod

func (x *CreateRedisInstanceRequest) GetPeriod() int64

func (*CreateRedisInstanceRequest) GetTypeId

func (x *CreateRedisInstanceRequest) GetTypeId() RedisType

func (*CreateRedisInstanceRequest) GetZoneId

func (x *CreateRedisInstanceRequest) GetZoneId() int64

func (*CreateRedisInstanceRequest) ProtoMessage

func (*CreateRedisInstanceRequest) ProtoMessage()

func (*CreateRedisInstanceRequest) ProtoReflect

func (*CreateRedisInstanceRequest) Reset

func (x *CreateRedisInstanceRequest) Reset()

func (*CreateRedisInstanceRequest) String

func (x *CreateRedisInstanceRequest) String() string

type CreateRedisInstanceResponse

type CreateRedisInstanceResponse struct {
	// contains filtered or unexported fields
}

func (*CreateRedisInstanceResponse) Descriptor deprecated

func (*CreateRedisInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRedisInstanceResponse.ProtoReflect.Descriptor instead.

func (*CreateRedisInstanceResponse) ProtoMessage

func (*CreateRedisInstanceResponse) ProtoMessage()

func (*CreateRedisInstanceResponse) ProtoReflect

func (*CreateRedisInstanceResponse) Reset

func (x *CreateRedisInstanceResponse) Reset()

func (*CreateRedisInstanceResponse) String

func (x *CreateRedisInstanceResponse) String() string

type DeleteMerchantLogRequest

type DeleteMerchantLogRequest struct {
	MerchantName string `protobuf:"bytes,1,opt,name=MerchantName,proto3" json:"MerchantName,omitempty"`
	MerchantId   string `protobuf:"bytes,2,opt,name=MerchantId,proto3" json:"MerchantId,omitempty"`
	// contains filtered or unexported fields
}

DeleteMerchantLogRequest

func (*DeleteMerchantLogRequest) Descriptor deprecated

func (*DeleteMerchantLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMerchantLogRequest.ProtoReflect.Descriptor instead.

func (*DeleteMerchantLogRequest) GetMerchantId

func (x *DeleteMerchantLogRequest) GetMerchantId() string

func (*DeleteMerchantLogRequest) GetMerchantName

func (x *DeleteMerchantLogRequest) GetMerchantName() string

func (*DeleteMerchantLogRequest) ProtoMessage

func (*DeleteMerchantLogRequest) ProtoMessage()

func (*DeleteMerchantLogRequest) ProtoReflect

func (x *DeleteMerchantLogRequest) ProtoReflect() protoreflect.Message

func (*DeleteMerchantLogRequest) Reset

func (x *DeleteMerchantLogRequest) Reset()

func (*DeleteMerchantLogRequest) String

func (x *DeleteMerchantLogRequest) String() string

type DeleteMerchantLogResponse

type DeleteMerchantLogResponse struct {
	Result *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DeleteMerchantLogResponse

func (*DeleteMerchantLogResponse) Descriptor deprecated

func (*DeleteMerchantLogResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMerchantLogResponse.ProtoReflect.Descriptor instead.

func (*DeleteMerchantLogResponse) GetResult

func (*DeleteMerchantLogResponse) ProtoMessage

func (*DeleteMerchantLogResponse) ProtoMessage()

func (*DeleteMerchantLogResponse) ProtoReflect

func (*DeleteMerchantLogResponse) Reset

func (x *DeleteMerchantLogResponse) Reset()

func (*DeleteMerchantLogResponse) String

func (x *DeleteMerchantLogResponse) String() string

type LogsetCreateRequest

type LogsetCreateRequest struct {
	LogsetName string `protobuf:"bytes,1,opt,name=LogsetName,proto3" json:"LogsetName,omitempty"` // 日志集名称
	// contains filtered or unexported fields
}

LogsetCreateRequest

func (*LogsetCreateRequest) Descriptor deprecated

func (*LogsetCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogsetCreateRequest.ProtoReflect.Descriptor instead.

func (*LogsetCreateRequest) GetLogsetName

func (x *LogsetCreateRequest) GetLogsetName() string

func (*LogsetCreateRequest) ProtoMessage

func (*LogsetCreateRequest) ProtoMessage()

func (*LogsetCreateRequest) ProtoReflect

func (x *LogsetCreateRequest) ProtoReflect() protoreflect.Message

func (*LogsetCreateRequest) Reset

func (x *LogsetCreateRequest) Reset()

func (*LogsetCreateRequest) String

func (x *LogsetCreateRequest) String() string

type LogsetCreateResponse

type LogsetCreateResponse struct {
	Result    *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	LogsetId  string           `protobuf:"bytes,2,opt,name=LogsetId,proto3" json:"LogsetId,omitempty"` // 创建的日志集id
	RequestId string           `protobuf:"bytes,3,opt,name=RequestId,proto3" json:"RequestId,omitempty"`
	// contains filtered or unexported fields
}

LogsetCreateResponse

func (*LogsetCreateResponse) Descriptor deprecated

func (*LogsetCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogsetCreateResponse.ProtoReflect.Descriptor instead.

func (*LogsetCreateResponse) GetLogsetId

func (x *LogsetCreateResponse) GetLogsetId() string

func (*LogsetCreateResponse) GetRequestId

func (x *LogsetCreateResponse) GetRequestId() string

func (*LogsetCreateResponse) GetResult

func (x *LogsetCreateResponse) GetResult() *ThirdCodeResult

func (*LogsetCreateResponse) ProtoMessage

func (*LogsetCreateResponse) ProtoMessage()

func (*LogsetCreateResponse) ProtoReflect

func (x *LogsetCreateResponse) ProtoReflect() protoreflect.Message

func (*LogsetCreateResponse) Reset

func (x *LogsetCreateResponse) Reset()

func (*LogsetCreateResponse) String

func (x *LogsetCreateResponse) String() string

type LogsetDeleteRequest

type LogsetDeleteRequest struct {
	LogsetId string `protobuf:"bytes,1,opt,name=LogsetId,proto3" json:"LogsetId,omitempty"` // 日志集id
	// contains filtered or unexported fields
}

LogsetDeleteRequest

func (*LogsetDeleteRequest) Descriptor deprecated

func (*LogsetDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogsetDeleteRequest.ProtoReflect.Descriptor instead.

func (*LogsetDeleteRequest) GetLogsetId

func (x *LogsetDeleteRequest) GetLogsetId() string

func (*LogsetDeleteRequest) ProtoMessage

func (*LogsetDeleteRequest) ProtoMessage()

func (*LogsetDeleteRequest) ProtoReflect

func (x *LogsetDeleteRequest) ProtoReflect() protoreflect.Message

func (*LogsetDeleteRequest) Reset

func (x *LogsetDeleteRequest) Reset()

func (*LogsetDeleteRequest) String

func (x *LogsetDeleteRequest) String() string

type LogsetDeleteResponse

type LogsetDeleteResponse struct {
	Result    *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	RequestId string           `protobuf:"bytes,2,opt,name=RequestId,proto3" json:"RequestId,omitempty"`
	// contains filtered or unexported fields
}

LogsetDeleteResponse

func (*LogsetDeleteResponse) Descriptor deprecated

func (*LogsetDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogsetDeleteResponse.ProtoReflect.Descriptor instead.

func (*LogsetDeleteResponse) GetRequestId

func (x *LogsetDeleteResponse) GetRequestId() string

func (*LogsetDeleteResponse) GetResult

func (x *LogsetDeleteResponse) GetResult() *ThirdCodeResult

func (*LogsetDeleteResponse) ProtoMessage

func (*LogsetDeleteResponse) ProtoMessage()

func (*LogsetDeleteResponse) ProtoReflect

func (x *LogsetDeleteResponse) ProtoReflect() protoreflect.Message

func (*LogsetDeleteResponse) Reset

func (x *LogsetDeleteResponse) Reset()

func (*LogsetDeleteResponse) String

func (x *LogsetDeleteResponse) String() string

type RedisServiceClient

type RedisServiceClient interface {
	// 创建redis实例
	CreateRedisInstance(ctx context.Context, in *CreateRedisInstanceRequest, opts ...grpc.CallOption) (*CreateRedisInstanceResponse, error)
}

RedisServiceClient is the client API for RedisService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RedisServiceServer

type RedisServiceServer interface {
	// 创建redis实例
	CreateRedisInstance(context.Context, *CreateRedisInstanceRequest) (*CreateRedisInstanceResponse, error)
}

RedisServiceServer is the server API for RedisService service.

type RedisType

type RedisType int32
const (
	RedisType_Redis4Standard RedisType = 0 // Redis4.0内存版(标准架构)
	RedisType_Redis4Cluster  RedisType = 1 // Redis4.0内存版(集群架构)
)

func (RedisType) Descriptor

func (RedisType) Descriptor() protoreflect.EnumDescriptor

func (RedisType) Enum

func (x RedisType) Enum() *RedisType

func (RedisType) EnumDescriptor deprecated

func (RedisType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisType.Descriptor instead.

func (RedisType) Number

func (x RedisType) Number() protoreflect.EnumNumber

func (RedisType) String

func (x RedisType) String() string

func (RedisType) Type

type TencentServiceClient

type TencentServiceClient interface {
	// 腾讯云, 同步资源的接口
	GetResourceList(ctx context.Context, in *ThirdTencentResourceRequest, opts ...grpc.CallOption) (*ThirdListResponse, error)
}

TencentServiceClient is the client API for TencentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TencentServiceServer

type TencentServiceServer interface {
	// 腾讯云, 同步资源的接口
	GetResourceList(context.Context, *ThirdTencentResourceRequest) (*ThirdListResponse, error)
}

TencentServiceServer is the server API for TencentService service.

type ThirdCodeResult

type ThirdCodeResult struct {
	Code int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

标准响应体

func (*ThirdCodeResult) Descriptor deprecated

func (*ThirdCodeResult) Descriptor() ([]byte, []int)

Deprecated: Use ThirdCodeResult.ProtoReflect.Descriptor instead.

func (*ThirdCodeResult) GetCode

func (x *ThirdCodeResult) GetCode() int64

func (*ThirdCodeResult) GetMsg

func (x *ThirdCodeResult) GetMsg() string

func (*ThirdCodeResult) ProtoMessage

func (*ThirdCodeResult) ProtoMessage()

func (*ThirdCodeResult) ProtoReflect

func (x *ThirdCodeResult) ProtoReflect() protoreflect.Message

func (*ThirdCodeResult) Reset

func (x *ThirdCodeResult) Reset()

func (*ThirdCodeResult) String

func (x *ThirdCodeResult) String() string

type ThirdListResponse

type ThirdListResponse struct {
	Result   *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Page     int64            `protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize int64            `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	Counts   int64            `protobuf:"varint,4,opt,name=Counts,proto3" json:"Counts,omitempty"`
	List     []byte           `protobuf:"bytes,5,opt,name=List,proto3" json:"List,omitempty"`
	// contains filtered or unexported fields
}

func (*ThirdListResponse) Descriptor deprecated

func (*ThirdListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ThirdListResponse.ProtoReflect.Descriptor instead.

func (*ThirdListResponse) GetCounts

func (x *ThirdListResponse) GetCounts() int64

func (*ThirdListResponse) GetList

func (x *ThirdListResponse) GetList() []byte

func (*ThirdListResponse) GetPage

func (x *ThirdListResponse) GetPage() int64

func (*ThirdListResponse) GetPageSize

func (x *ThirdListResponse) GetPageSize() int64

func (*ThirdListResponse) GetResult

func (x *ThirdListResponse) GetResult() *ThirdCodeResult

func (*ThirdListResponse) ProtoMessage

func (*ThirdListResponse) ProtoMessage()

func (*ThirdListResponse) ProtoReflect

func (x *ThirdListResponse) ProtoReflect() protoreflect.Message

func (*ThirdListResponse) Reset

func (x *ThirdListResponse) Reset()

func (*ThirdListResponse) String

func (x *ThirdListResponse) String() string

type ThirdTencentResourceRequest

type ThirdTencentResourceRequest struct {
	Type   ThirdTencentResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.ThirdTencentResourceType" json:"type,omitempty"`
	Ids    []string                 `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	Names  []string                 `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	Offset int64                    `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int64                    `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ThirdTencentResourceRequest) Descriptor deprecated

func (*ThirdTencentResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThirdTencentResourceRequest.ProtoReflect.Descriptor instead.

func (*ThirdTencentResourceRequest) GetIds

func (x *ThirdTencentResourceRequest) GetIds() []string

func (*ThirdTencentResourceRequest) GetLimit

func (x *ThirdTencentResourceRequest) GetLimit() int64

func (*ThirdTencentResourceRequest) GetNames

func (x *ThirdTencentResourceRequest) GetNames() []string

func (*ThirdTencentResourceRequest) GetOffset

func (x *ThirdTencentResourceRequest) GetOffset() int64

func (*ThirdTencentResourceRequest) GetType

func (*ThirdTencentResourceRequest) ProtoMessage

func (*ThirdTencentResourceRequest) ProtoMessage()

func (*ThirdTencentResourceRequest) ProtoReflect

func (*ThirdTencentResourceRequest) Reset

func (x *ThirdTencentResourceRequest) Reset()

func (*ThirdTencentResourceRequest) String

func (x *ThirdTencentResourceRequest) String() string

type ThirdTencentResourceType

type ThirdTencentResourceType int32
const (
	ThirdTencentResourceType_HOST  ThirdTencentResourceType = 0
	ThirdTencentResourceType_MYSQL ThirdTencentResourceType = 1
	ThirdTencentResourceType_REDIS ThirdTencentResourceType = 2
)

func (ThirdTencentResourceType) Descriptor

func (ThirdTencentResourceType) Enum

func (ThirdTencentResourceType) EnumDescriptor deprecated

func (ThirdTencentResourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ThirdTencentResourceType.Descriptor instead.

func (ThirdTencentResourceType) Number

func (ThirdTencentResourceType) String

func (x ThirdTencentResourceType) String() string

func (ThirdTencentResourceType) Type

type TopicCreateRequest

type TopicCreateRequest struct {
	LogsetId  string `protobuf:"bytes,1,opt,name=LogsetId,proto3" json:"LogsetId,omitempty"`   // 日志集id
	TopicName string `protobuf:"bytes,2,opt,name=TopicName,proto3" json:"TopicName,omitempty"` // topic的名称
	// contains filtered or unexported fields
}

TopicCreateRequest cls topic创建请求

func (*TopicCreateRequest) Descriptor deprecated

func (*TopicCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use TopicCreateRequest.ProtoReflect.Descriptor instead.

func (*TopicCreateRequest) GetLogsetId

func (x *TopicCreateRequest) GetLogsetId() string

func (*TopicCreateRequest) GetTopicName

func (x *TopicCreateRequest) GetTopicName() string

func (*TopicCreateRequest) ProtoMessage

func (*TopicCreateRequest) ProtoMessage()

func (*TopicCreateRequest) ProtoReflect

func (x *TopicCreateRequest) ProtoReflect() protoreflect.Message

func (*TopicCreateRequest) Reset

func (x *TopicCreateRequest) Reset()

func (*TopicCreateRequest) String

func (x *TopicCreateRequest) String() string

type TopicCreateResponse

type TopicCreateResponse struct {
	Result    *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	TopicId   string           `protobuf:"bytes,2,opt,name=TopicId,proto3" json:"TopicId,omitempty"`     // 日志主题ID
	RequestId string           `protobuf:"bytes,3,opt,name=RequestId,proto3" json:"RequestId,omitempty"` // 唯一请求 ID,每次请求都会返回
	// contains filtered or unexported fields
}

TopicCreateResponse cls topic创建返回响应

func (*TopicCreateResponse) Descriptor deprecated

func (*TopicCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use TopicCreateResponse.ProtoReflect.Descriptor instead.

func (*TopicCreateResponse) GetRequestId

func (x *TopicCreateResponse) GetRequestId() string

func (*TopicCreateResponse) GetResult

func (x *TopicCreateResponse) GetResult() *ThirdCodeResult

func (*TopicCreateResponse) GetTopicId

func (x *TopicCreateResponse) GetTopicId() string

func (*TopicCreateResponse) ProtoMessage

func (*TopicCreateResponse) ProtoMessage()

func (*TopicCreateResponse) ProtoReflect

func (x *TopicCreateResponse) ProtoReflect() protoreflect.Message

func (*TopicCreateResponse) Reset

func (x *TopicCreateResponse) Reset()

func (*TopicCreateResponse) String

func (x *TopicCreateResponse) String() string

type TopicDeleteRequest

type TopicDeleteRequest struct {
	TopicId string `protobuf:"bytes,1,opt,name=TopicId,proto3" json:"TopicId,omitempty"` // topicId
	// contains filtered or unexported fields
}

TopicDeleteRequest cls topic删除请求

func (*TopicDeleteRequest) Descriptor deprecated

func (*TopicDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use TopicDeleteRequest.ProtoReflect.Descriptor instead.

func (*TopicDeleteRequest) GetTopicId

func (x *TopicDeleteRequest) GetTopicId() string

func (*TopicDeleteRequest) ProtoMessage

func (*TopicDeleteRequest) ProtoMessage()

func (*TopicDeleteRequest) ProtoReflect

func (x *TopicDeleteRequest) ProtoReflect() protoreflect.Message

func (*TopicDeleteRequest) Reset

func (x *TopicDeleteRequest) Reset()

func (*TopicDeleteRequest) String

func (x *TopicDeleteRequest) String() string

type TopicDeleteResponse

type TopicDeleteResponse struct {
	Result    *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	RequestId string           `protobuf:"bytes,2,opt,name=RequestId,proto3" json:"RequestId,omitempty"` // 唯一请求 ID,每次请求都会返回
	// contains filtered or unexported fields
}

TopicDeleteResponse cls topic删除响应

func (*TopicDeleteResponse) Descriptor deprecated

func (*TopicDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use TopicDeleteResponse.ProtoReflect.Descriptor instead.

func (*TopicDeleteResponse) GetRequestId

func (x *TopicDeleteResponse) GetRequestId() string

func (*TopicDeleteResponse) GetResult

func (x *TopicDeleteResponse) GetResult() *ThirdCodeResult

func (*TopicDeleteResponse) ProtoMessage

func (*TopicDeleteResponse) ProtoMessage()

func (*TopicDeleteResponse) ProtoReflect

func (x *TopicDeleteResponse) ProtoReflect() protoreflect.Message

func (*TopicDeleteResponse) Reset

func (x *TopicDeleteResponse) Reset()

func (*TopicDeleteResponse) String

func (x *TopicDeleteResponse) String() string

type TopicInfo

type TopicInfo struct {
	LogsetId  string `protobuf:"bytes,1,opt,name=LogsetId,proto3" json:"LogsetId,omitempty"`
	TopicId   string `protobuf:"bytes,2,opt,name=TopicId,proto3" json:"TopicId,omitempty"`
	TopicName string `protobuf:"bytes,3,opt,name=TopicName,proto3" json:"TopicName,omitempty"`
	// contains filtered or unexported fields
}

func (*TopicInfo) Descriptor deprecated

func (*TopicInfo) Descriptor() ([]byte, []int)

Deprecated: Use TopicInfo.ProtoReflect.Descriptor instead.

func (*TopicInfo) GetLogsetId

func (x *TopicInfo) GetLogsetId() string

func (*TopicInfo) GetTopicId

func (x *TopicInfo) GetTopicId() string

func (*TopicInfo) GetTopicName

func (x *TopicInfo) GetTopicName() string

func (*TopicInfo) ProtoMessage

func (*TopicInfo) ProtoMessage()

func (*TopicInfo) ProtoReflect

func (x *TopicInfo) ProtoReflect() protoreflect.Message

func (*TopicInfo) Reset

func (x *TopicInfo) Reset()

func (*TopicInfo) String

func (x *TopicInfo) String() string

type TopicListRequest

type TopicListRequest struct {
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // 分页的偏移量,默认值为0
	Limit  int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`   // 分页单页限制数目,默认值为20,最大值100
	// contains filtered or unexported fields
}

TopicListRequest cls topics列表请求

func (*TopicListRequest) Descriptor deprecated

func (*TopicListRequest) Descriptor() ([]byte, []int)

Deprecated: Use TopicListRequest.ProtoReflect.Descriptor instead.

func (*TopicListRequest) GetLimit

func (x *TopicListRequest) GetLimit() int64

func (*TopicListRequest) GetOffset

func (x *TopicListRequest) GetOffset() int64

func (*TopicListRequest) ProtoMessage

func (*TopicListRequest) ProtoMessage()

func (*TopicListRequest) ProtoReflect

func (x *TopicListRequest) ProtoReflect() protoreflect.Message

func (*TopicListRequest) Reset

func (x *TopicListRequest) Reset()

func (*TopicListRequest) String

func (x *TopicListRequest) String() string

type TopicListResponse

type TopicListResponse struct {
	Result     *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`          // 响应消息和状态码
	Topics     []byte           `protobuf:"bytes,2,opt,name=topics,proto3" json:"topics,omitempty"`          // 日志主题列表
	TotalCount int64            `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // 总数目
	RequestId  string           `protobuf:"bytes,4,opt,name=requestId,proto3" json:"requestId,omitempty"`    // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
	// contains filtered or unexported fields
}

TopicListResponse cls topics列表响应

func (*TopicListResponse) Descriptor deprecated

func (*TopicListResponse) Descriptor() ([]byte, []int)

Deprecated: Use TopicListResponse.ProtoReflect.Descriptor instead.

func (*TopicListResponse) GetRequestId

func (x *TopicListResponse) GetRequestId() string

func (*TopicListResponse) GetResult

func (x *TopicListResponse) GetResult() *ThirdCodeResult

func (*TopicListResponse) GetTopics

func (x *TopicListResponse) GetTopics() []byte

func (*TopicListResponse) GetTotalCount

func (x *TopicListResponse) GetTotalCount() int64

func (*TopicListResponse) ProtoMessage

func (*TopicListResponse) ProtoMessage()

func (*TopicListResponse) ProtoReflect

func (x *TopicListResponse) ProtoReflect() protoreflect.Message

func (*TopicListResponse) Reset

func (x *TopicListResponse) Reset()

func (*TopicListResponse) String

func (x *TopicListResponse) String() string

type TopicModifyRequest

type TopicModifyRequest struct {
	TopicId   string `protobuf:"bytes,1,opt,name=TopicId,proto3" json:"TopicId,omitempty"` // topicId
	TopicName string `protobuf:"bytes,2,opt,name=TopicName,proto3" json:"TopicName,omitempty"`
	Period    int64  `protobuf:"varint,3,opt,name=Period,proto3" json:"Period,omitempty"`
	// contains filtered or unexported fields
}

TopicModifyRequest cls topic修改请求 只允许修改日志的名称和生命周期

func (*TopicModifyRequest) Descriptor deprecated

func (*TopicModifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use TopicModifyRequest.ProtoReflect.Descriptor instead.

func (*TopicModifyRequest) GetPeriod

func (x *TopicModifyRequest) GetPeriod() int64

func (*TopicModifyRequest) GetTopicId

func (x *TopicModifyRequest) GetTopicId() string

func (*TopicModifyRequest) GetTopicName

func (x *TopicModifyRequest) GetTopicName() string

func (*TopicModifyRequest) ProtoMessage

func (*TopicModifyRequest) ProtoMessage()

func (*TopicModifyRequest) ProtoReflect

func (x *TopicModifyRequest) ProtoReflect() protoreflect.Message

func (*TopicModifyRequest) Reset

func (x *TopicModifyRequest) Reset()

func (*TopicModifyRequest) String

func (x *TopicModifyRequest) String() string

type TopicModifyResponse

type TopicModifyResponse struct {
	Result    *ThirdCodeResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	RequestId string           `protobuf:"bytes,2,opt,name=RequestId,proto3" json:"RequestId,omitempty"` // 唯一请求 ID,每次请求都会返回
	// contains filtered or unexported fields
}

TopicModifyResponse cls topic 修改响应

func (*TopicModifyResponse) Descriptor deprecated

func (*TopicModifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use TopicModifyResponse.ProtoReflect.Descriptor instead.

func (*TopicModifyResponse) GetRequestId

func (x *TopicModifyResponse) GetRequestId() string

func (*TopicModifyResponse) GetResult

func (x *TopicModifyResponse) GetResult() *ThirdCodeResult

func (*TopicModifyResponse) ProtoMessage

func (*TopicModifyResponse) ProtoMessage()

func (*TopicModifyResponse) ProtoReflect

func (x *TopicModifyResponse) ProtoReflect() protoreflect.Message

func (*TopicModifyResponse) Reset

func (x *TopicModifyResponse) Reset()

func (*TopicModifyResponse) String

func (x *TopicModifyResponse) String() string

type UnimplementedApmServiceServer

type UnimplementedApmServiceServer struct {
}

UnimplementedApmServiceServer can be embedded to have forward compatible implementations.

type UnimplementedClsServiceServer

type UnimplementedClsServiceServer struct {
}

UnimplementedClsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedClsServiceServer) BatchCreateClsTopic

func (*UnimplementedClsServiceServer) CreateClsTopic

func (*UnimplementedClsServiceServer) CreateLogset

func (*UnimplementedClsServiceServer) DeleteClsTopic

func (*UnimplementedClsServiceServer) DeleteLogset

func (*UnimplementedClsServiceServer) DeleteMerchantLog

func (*UnimplementedClsServiceServer) GetCLSTopicList

func (*UnimplementedClsServiceServer) ModifyClsTopic

type UnimplementedRedisServiceServer

type UnimplementedRedisServiceServer struct {
}

UnimplementedRedisServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRedisServiceServer) CreateRedisInstance

type UnimplementedTencentServiceServer

type UnimplementedTencentServiceServer struct {
}

UnimplementedTencentServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTencentServiceServer) GetResourceList

Jump to

Keyboard shortcuts

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