participantservice

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MulanPSL-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 ApplyInfo added in v0.1.14

type ApplyInfo = pcmCore.ApplyInfo

type ApplyListReq added in v0.1.14

type ApplyListReq = pcmCore.ApplyListReq

type ApplyListResp added in v0.1.14

type ApplyListResp = pcmCore.ApplyListResp

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)
	// applyList 执行任务列表
	ApplyList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListResp, error)
	// DeleteList 删除任务列表
	DeleteList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListResp, error)
	// RestartList 重启任务列表
	RestartList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListResp, error)
	// PauseList 暂停任务列表
	PauseList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListResp, error)
	// StartList 启动任务列表
	StartList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListResp, 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

type VmInfo added in v0.1.12

type VmInfo = pcmCore.VmInfo

Jump to

Keyboard shortcuts

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