Versions in this module Expand all Collapse all v0 v0.1.4 Jul 11, 2023 Changes in this version + var Ceph_ServiceDesc = grpc.ServiceDesc + var File_pcm_ceph_proto protoreflect.FileDescriptor + func RegisterCephServer(s grpc.ServiceRegistrar, srv CephServer) + type AccOtJobInfo struct + AccCardRunSec float32 + AccOtJobNum int32 + AccRunSec int32 + func (*AccOtJobInfo) Descriptor() ([]byte, []int) + func (*AccOtJobInfo) ProtoMessage() + func (x *AccOtJobInfo) GetAccCardRunSec() float32 + func (x *AccOtJobInfo) GetAccOtJobNum() int32 + func (x *AccOtJobInfo) GetAccRunSec() int32 + func (x *AccOtJobInfo) ProtoReflect() protoreflect.Message + func (x *AccOtJobInfo) Reset() + func (x *AccOtJobInfo) String() string + type AiCenterInfos struct + AccDevices string + AccessTime int32 + BusyState int32 + CardRunTime int32 + City string + ComputeScale int32 + ConnectionState int32 + CoordinateX int32 + CoordinateY int32 + CreatedAt int64 + Desc string + Id string + ImageUrl string + JobCount int32 + MarketTime int64 + Name string + Province string + Resource string + StorageScale int32 + TrainJob string + Type int32 + Weight int32 + func (*AiCenterInfos) Descriptor() ([]byte, []int) + func (*AiCenterInfos) ProtoMessage() + func (x *AiCenterInfos) GetAccDevices() string + func (x *AiCenterInfos) GetAccessTime() int32 + func (x *AiCenterInfos) GetBusyState() int32 + func (x *AiCenterInfos) GetCardRunTime() int32 + func (x *AiCenterInfos) GetCity() string + func (x *AiCenterInfos) GetComputeScale() int32 + func (x *AiCenterInfos) GetConnectionState() int32 + func (x *AiCenterInfos) GetCoordinateX() int32 + func (x *AiCenterInfos) GetCoordinateY() int32 + func (x *AiCenterInfos) GetCreatedAt() int64 + func (x *AiCenterInfos) GetDesc() string + func (x *AiCenterInfos) GetId() string + func (x *AiCenterInfos) GetImageUrl() string + func (x *AiCenterInfos) GetJobCount() int32 + func (x *AiCenterInfos) GetMarketTime() int64 + func (x *AiCenterInfos) GetName() string + func (x *AiCenterInfos) GetProvince() string + func (x *AiCenterInfos) GetResource() string + func (x *AiCenterInfos) GetStorageScale() int32 + func (x *AiCenterInfos) GetTrainJob() string + func (x *AiCenterInfos) GetType() int32 + func (x *AiCenterInfos) GetWeight() int32 + func (x *AiCenterInfos) ProtoReflect() protoreflect.Message + func (x *AiCenterInfos) Reset() + func (x *AiCenterInfos) String() string + type CephClient interface + DailyPowerScreen func(ctx context.Context, in *DailyPowerScreenReq, opts ...grpc.CallOption) (*DailyPowerScreenResp, error) + PerCenterComputerPowerScreen func(ctx context.Context, in *PerCenterComputerPowersReq, opts ...grpc.CallOption) (*PerCenterComputerPowersResp, error) + StorageScreen func(ctx context.Context, in *StorageScreenReq, opts ...grpc.CallOption) (*StorageScreenResp, error) + func NewCephClient(cc grpc.ClientConnInterface) CephClient + type CephServer interface + DailyPowerScreen func(context.Context, *DailyPowerScreenReq) (*DailyPowerScreenResp, error) + PerCenterComputerPowerScreen func(context.Context, *PerCenterComputerPowersReq) (*PerCenterComputerPowersResp, error) + StorageScreen func(context.Context, *StorageScreenReq) (*StorageScreenResp, error) + type DailyComputerPowers struct + ComputerPower float32 + Date string + func (*DailyComputerPowers) Descriptor() ([]byte, []int) + func (*DailyComputerPowers) ProtoMessage() + func (x *DailyComputerPowers) GetComputerPower() float32 + func (x *DailyComputerPowers) GetDate() string + func (x *DailyComputerPowers) ProtoReflect() protoreflect.Message + func (x *DailyComputerPowers) Reset() + func (x *DailyComputerPowers) String() string + type DailyPowerScreenReq struct + func (*DailyPowerScreenReq) Descriptor() ([]byte, []int) + func (*DailyPowerScreenReq) ProtoMessage() + func (x *DailyPowerScreenReq) ProtoReflect() protoreflect.Message + func (x *DailyPowerScreenReq) Reset() + func (x *DailyPowerScreenReq) String() string + type DailyPowerScreenResp struct + Code int32 + DailyComputerPowers []*DailyComputerPowers + ErrorMsg string + Msg string + TotalSize int32 + func (*DailyPowerScreenResp) Descriptor() ([]byte, []int) + func (*DailyPowerScreenResp) ProtoMessage() + func (x *DailyPowerScreenResp) GetCode() int32 + func (x *DailyPowerScreenResp) GetDailyComputerPowers() []*DailyComputerPowers + func (x *DailyPowerScreenResp) GetErrorMsg() string + func (x *DailyPowerScreenResp) GetMsg() string + func (x *DailyPowerScreenResp) GetTotalSize() int32 + func (x *DailyPowerScreenResp) ProtoReflect() protoreflect.Message + func (x *DailyPowerScreenResp) Reset() + func (x *DailyPowerScreenResp) String() string + type PerCenterComputerPowers struct + CenterId string + CenterName string + ComputerPower float32 + JobCount int32 + func (*PerCenterComputerPowers) Descriptor() ([]byte, []int) + func (*PerCenterComputerPowers) ProtoMessage() + func (x *PerCenterComputerPowers) GetCenterId() string + func (x *PerCenterComputerPowers) GetCenterName() string + func (x *PerCenterComputerPowers) GetComputerPower() float32 + func (x *PerCenterComputerPowers) GetJobCount() int32 + func (x *PerCenterComputerPowers) ProtoReflect() protoreflect.Message + func (x *PerCenterComputerPowers) Reset() + func (x *PerCenterComputerPowers) String() string + type PerCenterComputerPowersReq struct + func (*PerCenterComputerPowersReq) Descriptor() ([]byte, []int) + func (*PerCenterComputerPowersReq) ProtoMessage() + func (x *PerCenterComputerPowersReq) ProtoReflect() protoreflect.Message + func (x *PerCenterComputerPowersReq) Reset() + func (x *PerCenterComputerPowersReq) String() string + type PerCenterComputerPowersResp struct + AccOtJobInfo *AccOtJobInfo + Code int32 + ErrorMsg string + Msg string + PerCenterComputerPowers []*PerCenterComputerPowers + TotalSize int32 + func (*PerCenterComputerPowersResp) Descriptor() ([]byte, []int) + func (*PerCenterComputerPowersResp) ProtoMessage() + func (x *PerCenterComputerPowersResp) GetAccOtJobInfo() *AccOtJobInfo + func (x *PerCenterComputerPowersResp) GetCode() int32 + func (x *PerCenterComputerPowersResp) GetErrorMsg() string + func (x *PerCenterComputerPowersResp) GetMsg() string + func (x *PerCenterComputerPowersResp) GetPerCenterComputerPowers() []*PerCenterComputerPowers + func (x *PerCenterComputerPowersResp) GetTotalSize() int32 + func (x *PerCenterComputerPowersResp) ProtoReflect() protoreflect.Message + func (x *PerCenterComputerPowersResp) Reset() + func (x *PerCenterComputerPowersResp) String() string + type StorageScreenReq struct + func (*StorageScreenReq) Descriptor() ([]byte, []int) + func (*StorageScreenReq) ProtoMessage() + func (x *StorageScreenReq) ProtoReflect() protoreflect.Message + func (x *StorageScreenReq) Reset() + func (x *StorageScreenReq) String() string + type StorageScreenResp struct + AiCenterInfos []*AiCenterInfos + Code int32 + ErrorMsg string + Msg string + StorageUsed float32 + StorageUsing float32 + TotalSize int32 + UsageRate float32 + UsingRate float32 + func (*StorageScreenResp) Descriptor() ([]byte, []int) + func (*StorageScreenResp) ProtoMessage() + func (x *StorageScreenResp) GetAiCenterInfos() []*AiCenterInfos + func (x *StorageScreenResp) GetCode() int32 + func (x *StorageScreenResp) GetErrorMsg() string + func (x *StorageScreenResp) GetMsg() string + func (x *StorageScreenResp) GetStorageUsed() float32 + func (x *StorageScreenResp) GetStorageUsing() float32 + func (x *StorageScreenResp) GetTotalSize() int32 + func (x *StorageScreenResp) GetUsageRate() float32 + func (x *StorageScreenResp) GetUsingRate() float32 + func (x *StorageScreenResp) ProtoReflect() protoreflect.Message + func (x *StorageScreenResp) Reset() + func (x *StorageScreenResp) String() string + type UnimplementedCephServer struct + func (UnimplementedCephServer) DailyPowerScreen(context.Context, *DailyPowerScreenReq) (*DailyPowerScreenResp, error) + func (UnimplementedCephServer) PerCenterComputerPowerScreen(context.Context, *PerCenterComputerPowersReq) (*PerCenterComputerPowersResp, error) + func (UnimplementedCephServer) StorageScreen(context.Context, *StorageScreenReq) (*StorageScreenResp, error) + type UnsafeCephServer interface