Versions in this module Expand all Collapse all v0 v0.1.3 May 16, 2022 Changes in this version + var File_idl_pbpod_pod_proto protoreflect.FileDescriptor + var PodService_ServiceDesc = grpc.ServiceDesc + func RegisterPodServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPodServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PodServiceClient) error + func RegisterPodServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPodServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PodServiceServer) error + func RegisterPodServiceServer(s grpc.ServiceRegistrar, srv PodServiceServer) + type CreatePodReq struct + AccountName string + ContainerImage string + ContainerName string + CpuPod string + MemoryPod string + Namespace string + PodId string + PodName string + Provider pbtenant.CloudProvider + RegionId int32 + RequestSource string + SecurityGroupId string + SubnetId string + VpcId string + func (*CreatePodReq) Descriptor() ([]byte, []int) + func (*CreatePodReq) ProtoMessage() + func (x *CreatePodReq) GetAccountName() string + func (x *CreatePodReq) GetContainerImage() string + func (x *CreatePodReq) GetContainerName() string + func (x *CreatePodReq) GetCpuPod() string + func (x *CreatePodReq) GetMemoryPod() string + func (x *CreatePodReq) GetNamespace() string + func (x *CreatePodReq) GetPodId() string + func (x *CreatePodReq) GetPodName() string + func (x *CreatePodReq) GetProvider() pbtenant.CloudProvider + func (x *CreatePodReq) GetRegionId() int32 + func (x *CreatePodReq) GetRequestSource() string + func (x *CreatePodReq) GetSecurityGroupId() string + func (x *CreatePodReq) GetSubnetId() string + func (x *CreatePodReq) GetVpcId() string + func (x *CreatePodReq) ProtoReflect() protoreflect.Message + func (x *CreatePodReq) Reset() + func (x *CreatePodReq) String() string + type CreatePodResp struct + Finished bool + PodId string + PodName string + RequestId string + func (*CreatePodResp) Descriptor() ([]byte, []int) + func (*CreatePodResp) ProtoMessage() + func (x *CreatePodResp) GetFinished() bool + func (x *CreatePodResp) GetPodId() string + func (x *CreatePodResp) GetPodName() string + func (x *CreatePodResp) GetRequestId() string + func (x *CreatePodResp) ProtoReflect() protoreflect.Message + func (x *CreatePodResp) Reset() + func (x *CreatePodResp) String() string + type CreatePodsReq struct + CreatePodReq []*CreatePodReq + func (*CreatePodsReq) Descriptor() ([]byte, []int) + func (*CreatePodsReq) ProtoMessage() + func (x *CreatePodsReq) GetCreatePodReq() []*CreatePodReq + func (x *CreatePodsReq) ProtoReflect() protoreflect.Message + func (x *CreatePodsReq) Reset() + func (x *CreatePodsReq) String() string + type CreatePodsResp struct + Finished bool + RequestId []string + func (*CreatePodsResp) Descriptor() ([]byte, []int) + func (*CreatePodsResp) ProtoMessage() + func (x *CreatePodsResp) GetFinished() bool + func (x *CreatePodsResp) GetRequestId() []string + func (x *CreatePodsResp) ProtoReflect() protoreflect.Message + func (x *CreatePodsResp) Reset() + func (x *CreatePodsResp) String() string + type DeletePodReq struct + AccountName string + Namespace string + PcmId string + PodId string + PodName string + Provider pbtenant.CloudProvider + RegionId int32 + RequestSource string + func (*DeletePodReq) Descriptor() ([]byte, []int) + func (*DeletePodReq) ProtoMessage() + func (x *DeletePodReq) GetAccountName() string + func (x *DeletePodReq) GetNamespace() string + func (x *DeletePodReq) GetPcmId() string + func (x *DeletePodReq) GetPodId() string + func (x *DeletePodReq) GetPodName() string + func (x *DeletePodReq) GetProvider() pbtenant.CloudProvider + func (x *DeletePodReq) GetRegionId() int32 + func (x *DeletePodReq) GetRequestSource() string + func (x *DeletePodReq) ProtoReflect() protoreflect.Message + func (x *DeletePodReq) Reset() + func (x *DeletePodReq) String() string + type DeletePodResp struct + Finished bool + PodId string + PodName string + RequestId string + func (*DeletePodResp) Descriptor() ([]byte, []int) + func (*DeletePodResp) ProtoMessage() + func (x *DeletePodResp) GetFinished() bool + func (x *DeletePodResp) GetPodId() string + func (x *DeletePodResp) GetPodName() string + func (x *DeletePodResp) GetRequestId() string + func (x *DeletePodResp) ProtoReflect() protoreflect.Message + func (x *DeletePodResp) Reset() + func (x *DeletePodResp) String() string + type GetPodRegionReq struct + Provider pbtenant.CloudProvider + func (*GetPodRegionReq) Descriptor() ([]byte, []int) + func (*GetPodRegionReq) ProtoMessage() + func (x *GetPodRegionReq) GetProvider() pbtenant.CloudProvider + func (x *GetPodRegionReq) ProtoReflect() protoreflect.Message + func (x *GetPodRegionReq) Reset() + func (x *GetPodRegionReq) String() string + type GetPodRegionResp struct + Regions []*pbtenant.Region + func (*GetPodRegionResp) Descriptor() ([]byte, []int) + func (*GetPodRegionResp) ProtoMessage() + func (x *GetPodRegionResp) GetRegions() []*pbtenant.Region + func (x *GetPodRegionResp) ProtoReflect() protoreflect.Message + func (x *GetPodRegionResp) Reset() + func (x *GetPodRegionResp) String() string + type ListPodAllReq struct + func (*ListPodAllReq) Descriptor() ([]byte, []int) + func (*ListPodAllReq) ProtoMessage() + func (x *ListPodAllReq) ProtoReflect() protoreflect.Message + func (x *ListPodAllReq) Reset() + func (x *ListPodAllReq) String() string + type ListPodDetailReq struct + AccountName string + Namespace string + NextToken string + PageNumber int32 + PageSize int32 + PodId int32 + Provider pbtenant.CloudProvider + RegionId int32 + RegionName int32 + func (*ListPodDetailReq) Descriptor() ([]byte, []int) + func (*ListPodDetailReq) ProtoMessage() + func (x *ListPodDetailReq) GetAccountName() string + func (x *ListPodDetailReq) GetNamespace() string + func (x *ListPodDetailReq) GetNextToken() string + func (x *ListPodDetailReq) GetPageNumber() int32 + func (x *ListPodDetailReq) GetPageSize() int32 + func (x *ListPodDetailReq) GetPodId() int32 + func (x *ListPodDetailReq) GetProvider() pbtenant.CloudProvider + func (x *ListPodDetailReq) GetRegionId() int32 + func (x *ListPodDetailReq) GetRegionName() int32 + func (x *ListPodDetailReq) ProtoReflect() protoreflect.Message + func (x *ListPodDetailReq) Reset() + func (x *ListPodDetailReq) String() string + type ListPodDetailResp struct + Finished bool + NextToken string + PageNumber int32 + PageSize int32 + Pods []*PodInstance + RequestId string + func (*ListPodDetailResp) Descriptor() ([]byte, []int) + func (*ListPodDetailResp) ProtoMessage() + func (x *ListPodDetailResp) GetFinished() bool + func (x *ListPodDetailResp) GetNextToken() string + func (x *ListPodDetailResp) GetPageNumber() int32 + func (x *ListPodDetailResp) GetPageSize() int32 + func (x *ListPodDetailResp) GetPods() []*PodInstance + func (x *ListPodDetailResp) GetRequestId() string + func (x *ListPodDetailResp) ProtoReflect() protoreflect.Message + func (x *ListPodDetailResp) Reset() + func (x *ListPodDetailResp) String() string + type ListPodReq struct + Namespace string + Provider pbtenant.CloudProvider + RequestSource string + func (*ListPodReq) Descriptor() ([]byte, []int) + func (*ListPodReq) ProtoMessage() + func (x *ListPodReq) GetNamespace() string + func (x *ListPodReq) GetProvider() pbtenant.CloudProvider + func (x *ListPodReq) GetRequestSource() string + func (x *ListPodReq) ProtoReflect() protoreflect.Message + func (x *ListPodReq) Reset() + func (x *ListPodReq) String() string + type ListPodResp struct + Pods []*PodInstance + func (*ListPodResp) Descriptor() ([]byte, []int) + func (*ListPodResp) ProtoMessage() + func (x *ListPodResp) GetPods() []*PodInstance + func (x *ListPodResp) ProtoReflect() protoreflect.Message + func (x *ListPodResp) Reset() + func (x *ListPodResp) String() string + type PodInstance struct + AccountName string + ContainerImage string + ContainerName string + CpuPod string + MemoryPod string + Namespace string + PcmId string + PodId string + PodName string + Provider pbtenant.CloudProvider + RegionId int32 + RegionName string + SecurityGroupId string + Status string + SubnetId string + VpcId string + func (*PodInstance) Descriptor() ([]byte, []int) + func (*PodInstance) ProtoMessage() + func (x *PodInstance) GetAccountName() string + func (x *PodInstance) GetContainerImage() string + func (x *PodInstance) GetContainerName() string + func (x *PodInstance) GetCpuPod() string + func (x *PodInstance) GetMemoryPod() string + func (x *PodInstance) GetNamespace() string + func (x *PodInstance) GetPcmId() string + func (x *PodInstance) GetPodId() string + func (x *PodInstance) GetPodName() string + func (x *PodInstance) GetProvider() pbtenant.CloudProvider + func (x *PodInstance) GetRegionId() int32 + func (x *PodInstance) GetRegionName() string + func (x *PodInstance) GetSecurityGroupId() string + func (x *PodInstance) GetStatus() string + func (x *PodInstance) GetSubnetId() string + func (x *PodInstance) GetVpcId() string + func (x *PodInstance) ProtoReflect() protoreflect.Message + func (x *PodInstance) Reset() + func (x *PodInstance) String() string + type PodServiceClient interface + CreatePod func(ctx context.Context, in *CreatePodReq, opts ...grpc.CallOption) (*CreatePodResp, error) + CreatePods func(ctx context.Context, in *CreatePodsReq, opts ...grpc.CallOption) (*CreatePodsResp, error) + DeletePod func(ctx context.Context, in *DeletePodReq, opts ...grpc.CallOption) (*DeletePodResp, error) + ListPod func(ctx context.Context, in *ListPodReq, opts ...grpc.CallOption) (*ListPodResp, error) + ListPodAll func(ctx context.Context, in *ListPodAllReq, opts ...grpc.CallOption) (*ListPodResp, error) + ListPodDetail func(ctx context.Context, in *ListPodDetailReq, opts ...grpc.CallOption) (*ListPodDetailResp, error) + UpdatePod func(ctx context.Context, in *UpdatePodReq, opts ...grpc.CallOption) (*UpdatePodResp, error) + func NewPodServiceClient(cc grpc.ClientConnInterface) PodServiceClient + type PodServiceServer interface + CreatePod func(context.Context, *CreatePodReq) (*CreatePodResp, error) + CreatePods func(context.Context, *CreatePodsReq) (*CreatePodsResp, error) + DeletePod func(context.Context, *DeletePodReq) (*DeletePodResp, error) + ListPod func(context.Context, *ListPodReq) (*ListPodResp, error) + ListPodAll func(context.Context, *ListPodAllReq) (*ListPodResp, error) + ListPodDetail func(context.Context, *ListPodDetailReq) (*ListPodDetailResp, error) + UpdatePod func(context.Context, *UpdatePodReq) (*UpdatePodResp, error) + type UnimplementedPodServiceServer struct + func (UnimplementedPodServiceServer) CreatePod(context.Context, *CreatePodReq) (*CreatePodResp, error) + func (UnimplementedPodServiceServer) CreatePods(context.Context, *CreatePodsReq) (*CreatePodsResp, error) + func (UnimplementedPodServiceServer) DeletePod(context.Context, *DeletePodReq) (*DeletePodResp, error) + func (UnimplementedPodServiceServer) ListPod(context.Context, *ListPodReq) (*ListPodResp, error) + func (UnimplementedPodServiceServer) ListPodAll(context.Context, *ListPodAllReq) (*ListPodResp, error) + func (UnimplementedPodServiceServer) ListPodDetail(context.Context, *ListPodDetailReq) (*ListPodDetailResp, error) + func (UnimplementedPodServiceServer) UpdatePod(context.Context, *UpdatePodReq) (*UpdatePodResp, error) + type UnsafePodServiceServer interface + type UpdatePodReq struct + AccountName string + ContainerImage string + ContainerName string + CpuPod string + Labels string + MemoryPod string + Namespace string + PcmId string + PodId string + PodName string + Provider pbtenant.CloudProvider + RegionId int32 + RequestSource string + RestartPolicy string + func (*UpdatePodReq) Descriptor() ([]byte, []int) + func (*UpdatePodReq) ProtoMessage() + func (x *UpdatePodReq) GetAccountName() string + func (x *UpdatePodReq) GetContainerImage() string + func (x *UpdatePodReq) GetContainerName() string + func (x *UpdatePodReq) GetCpuPod() string + func (x *UpdatePodReq) GetLabels() string + func (x *UpdatePodReq) GetMemoryPod() string + func (x *UpdatePodReq) GetNamespace() string + func (x *UpdatePodReq) GetPcmId() string + func (x *UpdatePodReq) GetPodId() string + func (x *UpdatePodReq) GetPodName() string + func (x *UpdatePodReq) GetProvider() pbtenant.CloudProvider + func (x *UpdatePodReq) GetRegionId() int32 + func (x *UpdatePodReq) GetRequestSource() string + func (x *UpdatePodReq) GetRestartPolicy() string + func (x *UpdatePodReq) ProtoReflect() protoreflect.Message + func (x *UpdatePodReq) Reset() + func (x *UpdatePodReq) String() string + type UpdatePodResp struct + Finished bool + PodId string + PodName string + RequestId string + func (*UpdatePodResp) Descriptor() ([]byte, []int) + func (*UpdatePodResp) ProtoMessage() + func (x *UpdatePodResp) GetFinished() bool + func (x *UpdatePodResp) GetPodId() string + func (x *UpdatePodResp) GetPodName() string + func (x *UpdatePodResp) GetRequestId() string + func (x *UpdatePodResp) ProtoReflect() protoreflect.Message + func (x *UpdatePodResp) Reset() + func (x *UpdatePodResp) String() string