participantservice

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AiInfo

type AiInfo = pcmCore.AiInfo

type ClientInfo added in v0.1.8

type ClientInfo = pcmCore.ClientInfo

type CloudInfo

type CloudInfo = pcmCore.CloudInfo

type HealthCheckResp

type HealthCheckResp = pcmCore.HealthCheckResp

type HpcInfo

type HpcInfo = pcmCore.HpcInfo

type InfoListReq

type InfoListReq = pcmCore.InfoListReq

type InfoListResp

type InfoListResp = pcmCore.InfoListResp

type ListParticipantAvailResp added in v0.1.8

type ListParticipantAvailResp = pcmCore.ListParticipantAvailResp

type ListParticipantPhyResp added in v0.1.8

type ListParticipantPhyResp = pcmCore.ListParticipantPhyResp

type ListTenantResp added in v0.1.8

type ListTenantResp = pcmCore.ListTenantResp

type NodeAvailInfo

type NodeAvailInfo = pcmCore.NodeAvailInfo

type NodePhyInfo

type NodePhyInfo = pcmCore.NodePhyInfo

type ParticipantAvailReq

type ParticipantAvailReq = pcmCore.ParticipantAvailReq

type ParticipantHeartbeatReq

type ParticipantHeartbeatReq = pcmCore.ParticipantHeartbeatReq

type ParticipantLabel

type ParticipantLabel = pcmCore.ParticipantLabel

type ParticipantPhyReq

type ParticipantPhyReq = pcmCore.ParticipantPhyReq

type ParticipantPhyResp

type ParticipantPhyResp = pcmCore.ParticipantPhyResp

type ParticipantResp

type ParticipantResp = pcmCore.ParticipantResp

type ParticipantService

type ParticipantService interface {
	// registerParticipant Participant注册接口
	RegisterParticipant(ctx context.Context, in *ParticipantPhyReq, opts ...grpc.CallOption) (*ParticipantPhyResp, error)
	// reportHeartbeat 心跳请求
	ReportHeartbeat(ctx context.Context, in *ParticipantHeartbeatReq, opts ...grpc.CallOption) (*HealthCheckResp, error)
	// reportAvailable 监控数据上报
	ReportAvailable(ctx context.Context, in *ParticipantAvailReq, opts ...grpc.CallOption) (*ParticipantResp, error)
	// listParticipant 服务列表
	ListParticipant(ctx context.Context, in *ParticipantTenant, opts ...grpc.CallOption) (*ParticipantServiceResp, error)
	// listAvailable 集群动态信息列表
	ListPhyAvailable(ctx context.Context, in *ParticipantTenant, opts ...grpc.CallOption) (*ListParticipantAvailResp, error)
	// listPhyInformation 集群静态信息列表
	ListPhyInformation(ctx context.Context, in *ParticipantTenant, opts ...grpc.CallOption) (*ListParticipantPhyResp, error)
	// registerTenant 注册租户信息
	RegisterTenant(ctx context.Context, in *TenantInfo, opts ...grpc.CallOption) (*TenantResp, error)
	// listTenant 租户列表信息
	ListTenant(ctx context.Context, in *TenantInfo, opts ...grpc.CallOption) (*ListTenantResp, error)
}

func NewParticipantService

func NewParticipantService(cli zrpc.Client) ParticipantService

type ParticipantServiceResp added in v0.1.8

type ParticipantServiceResp = pcmCore.ParticipantServiceResp

type ParticipantTenant

type ParticipantTenant = pcmCore.ParticipantTenant

type QueuePhyInfo added in v0.1.8

type QueuePhyInfo = pcmCore.QueuePhyInfo

type SyncInfoReq

type SyncInfoReq = pcmCore.SyncInfoReq

type SyncInfoResp

type SyncInfoResp = pcmCore.SyncInfoResp

type TenantInfo added in v0.1.8

type TenantInfo = pcmCore.TenantInfo

type TenantResp added in v0.1.8

type TenantResp = pcmCore.TenantResp

Jump to

Keyboard shortcuts

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