Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type ActionCode
- type AgentClient
- type AgentServer
- type ConfigMapVolume
- func (*ConfigMapVolume) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapVolume) GetSource() *v1.ConfigMap
- func (x *ConfigMapVolume) GetVolume() *v1.ConfigMapVolumeSource
- func (*ConfigMapVolume) ProtoMessage()
- func (x *ConfigMapVolume) ProtoReflect() protoreflect.Message
- func (x *ConfigMapVolume) Reset()
- func (x *ConfigMapVolume) String() string
- type CreateWsTokenRequest
- func (*CreateWsTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWsTokenRequest) GetCustomerId() string
- func (x *CreateWsTokenRequest) GetPodName() string
- func (x *CreateWsTokenRequest) GetUserId() string
- func (x *CreateWsTokenRequest) GetVnodeId() string
- func (*CreateWsTokenRequest) ProtoMessage()
- func (x *CreateWsTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWsTokenRequest) Reset()
- func (x *CreateWsTokenRequest) String() string
- type CreateWsTokenResponse
- func (*CreateWsTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWsTokenResponse) GetCode() ActionCode
- func (x *CreateWsTokenResponse) GetMessage() string
- func (x *CreateWsTokenResponse) GetToken() string
- func (*CreateWsTokenResponse) ProtoMessage()
- func (x *CreateWsTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWsTokenResponse) Reset()
- func (x *CreateWsTokenResponse) String() string
- type DataCacheNetworkInfo
- func (*DataCacheNetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DataCacheNetworkInfo) GetDns() string
- func (x *DataCacheNetworkInfo) GetGateway() string
- func (x *DataCacheNetworkInfo) GetIp() string
- func (x *DataCacheNetworkInfo) GetVlan() string
- func (*DataCacheNetworkInfo) ProtoMessage()
- func (x *DataCacheNetworkInfo) ProtoReflect() protoreflect.Message
- func (x *DataCacheNetworkInfo) Reset()
- func (x *DataCacheNetworkInfo) String() string
- type DataCacheOptions
- func (*DataCacheOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DataCacheOptions) GetAccessToken() string
- func (x *DataCacheOptions) GetAkId() string
- func (x *DataCacheOptions) GetAkSecret() string
- func (x *DataCacheOptions) GetBucket() string
- func (x *DataCacheOptions) GetOtherOpts() string
- func (x *DataCacheOptions) GetPath() string
- func (x *DataCacheOptions) GetRepoId() string
- func (x *DataCacheOptions) GetRepoSource() string
- func (x *DataCacheOptions) GetRevision() string
- func (x *DataCacheOptions) GetServer() string
- func (x *DataCacheOptions) GetType() string
- func (x *DataCacheOptions) GetUrl() string
- func (*DataCacheOptions) ProtoMessage()
- func (x *DataCacheOptions) ProtoReflect() protoreflect.Message
- func (x *DataCacheOptions) Reset()
- func (x *DataCacheOptions) String() string
- type DataCacheRequest
- func (*DataCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DataCacheRequest) GetCustomerId() string
- func (x *DataCacheRequest) GetDest() *DataCacheOptions
- func (x *DataCacheRequest) GetId() string
- func (x *DataCacheRequest) GetImage() string
- func (x *DataCacheRequest) GetNetwork() *DataCacheNetworkInfo
- func (x *DataCacheRequest) GetSource() *DataCacheOptions
- func (x *DataCacheRequest) GetUserId() string
- func (*DataCacheRequest) ProtoMessage()
- func (x *DataCacheRequest) ProtoReflect() protoreflect.Message
- func (x *DataCacheRequest) Reset()
- func (x *DataCacheRequest) String() string
- type DataCacheResponse
- func (*DataCacheResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataCacheResponse) GetCode() ActionCode
- func (x *DataCacheResponse) GetMessage() string
- func (*DataCacheResponse) ProtoMessage()
- func (x *DataCacheResponse) ProtoReflect() protoreflect.Message
- func (x *DataCacheResponse) Reset()
- func (x *DataCacheResponse) String() string
- type DeleteCode
- type Env
- type EventRequest
- func (*EventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventRequest) GetName() string
- func (x *EventRequest) GetNamespace() string
- func (*EventRequest) ProtoMessage()
- func (x *EventRequest) ProtoReflect() protoreflect.Message
- func (x *EventRequest) Reset()
- func (x *EventRequest) String() string
- type EventResponse
- type FamilySpecRequest
- func (*FamilySpecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FamilySpecRequest) GetProductQuantity() map[string]*ProductQuantity
- func (*FamilySpecRequest) ProtoMessage()
- func (x *FamilySpecRequest) ProtoReflect() protoreflect.Message
- func (x *FamilySpecRequest) Reset()
- func (x *FamilySpecRequest) String() string
- type FamilySpecResponse
- func (*FamilySpecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FamilySpecResponse) GetMessage() string
- func (x *FamilySpecResponse) GetResult() bool
- func (*FamilySpecResponse) ProtoMessage()
- func (x *FamilySpecResponse) ProtoReflect() protoreflect.Message
- func (x *FamilySpecResponse) Reset()
- func (x *FamilySpecResponse) String() string
- type GetInstanceRequest
- func (*GetInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceRequest) GetCustomerId() string
- func (x *GetInstanceRequest) GetInstanceIds() []string
- func (x *GetInstanceRequest) GetUserId() string
- func (*GetInstanceRequest) ProtoMessage()
- func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceRequest) Reset()
- func (x *GetInstanceRequest) String() string
- type GetInstanceResponse
- func (*GetInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceResponse) GetInstanceIds() []string
- func (*GetInstanceResponse) ProtoMessage()
- func (x *GetInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetInstanceResponse) Reset()
- func (x *GetInstanceResponse) String() string
- type IpPoolSegments
- func (*IpPoolSegments) Descriptor() ([]byte, []int)deprecated
- func (x *IpPoolSegments) GetAvailableZoneId() string
- func (x *IpPoolSegments) GetGateway() string
- func (x *IpPoolSegments) GetStartEnd() []string
- func (x *IpPoolSegments) GetSubnet() string
- func (x *IpPoolSegments) GetVlan() string
- func (*IpPoolSegments) ProtoMessage()
- func (x *IpPoolSegments) ProtoReflect() protoreflect.Message
- func (x *IpPoolSegments) Reset()
- func (x *IpPoolSegments) String() string
- type NASVolumeInfo
- func (*NASVolumeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NASVolumeInfo) GetMountOptions() []string
- func (x *NASVolumeInfo) GetPath() string
- func (x *NASVolumeInfo) GetReadOnly() bool
- func (x *NASVolumeInfo) GetServer() string
- func (x *NASVolumeInfo) GetVolumeName() string
- func (*NASVolumeInfo) ProtoMessage()
- func (x *NASVolumeInfo) ProtoReflect() protoreflect.Message
- func (x *NASVolumeInfo) Reset()
- func (x *NASVolumeInfo) String() string
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetGateway() string
- func (x *NetworkInfo) GetIp() string
- func (x *NetworkInfo) GetVlan() string
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type NodeGpuUsage
- func (*NodeGpuUsage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGpuUsage) GetGpuType() string
- func (x *NodeGpuUsage) GetNodeId() string
- func (x *NodeGpuUsage) GetPodIds() []string
- func (x *NodeGpuUsage) GetTotalGpus() int64
- func (x *NodeGpuUsage) GetUsedGpus() int64
- func (*NodeGpuUsage) ProtoMessage()
- func (x *NodeGpuUsage) ProtoReflect() protoreflect.Message
- func (x *NodeGpuUsage) Reset()
- func (x *NodeGpuUsage) String() string
- type NodeGpuUsageRequest
- func (*NodeGpuUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGpuUsageRequest) GetNodeIds() []string
- func (*NodeGpuUsageRequest) ProtoMessage()
- func (x *NodeGpuUsageRequest) ProtoReflect() protoreflect.Message
- func (x *NodeGpuUsageRequest) Reset()
- func (x *NodeGpuUsageRequest) String() string
- type NodeGpuUsageResponse
- func (*NodeGpuUsageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGpuUsageResponse) GetCode() ActionCode
- func (x *NodeGpuUsageResponse) GetMessage() string
- func (x *NodeGpuUsageResponse) GetNodeGpuUsage() []*NodeGpuUsage
- func (*NodeGpuUsageResponse) ProtoMessage()
- func (x *NodeGpuUsageResponse) ProtoReflect() protoreflect.Message
- func (x *NodeGpuUsageResponse) Reset()
- func (x *NodeGpuUsageResponse) String() string
- type NodeQuantity
- func (*NodeQuantity) Descriptor() ([]byte, []int)deprecated
- func (x *NodeQuantity) GetCpu() int64
- func (x *NodeQuantity) GetGpu() int64
- func (x *NodeQuantity) GetRam() int64
- func (*NodeQuantity) ProtoMessage()
- func (x *NodeQuantity) ProtoReflect() protoreflect.Message
- func (x *NodeQuantity) Reset()
- func (x *NodeQuantity) String() string
- type NodeRequest
- func (*NodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeRequest) GetCustomerId() string
- func (x *NodeRequest) GetId() string
- func (x *NodeRequest) GetImage() string
- func (x *NodeRequest) GetIpPoolSegments() map[string]*IpPoolSegments
- func (x *NodeRequest) GetKubeConfig() string
- func (x *NodeRequest) GetLabels() map[string]string
- func (x *NodeRequest) GetNodeQuantity() *NodeQuantity
- func (x *NodeRequest) GetPrivateNet() *PrivateNet
- func (x *NodeRequest) GetTaints() []*v1.Taint
- func (x *NodeRequest) GetUserId() string
- func (*NodeRequest) ProtoMessage()
- func (x *NodeRequest) ProtoReflect() protoreflect.Message
- func (x *NodeRequest) Reset()
- func (x *NodeRequest) String() string
- type NodeResponse
- func (*NodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeResponse) GetCode() ActionCode
- func (x *NodeResponse) GetMessage() string
- func (*NodeResponse) ProtoMessage()
- func (x *NodeResponse) ProtoReflect() protoreflect.Message
- func (x *NodeResponse) Reset()
- func (x *NodeResponse) String() string
- type NodeUsage
- func (*NodeUsage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeUsage) GetCpuType() string
- func (x *NodeUsage) GetFamilyId() string
- func (x *NodeUsage) GetGpuType() string
- func (x *NodeUsage) GetId() string
- func (x *NodeUsage) GetLowestPricePerUnit() float32
- func (x *NodeUsage) GetName() string
- func (x *NodeUsage) GetTotalUsage() *UsageInfo
- func (x *NodeUsage) GetUsedSpotAsPriceGoUsage() *UsageInfo
- func (x *NodeUsage) GetUsedSpotPriceLimitUsage() *UsageInfo
- func (x *NodeUsage) GetUsedUsage() *UsageInfo
- func (*NodeUsage) ProtoMessage()
- func (x *NodeUsage) ProtoReflect() protoreflect.Message
- func (x *NodeUsage) Reset()
- func (x *NodeUsage) String() string
- type NodeUsageRequest
- type NodeUsageResponse
- func (*NodeUsageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeUsageResponse) GetUsage() []*NodeUsage
- func (*NodeUsageResponse) ProtoMessage()
- func (x *NodeUsageResponse) ProtoReflect() protoreflect.Message
- func (x *NodeUsageResponse) Reset()
- func (x *NodeUsageResponse) String() string
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)deprecated
- func (x *Pod) GetContainerGroupName() string
- func (x *Pod) GetId() string
- func (x *Pod) GetNetwork() *NetworkInfo
- func (x *Pod) GetRawPod() *v1.Pod
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) String() string
- type PodDeleteRequest
- func (*PodDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodDeleteRequest) GetCode() DeleteCode
- func (x *PodDeleteRequest) GetName() string
- func (x *PodDeleteRequest) GetNamespace() string
- func (x *PodDeleteRequest) GetRecycleProtectionPeriod() int64
- func (x *PodDeleteRequest) GetVNodeID() string
- func (*PodDeleteRequest) ProtoMessage()
- func (x *PodDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *PodDeleteRequest) Reset()
- func (x *PodDeleteRequest) String() string
- type PodEvent
- func (*PodEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PodEvent) GetFirstTimestamp() string
- func (x *PodEvent) GetLastTimestamp() string
- func (x *PodEvent) GetMessage() string
- func (x *PodEvent) GetName() string
- func (x *PodEvent) GetType() string
- func (*PodEvent) ProtoMessage()
- func (x *PodEvent) ProtoReflect() protoreflect.Message
- func (x *PodEvent) Reset()
- func (x *PodEvent) String() string
- type PodInfoRequest
- func (*PodInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodInfoRequest) GetName() string
- func (x *PodInfoRequest) GetNamespace() string
- func (x *PodInfoRequest) GetVnodeId() string
- func (*PodInfoRequest) ProtoMessage()
- func (x *PodInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PodInfoRequest) Reset()
- func (x *PodInfoRequest) String() string
- type PodInfoResponse
- func (*PodInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PodInfoResponse) GetCode() ActionCode
- func (x *PodInfoResponse) GetMessage() string
- func (x *PodInfoResponse) GetPods() []*Pods
- func (*PodInfoResponse) ProtoMessage()
- func (x *PodInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PodInfoResponse) Reset()
- func (x *PodInfoResponse) String() string
- type PodRebootRequest
- func (*PodRebootRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodRebootRequest) GetName() string
- func (x *PodRebootRequest) GetNamespace() string
- func (*PodRebootRequest) ProtoMessage()
- func (x *PodRebootRequest) ProtoReflect() protoreflect.Message
- func (x *PodRebootRequest) Reset()
- func (x *PodRebootRequest) String() string
- type PodRequest
- func (*PodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodRequest) GetCloudEdge() bool
- func (x *PodRequest) GetConfigMaps() []*v1.ConfigMap
- func (x *PodRequest) GetCpu() int64
- func (x *PodRequest) GetCpuType() string
- func (x *PodRequest) GetCustomerId() string
- func (x *PodRequest) GetGpu() int64
- func (x *PodRequest) GetGpuType() string
- func (x *PodRequest) GetNasVolumes() []*NASVolumeInfo
- func (x *PodRequest) GetPods() []*Pod
- func (x *PodRequest) GetRam() int64
- func (x *PodRequest) GetRestartPolicy() string
- func (x *PodRequest) GetSecrets() []*v1.Secret
- func (x *PodRequest) GetSpotPrice() string
- func (x *PodRequest) GetSpotStrategy() string
- func (x *PodRequest) GetTempStoreSize() int64
- func (x *PodRequest) GetTestCreditProjectId() int64
- func (x *PodRequest) GetUserId() string
- func (x *PodRequest) GetVnodeId() string
- func (x *PodRequest) GetZone() string
- func (*PodRequest) ProtoMessage()
- func (x *PodRequest) ProtoReflect() protoreflect.Message
- func (x *PodRequest) Reset()
- func (x *PodRequest) String() string
- type PodResponse
- func (*PodResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PodResponse) GetCode() ActionCode
- func (x *PodResponse) GetMessage() string
- func (*PodResponse) ProtoMessage()
- func (x *PodResponse) ProtoReflect() protoreflect.Message
- func (x *PodResponse) Reset()
- func (x *PodResponse) String() string
- type Pods
- type PrivateNet
- func (*PrivateNet) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateNet) GetEip() string
- func (x *PrivateNet) GetGateway() string
- func (x *PrivateNet) GetIp() string
- func (x *PrivateNet) GetSubnet() string
- func (x *PrivateNet) GetVlan() string
- func (*PrivateNet) ProtoMessage()
- func (x *PrivateNet) ProtoReflect() protoreflect.Message
- func (x *PrivateNet) Reset()
- func (x *PrivateNet) String() string
- type ProductQuantity
- type QuantityInfo
- func (*QuantityInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuantityInfo) GetCpu() int64
- func (x *QuantityInfo) GetCpuType() string
- func (x *QuantityInfo) GetGpu() int64
- func (x *QuantityInfo) GetGpuType() string
- func (x *QuantityInfo) GetMaxSpotPrice() string
- func (x *QuantityInfo) GetMinSpotPrice() string
- func (x *QuantityInfo) GetRam() int64
- func (*QuantityInfo) ProtoMessage()
- func (x *QuantityInfo) ProtoReflect() protoreflect.Message
- func (x *QuantityInfo) Reset()
- func (x *QuantityInfo) String() string
- type QuotaRequest
- func (*QuotaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaRequest) GetCustomerId() string
- func (x *QuotaRequest) GetQuota() *v1.ResourceQuotaSpec
- func (x *QuotaRequest) GetUserId() string
- func (*QuotaRequest) ProtoMessage()
- func (x *QuotaRequest) ProtoReflect() protoreflect.Message
- func (x *QuotaRequest) Reset()
- func (x *QuotaRequest) String() string
- type QuotaResponse
- func (*QuotaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaResponse) GetMessage() string
- func (x *QuotaResponse) GetResult() bool
- func (*QuotaResponse) ProtoMessage()
- func (x *QuotaResponse) ProtoReflect() protoreflect.Message
- func (x *QuotaResponse) Reset()
- func (x *QuotaResponse) String() string
- type QuotaStatusResponse
- func (*QuotaStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaStatusResponse) GetQuota() *v1.ResourceQuotaStatus
- func (*QuotaStatusResponse) ProtoMessage()
- func (x *QuotaStatusResponse) ProtoReflect() protoreflect.Message
- func (x *QuotaStatusResponse) Reset()
- func (x *QuotaStatusResponse) String() string
- type SecretVolume
- func (*SecretVolume) Descriptor() ([]byte, []int)deprecated
- func (x *SecretVolume) GetSource() *v1.Secret
- func (x *SecretVolume) GetVolume() *v1.SecretVolumeSource
- func (*SecretVolume) ProtoMessage()
- func (x *SecretVolume) ProtoReflect() protoreflect.Message
- func (x *SecretVolume) Reset()
- func (x *SecretVolume) String() string
- type SpotStrategy
- func (SpotStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x SpotStrategy) Enum() *SpotStrategy
- func (SpotStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpotStrategy) Number() protoreflect.EnumNumber
- func (x SpotStrategy) String() string
- func (SpotStrategy) Type() protoreflect.EnumType
- type UnimplementedAgentServer
- func (UnimplementedAgentServer) CheckResourceQuota(context.Context, *PodRequest) (*QuotaResponse, error)
- func (UnimplementedAgentServer) CreateDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
- func (UnimplementedAgentServer) CreateNode(context.Context, *NodeRequest) (*NodeResponse, error)
- func (UnimplementedAgentServer) CreatePod(context.Context, *PodRequest) (*PodResponse, error)
- func (UnimplementedAgentServer) CreateWsToken(context.Context, *CreateWsTokenRequest) (*CreateWsTokenResponse, error)
- func (UnimplementedAgentServer) DeleteDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
- func (UnimplementedAgentServer) DeleteNode(context.Context, *NodeRequest) (*NodeResponse, error)
- func (UnimplementedAgentServer) DeletePod(context.Context, *PodDeleteRequest) (*PodResponse, error)
- func (UnimplementedAgentServer) GetECIInstances(context.Context, *GetInstanceRequest) (*GetInstanceResponse, error)
- func (UnimplementedAgentServer) GetNodeGpuUsage(context.Context, *NodeGpuUsageRequest) (*NodeGpuUsageResponse, error)
- func (UnimplementedAgentServer) GetNodeUsage(context.Context, *NodeUsageRequest) (*NodeUsageResponse, error)
- func (UnimplementedAgentServer) GetPod(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
- func (UnimplementedAgentServer) GetPodEvent(context.Context, *EventRequest) (*EventResponse, error)
- func (UnimplementedAgentServer) GetPodStatus(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
- func (UnimplementedAgentServer) GetPods(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
- func (UnimplementedAgentServer) GetResourceQuota(context.Context, *QuotaRequest) (*QuotaStatusResponse, error)
- func (UnimplementedAgentServer) RebootPod(context.Context, *PodRebootRequest) (*PodResponse, error)
- func (UnimplementedAgentServer) SetResourceQuota(context.Context, *QuotaRequest) (*QuotaResponse, error)
- func (UnimplementedAgentServer) UpdateFamilySpecInfo(context.Context, *FamilySpecRequest) (*FamilySpecResponse, error)
- func (UnimplementedAgentServer) UpdateNode(context.Context, *NodeRequest) (*NodeResponse, error)
- func (UnimplementedAgentServer) UpdatePod(context.Context, *PodRequest) (*PodResponse, error)
- type UnsafeAgentServer
- type UsageInfo
Constants ¶
const ( Agent_CreatePod_FullMethodName = "/agent.Agent/CreatePod" Agent_UpdatePod_FullMethodName = "/agent.Agent/UpdatePod" Agent_DeletePod_FullMethodName = "/agent.Agent/DeletePod" Agent_RebootPod_FullMethodName = "/agent.Agent/RebootPod" Agent_GetPod_FullMethodName = "/agent.Agent/GetPod" Agent_GetPods_FullMethodName = "/agent.Agent/GetPods" Agent_GetPodStatus_FullMethodName = "/agent.Agent/GetPodStatus" Agent_GetPodEvent_FullMethodName = "/agent.Agent/GetPodEvent" Agent_CheckResourceQuota_FullMethodName = "/agent.Agent/CheckResourceQuota" Agent_GetResourceQuota_FullMethodName = "/agent.Agent/GetResourceQuota" Agent_SetResourceQuota_FullMethodName = "/agent.Agent/SetResourceQuota" Agent_CreateNode_FullMethodName = "/agent.Agent/CreateNode" Agent_UpdateNode_FullMethodName = "/agent.Agent/UpdateNode" Agent_DeleteNode_FullMethodName = "/agent.Agent/DeleteNode" Agent_GetNodeGpuUsage_FullMethodName = "/agent.Agent/GetNodeGpuUsage" Agent_GetNodeUsage_FullMethodName = "/agent.Agent/GetNodeUsage" Agent_CreateWsToken_FullMethodName = "/agent.Agent/CreateWsToken" Agent_GetECIInstances_FullMethodName = "/agent.Agent/GetECIInstances" Agent_UpdateFamilySpecInfo_FullMethodName = "/agent.Agent/UpdateFamilySpecInfo" Agent_CreateDataCache_FullMethodName = "/agent.Agent/CreateDataCache" Agent_DeleteDataCache_FullMethodName = "/agent.Agent/DeleteDataCache" )
Variables ¶
var ( ActionCode_name = map[int32]string{ 0: "SuccessCode", -1: "FailCode", } ActionCode_value = map[string]int32{ "SuccessCode": 0, "FailCode": -1, } )
Enum value maps for ActionCode.
var ( SpotStrategy_name = map[int32]string{ 0: "NoSpot", 1: "SpotWithPriceLimit", 2: "SpotAsPriceGo", } SpotStrategy_value = map[string]int32{ "NoSpot": 0, "SpotWithPriceLimit": 1, "SpotAsPriceGo": 2, } )
Enum value maps for SpotStrategy.
var ( DeleteCode_name = map[int32]string{ 0: "Default", 1: "SpotFailed", 2: "SpotDelayed", 3: "SpotCanceled", } DeleteCode_value = map[string]int32{ "Default": 0, "SpotFailed": 1, "SpotDelayed": 2, "SpotCanceled": 3, } )
Enum value maps for DeleteCode.
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "agent.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePod", Handler: _Agent_CreatePod_Handler, }, { MethodName: "UpdatePod", Handler: _Agent_UpdatePod_Handler, }, { MethodName: "DeletePod", Handler: _Agent_DeletePod_Handler, }, { MethodName: "RebootPod", Handler: _Agent_RebootPod_Handler, }, { MethodName: "GetPod", Handler: _Agent_GetPod_Handler, }, { MethodName: "GetPods", Handler: _Agent_GetPods_Handler, }, { MethodName: "GetPodStatus", Handler: _Agent_GetPodStatus_Handler, }, { MethodName: "GetPodEvent", Handler: _Agent_GetPodEvent_Handler, }, { MethodName: "CheckResourceQuota", Handler: _Agent_CheckResourceQuota_Handler, }, { MethodName: "GetResourceQuota", Handler: _Agent_GetResourceQuota_Handler, }, { MethodName: "SetResourceQuota", Handler: _Agent_SetResourceQuota_Handler, }, { MethodName: "CreateNode", Handler: _Agent_CreateNode_Handler, }, { MethodName: "UpdateNode", Handler: _Agent_UpdateNode_Handler, }, { MethodName: "DeleteNode", Handler: _Agent_DeleteNode_Handler, }, { MethodName: "GetNodeGpuUsage", Handler: _Agent_GetNodeGpuUsage_Handler, }, { MethodName: "GetNodeUsage", Handler: _Agent_GetNodeUsage_Handler, }, { MethodName: "CreateWsToken", Handler: _Agent_CreateWsToken_Handler, }, { MethodName: "GetECIInstances", Handler: _Agent_GetECIInstances_Handler, }, { MethodName: "UpdateFamilySpecInfo", Handler: _Agent_UpdateFamilySpecInfo_Handler, }, { MethodName: "CreateDataCache", Handler: _Agent_CreateDataCache_Handler, }, { MethodName: "DeleteDataCache", Handler: _Agent_DeleteDataCache_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "agent.proto", }
Agent_ServiceDesc is the grpc.ServiceDesc for Agent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_agent_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
Types ¶
type ActionCode ¶
type ActionCode int32
const ( ActionCode_SuccessCode ActionCode = 0 ActionCode_FailCode ActionCode = -1 )
func (ActionCode) Descriptor ¶
func (ActionCode) Descriptor() protoreflect.EnumDescriptor
func (ActionCode) Enum ¶
func (x ActionCode) Enum() *ActionCode
func (ActionCode) EnumDescriptor
deprecated
func (ActionCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionCode.Descriptor instead.
func (ActionCode) Number ¶
func (x ActionCode) Number() protoreflect.EnumNumber
func (ActionCode) String ¶
func (x ActionCode) String() string
func (ActionCode) Type ¶
func (ActionCode) Type() protoreflect.EnumType
type AgentClient ¶
type AgentClient interface {
CreatePod(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*PodResponse, error)
UpdatePod(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*PodResponse, error)
DeletePod(ctx context.Context, in *PodDeleteRequest, opts ...grpc.CallOption) (*PodResponse, error)
RebootPod(ctx context.Context, in *PodRebootRequest, opts ...grpc.CallOption) (*PodResponse, error)
GetPod(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
GetPods(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
GetPodStatus(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
GetPodEvent(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error)
CheckResourceQuota(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*QuotaResponse, error)
GetResourceQuota(ctx context.Context, in *QuotaRequest, opts ...grpc.CallOption) (*QuotaStatusResponse, error)
SetResourceQuota(ctx context.Context, in *QuotaRequest, opts ...grpc.CallOption) (*QuotaResponse, error)
CreateNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
UpdateNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
DeleteNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
GetNodeGpuUsage(ctx context.Context, in *NodeGpuUsageRequest, opts ...grpc.CallOption) (*NodeGpuUsageResponse, error)
GetNodeUsage(ctx context.Context, in *NodeUsageRequest, opts ...grpc.CallOption) (*NodeUsageResponse, error)
CreateWsToken(ctx context.Context, in *CreateWsTokenRequest, opts ...grpc.CallOption) (*CreateWsTokenResponse, error)
GetECIInstances(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*GetInstanceResponse, error)
UpdateFamilySpecInfo(ctx context.Context, in *FamilySpecRequest, opts ...grpc.CallOption) (*FamilySpecResponse, error)
CreateDataCache(ctx context.Context, in *DataCacheRequest, opts ...grpc.CallOption) (*DataCacheResponse, error)
DeleteDataCache(ctx context.Context, in *DataCacheRequest, opts ...grpc.CallOption) (*DataCacheResponse, error)
}
AgentClient is the client API for Agent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentClient ¶
func NewAgentClient(cc grpc.ClientConnInterface) AgentClient
type AgentServer ¶
type AgentServer interface {
CreatePod(context.Context, *PodRequest) (*PodResponse, error)
UpdatePod(context.Context, *PodRequest) (*PodResponse, error)
DeletePod(context.Context, *PodDeleteRequest) (*PodResponse, error)
RebootPod(context.Context, *PodRebootRequest) (*PodResponse, error)
GetPod(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
GetPods(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
GetPodStatus(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
GetPodEvent(context.Context, *EventRequest) (*EventResponse, error)
CheckResourceQuota(context.Context, *PodRequest) (*QuotaResponse, error)
GetResourceQuota(context.Context, *QuotaRequest) (*QuotaStatusResponse, error)
SetResourceQuota(context.Context, *QuotaRequest) (*QuotaResponse, error)
CreateNode(context.Context, *NodeRequest) (*NodeResponse, error)
UpdateNode(context.Context, *NodeRequest) (*NodeResponse, error)
DeleteNode(context.Context, *NodeRequest) (*NodeResponse, error)
GetNodeGpuUsage(context.Context, *NodeGpuUsageRequest) (*NodeGpuUsageResponse, error)
GetNodeUsage(context.Context, *NodeUsageRequest) (*NodeUsageResponse, error)
CreateWsToken(context.Context, *CreateWsTokenRequest) (*CreateWsTokenResponse, error)
GetECIInstances(context.Context, *GetInstanceRequest) (*GetInstanceResponse, error)
UpdateFamilySpecInfo(context.Context, *FamilySpecRequest) (*FamilySpecResponse, error)
CreateDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
DeleteDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
// contains filtered or unexported methods
}
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility.
type ConfigMapVolume ¶
type ConfigMapVolume struct {
Source *v1.ConfigMap `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
Volume *v1.ConfigMapVolumeSource `protobuf:"bytes,2,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigMapVolume) Descriptor
deprecated
func (*ConfigMapVolume) Descriptor() ([]byte, []int)
Deprecated: Use ConfigMapVolume.ProtoReflect.Descriptor instead.
func (*ConfigMapVolume) GetSource ¶
func (x *ConfigMapVolume) GetSource() *v1.ConfigMap
func (*ConfigMapVolume) GetVolume ¶
func (x *ConfigMapVolume) GetVolume() *v1.ConfigMapVolumeSource
func (*ConfigMapVolume) ProtoMessage ¶
func (*ConfigMapVolume) ProtoMessage()
func (*ConfigMapVolume) ProtoReflect ¶
func (x *ConfigMapVolume) ProtoReflect() protoreflect.Message
func (*ConfigMapVolume) Reset ¶
func (x *ConfigMapVolume) Reset()
func (*ConfigMapVolume) String ¶
func (x *ConfigMapVolume) String() string
type CreateWsTokenRequest ¶
type CreateWsTokenRequest struct {
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
PodName string `protobuf:"bytes,3,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
VnodeId string `protobuf:"bytes,4,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateWsTokenRequest) Descriptor
deprecated
func (*CreateWsTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWsTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateWsTokenRequest) GetCustomerId ¶
func (x *CreateWsTokenRequest) GetCustomerId() string
func (*CreateWsTokenRequest) GetPodName ¶
func (x *CreateWsTokenRequest) GetPodName() string
func (*CreateWsTokenRequest) GetUserId ¶
func (x *CreateWsTokenRequest) GetUserId() string
func (*CreateWsTokenRequest) GetVnodeId ¶
func (x *CreateWsTokenRequest) GetVnodeId() string
func (*CreateWsTokenRequest) ProtoMessage ¶
func (*CreateWsTokenRequest) ProtoMessage()
func (*CreateWsTokenRequest) ProtoReflect ¶
func (x *CreateWsTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateWsTokenRequest) Reset ¶
func (x *CreateWsTokenRequest) Reset()
func (*CreateWsTokenRequest) String ¶
func (x *CreateWsTokenRequest) String() string
type CreateWsTokenResponse ¶
type CreateWsTokenResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*CreateWsTokenResponse) Descriptor
deprecated
func (*CreateWsTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWsTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateWsTokenResponse) GetCode ¶
func (x *CreateWsTokenResponse) GetCode() ActionCode
func (*CreateWsTokenResponse) GetMessage ¶
func (x *CreateWsTokenResponse) GetMessage() string
func (*CreateWsTokenResponse) GetToken ¶
func (x *CreateWsTokenResponse) GetToken() string
func (*CreateWsTokenResponse) ProtoMessage ¶
func (*CreateWsTokenResponse) ProtoMessage()
func (*CreateWsTokenResponse) ProtoReflect ¶
func (x *CreateWsTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateWsTokenResponse) Reset ¶
func (x *CreateWsTokenResponse) Reset()
func (*CreateWsTokenResponse) String ¶
func (x *CreateWsTokenResponse) String() string
type DataCacheNetworkInfo ¶
type DataCacheNetworkInfo struct {
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
Vlan string `protobuf:"bytes,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
Dns string `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"`
// contains filtered or unexported fields
}
func (*DataCacheNetworkInfo) Descriptor
deprecated
func (*DataCacheNetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use DataCacheNetworkInfo.ProtoReflect.Descriptor instead.
func (*DataCacheNetworkInfo) GetDns ¶
func (x *DataCacheNetworkInfo) GetDns() string
func (*DataCacheNetworkInfo) GetGateway ¶
func (x *DataCacheNetworkInfo) GetGateway() string
func (*DataCacheNetworkInfo) GetIp ¶
func (x *DataCacheNetworkInfo) GetIp() string
func (*DataCacheNetworkInfo) GetVlan ¶
func (x *DataCacheNetworkInfo) GetVlan() string
func (*DataCacheNetworkInfo) ProtoMessage ¶
func (*DataCacheNetworkInfo) ProtoMessage()
func (*DataCacheNetworkInfo) ProtoReflect ¶
func (x *DataCacheNetworkInfo) ProtoReflect() protoreflect.Message
func (*DataCacheNetworkInfo) Reset ¶
func (x *DataCacheNetworkInfo) Reset()
func (*DataCacheNetworkInfo) String ¶
func (x *DataCacheNetworkInfo) String() string
type DataCacheOptions ¶
type DataCacheOptions struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
Server string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
OtherOpts string `protobuf:"bytes,5,opt,name=otherOpts,proto3" json:"otherOpts,omitempty"`
Bucket string `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"`
AkId string `protobuf:"bytes,7,opt,name=akId,proto3" json:"akId,omitempty"`
AkSecret string `protobuf:"bytes,8,opt,name=akSecret,proto3" json:"akSecret,omitempty"`
AccessToken string `protobuf:"bytes,9,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
RepoSource string `protobuf:"bytes,10,opt,name=repoSource,proto3" json:"repoSource,omitempty"`
RepoId string `protobuf:"bytes,11,opt,name=repoId,proto3" json:"repoId,omitempty"`
Revision string `protobuf:"bytes,12,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*DataCacheOptions) Descriptor
deprecated
func (*DataCacheOptions) Descriptor() ([]byte, []int)
Deprecated: Use DataCacheOptions.ProtoReflect.Descriptor instead.
func (*DataCacheOptions) GetAccessToken ¶
func (x *DataCacheOptions) GetAccessToken() string
func (*DataCacheOptions) GetAkId ¶
func (x *DataCacheOptions) GetAkId() string
func (*DataCacheOptions) GetAkSecret ¶
func (x *DataCacheOptions) GetAkSecret() string
func (*DataCacheOptions) GetBucket ¶
func (x *DataCacheOptions) GetBucket() string
func (*DataCacheOptions) GetOtherOpts ¶
func (x *DataCacheOptions) GetOtherOpts() string
func (*DataCacheOptions) GetPath ¶
func (x *DataCacheOptions) GetPath() string
func (*DataCacheOptions) GetRepoId ¶
func (x *DataCacheOptions) GetRepoId() string
func (*DataCacheOptions) GetRepoSource ¶
func (x *DataCacheOptions) GetRepoSource() string
func (*DataCacheOptions) GetRevision ¶
func (x *DataCacheOptions) GetRevision() string
func (*DataCacheOptions) GetServer ¶
func (x *DataCacheOptions) GetServer() string
func (*DataCacheOptions) GetType ¶
func (x *DataCacheOptions) GetType() string
func (*DataCacheOptions) GetUrl ¶
func (x *DataCacheOptions) GetUrl() string
func (*DataCacheOptions) ProtoMessage ¶
func (*DataCacheOptions) ProtoMessage()
func (*DataCacheOptions) ProtoReflect ¶
func (x *DataCacheOptions) ProtoReflect() protoreflect.Message
func (*DataCacheOptions) Reset ¶
func (x *DataCacheOptions) Reset()
func (*DataCacheOptions) String ¶
func (x *DataCacheOptions) String() string
type DataCacheRequest ¶
type DataCacheRequest struct {
Network *DataCacheNetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Dest *DataCacheOptions `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
Source *DataCacheOptions `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
CustomerId string `protobuf:"bytes,6,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
UserId string `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*DataCacheRequest) Descriptor
deprecated
func (*DataCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use DataCacheRequest.ProtoReflect.Descriptor instead.
func (*DataCacheRequest) GetCustomerId ¶
func (x *DataCacheRequest) GetCustomerId() string
func (*DataCacheRequest) GetDest ¶
func (x *DataCacheRequest) GetDest() *DataCacheOptions
func (*DataCacheRequest) GetId ¶
func (x *DataCacheRequest) GetId() string
func (*DataCacheRequest) GetImage ¶
func (x *DataCacheRequest) GetImage() string
func (*DataCacheRequest) GetNetwork ¶
func (x *DataCacheRequest) GetNetwork() *DataCacheNetworkInfo
func (*DataCacheRequest) GetSource ¶
func (x *DataCacheRequest) GetSource() *DataCacheOptions
func (*DataCacheRequest) GetUserId ¶
func (x *DataCacheRequest) GetUserId() string
func (*DataCacheRequest) ProtoMessage ¶
func (*DataCacheRequest) ProtoMessage()
func (*DataCacheRequest) ProtoReflect ¶
func (x *DataCacheRequest) ProtoReflect() protoreflect.Message
func (*DataCacheRequest) Reset ¶
func (x *DataCacheRequest) Reset()
func (*DataCacheRequest) String ¶
func (x *DataCacheRequest) String() string
type DataCacheResponse ¶
type DataCacheResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DataCacheResponse) Descriptor
deprecated
func (*DataCacheResponse) Descriptor() ([]byte, []int)
Deprecated: Use DataCacheResponse.ProtoReflect.Descriptor instead.
func (*DataCacheResponse) GetCode ¶
func (x *DataCacheResponse) GetCode() ActionCode
func (*DataCacheResponse) GetMessage ¶
func (x *DataCacheResponse) GetMessage() string
func (*DataCacheResponse) ProtoMessage ¶
func (*DataCacheResponse) ProtoMessage()
func (*DataCacheResponse) ProtoReflect ¶
func (x *DataCacheResponse) ProtoReflect() protoreflect.Message
func (*DataCacheResponse) Reset ¶
func (x *DataCacheResponse) Reset()
func (*DataCacheResponse) String ¶
func (x *DataCacheResponse) String() string
type DeleteCode ¶
type DeleteCode int32
const ( DeleteCode_Default DeleteCode = 0 DeleteCode_SpotFailed DeleteCode = 1 DeleteCode_SpotDelayed DeleteCode = 2 DeleteCode_SpotCanceled DeleteCode = 3 )
func (DeleteCode) Descriptor ¶
func (DeleteCode) Descriptor() protoreflect.EnumDescriptor
func (DeleteCode) Enum ¶
func (x DeleteCode) Enum() *DeleteCode
func (DeleteCode) EnumDescriptor
deprecated
func (DeleteCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteCode.Descriptor instead.
func (DeleteCode) Number ¶
func (x DeleteCode) Number() protoreflect.EnumNumber
func (DeleteCode) String ¶
func (x DeleteCode) String() string
func (DeleteCode) Type ¶
func (DeleteCode) Type() protoreflect.EnumType
type Env ¶
type Env struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Env) Descriptor
deprecated
func (*Env) ProtoMessage ¶
func (*Env) ProtoMessage()
func (*Env) ProtoReflect ¶
func (x *Env) ProtoReflect() protoreflect.Message
type EventRequest ¶
type EventRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*EventRequest) Descriptor
deprecated
func (*EventRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.
func (*EventRequest) GetName ¶
func (x *EventRequest) GetName() string
func (*EventRequest) GetNamespace ¶
func (x *EventRequest) GetNamespace() string
func (*EventRequest) ProtoMessage ¶
func (*EventRequest) ProtoMessage()
func (*EventRequest) ProtoReflect ¶
func (x *EventRequest) ProtoReflect() protoreflect.Message
func (*EventRequest) Reset ¶
func (x *EventRequest) Reset()
func (*EventRequest) String ¶
func (x *EventRequest) String() string
type EventResponse ¶
type EventResponse struct {
Events []*PodEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
func (*EventResponse) Descriptor
deprecated
func (*EventResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventResponse.ProtoReflect.Descriptor instead.
func (*EventResponse) GetEvents ¶
func (x *EventResponse) GetEvents() []*PodEvent
func (*EventResponse) ProtoMessage ¶
func (*EventResponse) ProtoMessage()
func (*EventResponse) ProtoReflect ¶
func (x *EventResponse) ProtoReflect() protoreflect.Message
func (*EventResponse) Reset ¶
func (x *EventResponse) Reset()
func (*EventResponse) String ¶
func (x *EventResponse) String() string
type FamilySpecRequest ¶
type FamilySpecRequest struct {
ProductQuantity map[string]*ProductQuantity `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FamilySpecRequest) Descriptor
deprecated
func (*FamilySpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use FamilySpecRequest.ProtoReflect.Descriptor instead.
func (*FamilySpecRequest) GetProductQuantity ¶
func (x *FamilySpecRequest) GetProductQuantity() map[string]*ProductQuantity
func (*FamilySpecRequest) ProtoMessage ¶
func (*FamilySpecRequest) ProtoMessage()
func (*FamilySpecRequest) ProtoReflect ¶
func (x *FamilySpecRequest) ProtoReflect() protoreflect.Message
func (*FamilySpecRequest) Reset ¶
func (x *FamilySpecRequest) Reset()
func (*FamilySpecRequest) String ¶
func (x *FamilySpecRequest) String() string
type FamilySpecResponse ¶
type FamilySpecResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*FamilySpecResponse) Descriptor
deprecated
func (*FamilySpecResponse) Descriptor() ([]byte, []int)
Deprecated: Use FamilySpecResponse.ProtoReflect.Descriptor instead.
func (*FamilySpecResponse) GetMessage ¶
func (x *FamilySpecResponse) GetMessage() string
func (*FamilySpecResponse) GetResult ¶
func (x *FamilySpecResponse) GetResult() bool
func (*FamilySpecResponse) ProtoMessage ¶
func (*FamilySpecResponse) ProtoMessage()
func (*FamilySpecResponse) ProtoReflect ¶
func (x *FamilySpecResponse) ProtoReflect() protoreflect.Message
func (*FamilySpecResponse) Reset ¶
func (x *FamilySpecResponse) Reset()
func (*FamilySpecResponse) String ¶
func (x *FamilySpecResponse) String() string
type GetInstanceRequest ¶
type GetInstanceRequest struct {
CustomerId string `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
InstanceIds []string `protobuf:"bytes,3,rep,name=InstanceIds,proto3" json:"InstanceIds,omitempty"`
// contains filtered or unexported fields
}
func (*GetInstanceRequest) Descriptor
deprecated
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetCustomerId ¶
func (x *GetInstanceRequest) GetCustomerId() string
func (*GetInstanceRequest) GetInstanceIds ¶
func (x *GetInstanceRequest) GetInstanceIds() []string
func (*GetInstanceRequest) GetUserId ¶
func (x *GetInstanceRequest) GetUserId() string
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect ¶
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset ¶
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (x *GetInstanceRequest) String() string
type GetInstanceResponse ¶
type GetInstanceResponse struct {
InstanceIds []string `protobuf:"bytes,1,rep,name=InstanceIds,proto3" json:"InstanceIds,omitempty"`
// contains filtered or unexported fields
}
func (*GetInstanceResponse) Descriptor
deprecated
func (*GetInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceResponse.ProtoReflect.Descriptor instead.
func (*GetInstanceResponse) GetInstanceIds ¶
func (x *GetInstanceResponse) GetInstanceIds() []string
func (*GetInstanceResponse) ProtoMessage ¶
func (*GetInstanceResponse) ProtoMessage()
func (*GetInstanceResponse) ProtoReflect ¶
func (x *GetInstanceResponse) ProtoReflect() protoreflect.Message
func (*GetInstanceResponse) Reset ¶
func (x *GetInstanceResponse) Reset()
func (*GetInstanceResponse) String ¶
func (x *GetInstanceResponse) String() string
type IpPoolSegments ¶
type IpPoolSegments struct {
Vlan string `protobuf:"bytes,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
AvailableZoneId string `protobuf:"bytes,4,opt,name=available_zone_id,json=availableZoneId,proto3" json:"available_zone_id,omitempty"`
StartEnd []string `protobuf:"bytes,5,rep,name=start_end,json=startEnd,proto3" json:"start_end,omitempty"`
// contains filtered or unexported fields
}
func (*IpPoolSegments) Descriptor
deprecated
func (*IpPoolSegments) Descriptor() ([]byte, []int)
Deprecated: Use IpPoolSegments.ProtoReflect.Descriptor instead.
func (*IpPoolSegments) GetAvailableZoneId ¶
func (x *IpPoolSegments) GetAvailableZoneId() string
func (*IpPoolSegments) GetGateway ¶
func (x *IpPoolSegments) GetGateway() string
func (*IpPoolSegments) GetStartEnd ¶
func (x *IpPoolSegments) GetStartEnd() []string
func (*IpPoolSegments) GetSubnet ¶
func (x *IpPoolSegments) GetSubnet() string
func (*IpPoolSegments) GetVlan ¶
func (x *IpPoolSegments) GetVlan() string
func (*IpPoolSegments) ProtoMessage ¶
func (*IpPoolSegments) ProtoMessage()
func (*IpPoolSegments) ProtoReflect ¶
func (x *IpPoolSegments) ProtoReflect() protoreflect.Message
func (*IpPoolSegments) Reset ¶
func (x *IpPoolSegments) Reset()
func (*IpPoolSegments) String ¶
func (x *IpPoolSegments) String() string
type NASVolumeInfo ¶
type NASVolumeInfo struct {
VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
MountOptions []string `protobuf:"bytes,4,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
ReadOnly bool `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
// contains filtered or unexported fields
}
func (*NASVolumeInfo) Descriptor
deprecated
func (*NASVolumeInfo) Descriptor() ([]byte, []int)
Deprecated: Use NASVolumeInfo.ProtoReflect.Descriptor instead.
func (*NASVolumeInfo) GetMountOptions ¶
func (x *NASVolumeInfo) GetMountOptions() []string
func (*NASVolumeInfo) GetPath ¶
func (x *NASVolumeInfo) GetPath() string
func (*NASVolumeInfo) GetReadOnly ¶
func (x *NASVolumeInfo) GetReadOnly() bool
func (*NASVolumeInfo) GetServer ¶
func (x *NASVolumeInfo) GetServer() string
func (*NASVolumeInfo) GetVolumeName ¶
func (x *NASVolumeInfo) GetVolumeName() string
func (*NASVolumeInfo) ProtoMessage ¶
func (*NASVolumeInfo) ProtoMessage()
func (*NASVolumeInfo) ProtoReflect ¶
func (x *NASVolumeInfo) ProtoReflect() protoreflect.Message
func (*NASVolumeInfo) Reset ¶
func (x *NASVolumeInfo) Reset()
func (*NASVolumeInfo) String ¶
func (x *NASVolumeInfo) String() string
type NetworkInfo ¶
type NetworkInfo struct {
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
Vlan string `protobuf:"bytes,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkInfo) Descriptor
deprecated
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetGateway ¶
func (x *NetworkInfo) GetGateway() string
func (*NetworkInfo) GetIp ¶
func (x *NetworkInfo) GetIp() string
func (*NetworkInfo) GetVlan ¶
func (x *NetworkInfo) GetVlan() string
func (*NetworkInfo) ProtoMessage ¶
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect ¶
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset ¶
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String ¶
func (x *NetworkInfo) String() string
type NodeGpuUsage ¶
type NodeGpuUsage struct {
NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
GpuType string `protobuf:"bytes,2,opt,name=gpuType,proto3" json:"gpuType,omitempty"`
TotalGpus int64 `protobuf:"varint,3,opt,name=totalGpus,proto3" json:"totalGpus,omitempty"`
UsedGpus int64 `protobuf:"varint,4,opt,name=usedGpus,proto3" json:"usedGpus,omitempty"`
PodIds []string `protobuf:"bytes,5,rep,name=podIds,proto3" json:"podIds,omitempty"`
// contains filtered or unexported fields
}
func (*NodeGpuUsage) Descriptor
deprecated
func (*NodeGpuUsage) Descriptor() ([]byte, []int)
Deprecated: Use NodeGpuUsage.ProtoReflect.Descriptor instead.
func (*NodeGpuUsage) GetGpuType ¶
func (x *NodeGpuUsage) GetGpuType() string
func (*NodeGpuUsage) GetNodeId ¶
func (x *NodeGpuUsage) GetNodeId() string
func (*NodeGpuUsage) GetPodIds ¶
func (x *NodeGpuUsage) GetPodIds() []string
func (*NodeGpuUsage) GetTotalGpus ¶
func (x *NodeGpuUsage) GetTotalGpus() int64
func (*NodeGpuUsage) GetUsedGpus ¶
func (x *NodeGpuUsage) GetUsedGpus() int64
func (*NodeGpuUsage) ProtoMessage ¶
func (*NodeGpuUsage) ProtoMessage()
func (*NodeGpuUsage) ProtoReflect ¶
func (x *NodeGpuUsage) ProtoReflect() protoreflect.Message
func (*NodeGpuUsage) Reset ¶
func (x *NodeGpuUsage) Reset()
func (*NodeGpuUsage) String ¶
func (x *NodeGpuUsage) String() string
type NodeGpuUsageRequest ¶
type NodeGpuUsageRequest struct {
NodeIds []string `protobuf:"bytes,1,rep,name=nodeIds,proto3" json:"nodeIds,omitempty"`
// contains filtered or unexported fields
}
func (*NodeGpuUsageRequest) Descriptor
deprecated
func (*NodeGpuUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeGpuUsageRequest.ProtoReflect.Descriptor instead.
func (*NodeGpuUsageRequest) GetNodeIds ¶
func (x *NodeGpuUsageRequest) GetNodeIds() []string
func (*NodeGpuUsageRequest) ProtoMessage ¶
func (*NodeGpuUsageRequest) ProtoMessage()
func (*NodeGpuUsageRequest) ProtoReflect ¶
func (x *NodeGpuUsageRequest) ProtoReflect() protoreflect.Message
func (*NodeGpuUsageRequest) Reset ¶
func (x *NodeGpuUsageRequest) Reset()
func (*NodeGpuUsageRequest) String ¶
func (x *NodeGpuUsageRequest) String() string
type NodeGpuUsageResponse ¶
type NodeGpuUsageResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
NodeGpuUsage []*NodeGpuUsage `protobuf:"bytes,3,rep,name=node_gpu_usage,json=nodeGpuUsage,proto3" json:"node_gpu_usage,omitempty"`
// contains filtered or unexported fields
}
func (*NodeGpuUsageResponse) Descriptor
deprecated
func (*NodeGpuUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeGpuUsageResponse.ProtoReflect.Descriptor instead.
func (*NodeGpuUsageResponse) GetCode ¶
func (x *NodeGpuUsageResponse) GetCode() ActionCode
func (*NodeGpuUsageResponse) GetMessage ¶
func (x *NodeGpuUsageResponse) GetMessage() string
func (*NodeGpuUsageResponse) GetNodeGpuUsage ¶
func (x *NodeGpuUsageResponse) GetNodeGpuUsage() []*NodeGpuUsage
func (*NodeGpuUsageResponse) ProtoMessage ¶
func (*NodeGpuUsageResponse) ProtoMessage()
func (*NodeGpuUsageResponse) ProtoReflect ¶
func (x *NodeGpuUsageResponse) ProtoReflect() protoreflect.Message
func (*NodeGpuUsageResponse) Reset ¶
func (x *NodeGpuUsageResponse) Reset()
func (*NodeGpuUsageResponse) String ¶
func (x *NodeGpuUsageResponse) String() string
type NodeQuantity ¶
type NodeQuantity struct {
Cpu int64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
Ram int64 `protobuf:"varint,2,opt,name=ram,proto3" json:"ram,omitempty"`
Gpu int64 `protobuf:"varint,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
// contains filtered or unexported fields
}
func (*NodeQuantity) Descriptor
deprecated
func (*NodeQuantity) Descriptor() ([]byte, []int)
Deprecated: Use NodeQuantity.ProtoReflect.Descriptor instead.
func (*NodeQuantity) GetCpu ¶
func (x *NodeQuantity) GetCpu() int64
func (*NodeQuantity) GetGpu ¶
func (x *NodeQuantity) GetGpu() int64
func (*NodeQuantity) GetRam ¶
func (x *NodeQuantity) GetRam() int64
func (*NodeQuantity) ProtoMessage ¶
func (*NodeQuantity) ProtoMessage()
func (*NodeQuantity) ProtoReflect ¶
func (x *NodeQuantity) ProtoReflect() protoreflect.Message
func (*NodeQuantity) Reset ¶
func (x *NodeQuantity) Reset()
func (*NodeQuantity) String ¶
func (x *NodeQuantity) String() string
type NodeRequest ¶
type NodeRequest struct {
KubeConfig string `protobuf:"bytes,1,opt,name=kube_config,json=kubeConfig,proto3" json:"kube_config,omitempty"`
IpPoolSegments map[string]*IpPoolSegments `` /* 179-byte string literal not displayed */
CustomerId string `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
PrivateNet *PrivateNet `protobuf:"bytes,6,opt,name=private_net,json=privateNet,proto3" json:"private_net,omitempty"`
Taints []*v1.Taint `protobuf:"bytes,7,rep,name=Taints,proto3" json:"Taints,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
NodeQuantity *NodeQuantity `protobuf:"bytes,9,opt,name=nodeQuantity,proto3" json:"nodeQuantity,omitempty"`
Image string `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
func (*NodeRequest) Descriptor
deprecated
func (*NodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeRequest.ProtoReflect.Descriptor instead.
func (*NodeRequest) GetCustomerId ¶
func (x *NodeRequest) GetCustomerId() string
func (*NodeRequest) GetId ¶
func (x *NodeRequest) GetId() string
func (*NodeRequest) GetImage ¶
func (x *NodeRequest) GetImage() string
func (*NodeRequest) GetIpPoolSegments ¶
func (x *NodeRequest) GetIpPoolSegments() map[string]*IpPoolSegments
func (*NodeRequest) GetKubeConfig ¶
func (x *NodeRequest) GetKubeConfig() string
func (*NodeRequest) GetLabels ¶
func (x *NodeRequest) GetLabels() map[string]string
func (*NodeRequest) GetNodeQuantity ¶
func (x *NodeRequest) GetNodeQuantity() *NodeQuantity
func (*NodeRequest) GetPrivateNet ¶
func (x *NodeRequest) GetPrivateNet() *PrivateNet
func (*NodeRequest) GetTaints ¶
func (x *NodeRequest) GetTaints() []*v1.Taint
func (*NodeRequest) GetUserId ¶
func (x *NodeRequest) GetUserId() string
func (*NodeRequest) ProtoMessage ¶
func (*NodeRequest) ProtoMessage()
func (*NodeRequest) ProtoReflect ¶
func (x *NodeRequest) ProtoReflect() protoreflect.Message
func (*NodeRequest) Reset ¶
func (x *NodeRequest) Reset()
func (*NodeRequest) String ¶
func (x *NodeRequest) String() string
type NodeResponse ¶
type NodeResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*NodeResponse) Descriptor
deprecated
func (*NodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeResponse.ProtoReflect.Descriptor instead.
func (*NodeResponse) GetCode ¶
func (x *NodeResponse) GetCode() ActionCode
func (*NodeResponse) GetMessage ¶
func (x *NodeResponse) GetMessage() string
func (*NodeResponse) ProtoMessage ¶
func (*NodeResponse) ProtoMessage()
func (*NodeResponse) ProtoReflect ¶
func (x *NodeResponse) ProtoReflect() protoreflect.Message
func (*NodeResponse) Reset ¶
func (x *NodeResponse) Reset()
func (*NodeResponse) String ¶
func (x *NodeResponse) String() string
type NodeUsage ¶
type NodeUsage struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
GpuType string `protobuf:"bytes,3,opt,name=gpuType,proto3" json:"gpuType,omitempty"`
CpuType string `protobuf:"bytes,4,opt,name=cpuType,proto3" json:"cpuType,omitempty"`
TotalUsage *UsageInfo `protobuf:"bytes,5,opt,name=totalUsage,proto3" json:"totalUsage,omitempty"`
UsedUsage *UsageInfo `protobuf:"bytes,6,opt,name=usedUsage,proto3" json:"usedUsage,omitempty"`
UsedSpotPriceLimitUsage *UsageInfo `protobuf:"bytes,7,opt,name=usedSpotPriceLimitUsage,proto3" json:"usedSpotPriceLimitUsage,omitempty"`
UsedSpotAsPriceGoUsage *UsageInfo `protobuf:"bytes,8,opt,name=usedSpotAsPriceGoUsage,proto3" json:"usedSpotAsPriceGoUsage,omitempty"`
FamilyId string `protobuf:"bytes,9,opt,name=familyId,proto3" json:"familyId,omitempty"`
LowestPricePerUnit float32 `protobuf:"fixed32,10,opt,name=lowestPricePerUnit,proto3" json:"lowestPricePerUnit,omitempty"`
// contains filtered or unexported fields
}
func (*NodeUsage) Descriptor
deprecated
func (*NodeUsage) GetCpuType ¶
func (*NodeUsage) GetFamilyId ¶
func (*NodeUsage) GetGpuType ¶
func (*NodeUsage) GetLowestPricePerUnit ¶
func (*NodeUsage) GetTotalUsage ¶
func (*NodeUsage) GetUsedSpotAsPriceGoUsage ¶
func (*NodeUsage) GetUsedSpotPriceLimitUsage ¶
func (*NodeUsage) GetUsedUsage ¶
func (*NodeUsage) ProtoMessage ¶
func (*NodeUsage) ProtoMessage()
func (*NodeUsage) ProtoReflect ¶
func (x *NodeUsage) ProtoReflect() protoreflect.Message
type NodeUsageRequest ¶
type NodeUsageRequest struct {
// contains filtered or unexported fields
}
func (*NodeUsageRequest) Descriptor
deprecated
func (*NodeUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeUsageRequest.ProtoReflect.Descriptor instead.
func (*NodeUsageRequest) ProtoMessage ¶
func (*NodeUsageRequest) ProtoMessage()
func (*NodeUsageRequest) ProtoReflect ¶
func (x *NodeUsageRequest) ProtoReflect() protoreflect.Message
func (*NodeUsageRequest) Reset ¶
func (x *NodeUsageRequest) Reset()
func (*NodeUsageRequest) String ¶
func (x *NodeUsageRequest) String() string
type NodeUsageResponse ¶
type NodeUsageResponse struct {
Usage []*NodeUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*NodeUsageResponse) Descriptor
deprecated
func (*NodeUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeUsageResponse.ProtoReflect.Descriptor instead.
func (*NodeUsageResponse) GetUsage ¶
func (x *NodeUsageResponse) GetUsage() []*NodeUsage
func (*NodeUsageResponse) ProtoMessage ¶
func (*NodeUsageResponse) ProtoMessage()
func (*NodeUsageResponse) ProtoReflect ¶
func (x *NodeUsageResponse) ProtoReflect() protoreflect.Message
func (*NodeUsageResponse) Reset ¶
func (x *NodeUsageResponse) Reset()
func (*NodeUsageResponse) String ¶
func (x *NodeUsageResponse) String() string
type Pod ¶
type Pod struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ContainerGroupName string `protobuf:"bytes,2,opt,name=containerGroupName,proto3" json:"containerGroupName,omitempty"`
Network *NetworkInfo `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
RawPod *v1.Pod `protobuf:"bytes,4,opt,name=rawPod,proto3,oneof" json:"rawPod,omitempty"`
// contains filtered or unexported fields
}
func (*Pod) Descriptor
deprecated
func (*Pod) GetContainerGroupName ¶
func (*Pod) GetNetwork ¶
func (x *Pod) GetNetwork() *NetworkInfo
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
type PodDeleteRequest ¶
type PodDeleteRequest struct {
VNodeID string `protobuf:"bytes,1,opt,name=vNodeID,proto3" json:"vNodeID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
Code DeleteCode `protobuf:"varint,4,opt,name=code,proto3,enum=agent.DeleteCode" json:"code,omitempty"`
RecycleProtectionPeriod int64 `protobuf:"varint,5,opt,name=recycleProtectionPeriod,proto3" json:"recycleProtectionPeriod,omitempty"`
// contains filtered or unexported fields
}
func (*PodDeleteRequest) Descriptor
deprecated
func (*PodDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodDeleteRequest.ProtoReflect.Descriptor instead.
func (*PodDeleteRequest) GetCode ¶
func (x *PodDeleteRequest) GetCode() DeleteCode
func (*PodDeleteRequest) GetName ¶
func (x *PodDeleteRequest) GetName() string
func (*PodDeleteRequest) GetNamespace ¶
func (x *PodDeleteRequest) GetNamespace() string
func (*PodDeleteRequest) GetRecycleProtectionPeriod ¶
func (x *PodDeleteRequest) GetRecycleProtectionPeriod() int64
func (*PodDeleteRequest) GetVNodeID ¶
func (x *PodDeleteRequest) GetVNodeID() string
func (*PodDeleteRequest) ProtoMessage ¶
func (*PodDeleteRequest) ProtoMessage()
func (*PodDeleteRequest) ProtoReflect ¶
func (x *PodDeleteRequest) ProtoReflect() protoreflect.Message
func (*PodDeleteRequest) Reset ¶
func (x *PodDeleteRequest) Reset()
func (*PodDeleteRequest) String ¶
func (x *PodDeleteRequest) String() string
type PodEvent ¶
type PodEvent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
FirstTimestamp string `protobuf:"bytes,4,opt,name=firstTimestamp,proto3" json:"firstTimestamp,omitempty"`
LastTimestamp string `protobuf:"bytes,5,opt,name=lastTimestamp,proto3" json:"lastTimestamp,omitempty"`
// contains filtered or unexported fields
}
func (*PodEvent) Descriptor
deprecated
func (*PodEvent) GetFirstTimestamp ¶
func (*PodEvent) GetLastTimestamp ¶
func (*PodEvent) GetMessage ¶
func (*PodEvent) ProtoMessage ¶
func (*PodEvent) ProtoMessage()
func (*PodEvent) ProtoReflect ¶
func (x *PodEvent) ProtoReflect() protoreflect.Message
type PodInfoRequest ¶
type PodInfoRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
VnodeId string `protobuf:"bytes,3,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
// contains filtered or unexported fields
}
func (*PodInfoRequest) Descriptor
deprecated
func (*PodInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodInfoRequest.ProtoReflect.Descriptor instead.
func (*PodInfoRequest) GetName ¶
func (x *PodInfoRequest) GetName() string
func (*PodInfoRequest) GetNamespace ¶
func (x *PodInfoRequest) GetNamespace() string
func (*PodInfoRequest) GetVnodeId ¶
func (x *PodInfoRequest) GetVnodeId() string
func (*PodInfoRequest) ProtoMessage ¶
func (*PodInfoRequest) ProtoMessage()
func (*PodInfoRequest) ProtoReflect ¶
func (x *PodInfoRequest) ProtoReflect() protoreflect.Message
func (*PodInfoRequest) Reset ¶
func (x *PodInfoRequest) Reset()
func (*PodInfoRequest) String ¶
func (x *PodInfoRequest) String() string
type PodInfoResponse ¶
type PodInfoResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Pods []*Pods `protobuf:"bytes,3,rep,name=pods,proto3" json:"pods,omitempty"`
// contains filtered or unexported fields
}
func (*PodInfoResponse) Descriptor
deprecated
func (*PodInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PodInfoResponse.ProtoReflect.Descriptor instead.
func (*PodInfoResponse) GetCode ¶
func (x *PodInfoResponse) GetCode() ActionCode
func (*PodInfoResponse) GetMessage ¶
func (x *PodInfoResponse) GetMessage() string
func (*PodInfoResponse) GetPods ¶
func (x *PodInfoResponse) GetPods() []*Pods
func (*PodInfoResponse) ProtoMessage ¶
func (*PodInfoResponse) ProtoMessage()
func (*PodInfoResponse) ProtoReflect ¶
func (x *PodInfoResponse) ProtoReflect() protoreflect.Message
func (*PodInfoResponse) Reset ¶
func (x *PodInfoResponse) Reset()
func (*PodInfoResponse) String ¶
func (x *PodInfoResponse) String() string
type PodRebootRequest ¶
type PodRebootRequest struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*PodRebootRequest) Descriptor
deprecated
func (*PodRebootRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodRebootRequest.ProtoReflect.Descriptor instead.
func (*PodRebootRequest) GetName ¶
func (x *PodRebootRequest) GetName() string
func (*PodRebootRequest) GetNamespace ¶
func (x *PodRebootRequest) GetNamespace() string
func (*PodRebootRequest) ProtoMessage ¶
func (*PodRebootRequest) ProtoMessage()
func (*PodRebootRequest) ProtoReflect ¶
func (x *PodRebootRequest) ProtoReflect() protoreflect.Message
func (*PodRebootRequest) Reset ¶
func (x *PodRebootRequest) Reset()
func (*PodRebootRequest) String ¶
func (x *PodRebootRequest) String() string
type PodRequest ¶
type PodRequest struct {
GpuType string `protobuf:"bytes,1,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
CpuType string `protobuf:"bytes,2,opt,name=cpu_type,json=cpuType,proto3" json:"cpu_type,omitempty"`
CustomerId string `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
RestartPolicy string `protobuf:"bytes,5,opt,name=restart_policy,json=restartPolicy,proto3" json:"restart_policy,omitempty"`
Cpu int64 `protobuf:"varint,6,opt,name=cpu,proto3" json:"cpu,omitempty"`
Ram int64 `protobuf:"varint,7,opt,name=ram,proto3" json:"ram,omitempty"`
Gpu int64 `protobuf:"varint,8,opt,name=gpu,proto3" json:"gpu,omitempty"`
Pods []*Pod `protobuf:"bytes,9,rep,name=pods,proto3" json:"pods,omitempty"`
TempStoreSize int64 `protobuf:"varint,10,opt,name=temp_store_size,json=tempStoreSize,proto3" json:"temp_store_size,omitempty"`
VnodeId string `protobuf:"bytes,12,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
Secrets []*v1.Secret `protobuf:"bytes,13,rep,name=secrets,proto3" json:"secrets,omitempty"`
ConfigMaps []*v1.ConfigMap `protobuf:"bytes,14,rep,name=configMaps,proto3" json:"configMaps,omitempty"`
SpotStrategy string `protobuf:"bytes,15,opt,name=spotStrategy,proto3" json:"spotStrategy,omitempty"`
SpotPrice string `protobuf:"bytes,16,opt,name=spotPrice,proto3" json:"spotPrice,omitempty"`
Zone string `protobuf:"bytes,17,opt,name=zone,proto3" json:"zone,omitempty"`
CloudEdge bool `protobuf:"varint,18,opt,name=cloudEdge,proto3" json:"cloudEdge,omitempty"`
NasVolumes []*NASVolumeInfo `protobuf:"bytes,19,rep,name=nas_volumes,json=nasVolumes,proto3" json:"nas_volumes,omitempty"`
TestCreditProjectId int64 `protobuf:"varint,20,opt,name=test_credit_project_id,json=testCreditProjectId,proto3" json:"test_credit_project_id,omitempty"`
// contains filtered or unexported fields
}
func (*PodRequest) Descriptor
deprecated
func (*PodRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodRequest.ProtoReflect.Descriptor instead.
func (*PodRequest) GetCloudEdge ¶
func (x *PodRequest) GetCloudEdge() bool
func (*PodRequest) GetConfigMaps ¶
func (x *PodRequest) GetConfigMaps() []*v1.ConfigMap
func (*PodRequest) GetCpu ¶
func (x *PodRequest) GetCpu() int64
func (*PodRequest) GetCpuType ¶
func (x *PodRequest) GetCpuType() string
func (*PodRequest) GetCustomerId ¶
func (x *PodRequest) GetCustomerId() string
func (*PodRequest) GetGpu ¶
func (x *PodRequest) GetGpu() int64
func (*PodRequest) GetGpuType ¶
func (x *PodRequest) GetGpuType() string
func (*PodRequest) GetNasVolumes ¶
func (x *PodRequest) GetNasVolumes() []*NASVolumeInfo
func (*PodRequest) GetPods ¶
func (x *PodRequest) GetPods() []*Pod
func (*PodRequest) GetRam ¶
func (x *PodRequest) GetRam() int64
func (*PodRequest) GetRestartPolicy ¶
func (x *PodRequest) GetRestartPolicy() string
func (*PodRequest) GetSecrets ¶
func (x *PodRequest) GetSecrets() []*v1.Secret
func (*PodRequest) GetSpotPrice ¶
func (x *PodRequest) GetSpotPrice() string
func (*PodRequest) GetSpotStrategy ¶
func (x *PodRequest) GetSpotStrategy() string
func (*PodRequest) GetTempStoreSize ¶
func (x *PodRequest) GetTempStoreSize() int64
func (*PodRequest) GetTestCreditProjectId ¶ added in v1.1.86
func (x *PodRequest) GetTestCreditProjectId() int64
func (*PodRequest) GetUserId ¶
func (x *PodRequest) GetUserId() string
func (*PodRequest) GetVnodeId ¶
func (x *PodRequest) GetVnodeId() string
func (*PodRequest) GetZone ¶
func (x *PodRequest) GetZone() string
func (*PodRequest) ProtoMessage ¶
func (*PodRequest) ProtoMessage()
func (*PodRequest) ProtoReflect ¶
func (x *PodRequest) ProtoReflect() protoreflect.Message
func (*PodRequest) Reset ¶
func (x *PodRequest) Reset()
func (*PodRequest) String ¶
func (x *PodRequest) String() string
type PodResponse ¶
type PodResponse struct {
Code ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*PodResponse) Descriptor
deprecated
func (*PodResponse) Descriptor() ([]byte, []int)
Deprecated: Use PodResponse.ProtoReflect.Descriptor instead.
func (*PodResponse) GetCode ¶
func (x *PodResponse) GetCode() ActionCode
func (*PodResponse) GetMessage ¶
func (x *PodResponse) GetMessage() string
func (*PodResponse) ProtoMessage ¶
func (*PodResponse) ProtoMessage()
func (*PodResponse) ProtoReflect ¶
func (x *PodResponse) ProtoReflect() protoreflect.Message
func (*PodResponse) Reset ¶
func (x *PodResponse) Reset()
func (*PodResponse) String ¶
func (x *PodResponse) String() string
type Pods ¶
type Pods struct {
Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Pod *v1.Pod `protobuf:"bytes,2,opt,name=pod,proto3,oneof" json:"pod,omitempty"`
// contains filtered or unexported fields
}
func (*Pods) Descriptor
deprecated
func (*Pods) GetNetwork ¶
func (x *Pods) GetNetwork() *NetworkInfo
func (*Pods) ProtoMessage ¶
func (*Pods) ProtoMessage()
func (*Pods) ProtoReflect ¶
func (x *Pods) ProtoReflect() protoreflect.Message
type PrivateNet ¶
type PrivateNet struct {
Vlan string `protobuf:"bytes,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
Eip string `protobuf:"bytes,5,opt,name=eip,proto3" json:"eip,omitempty"`
// contains filtered or unexported fields
}
func (*PrivateNet) Descriptor
deprecated
func (*PrivateNet) Descriptor() ([]byte, []int)
Deprecated: Use PrivateNet.ProtoReflect.Descriptor instead.
func (*PrivateNet) GetEip ¶
func (x *PrivateNet) GetEip() string
func (*PrivateNet) GetGateway ¶
func (x *PrivateNet) GetGateway() string
func (*PrivateNet) GetIp ¶
func (x *PrivateNet) GetIp() string
func (*PrivateNet) GetSubnet ¶
func (x *PrivateNet) GetSubnet() string
func (*PrivateNet) GetVlan ¶
func (x *PrivateNet) GetVlan() string
func (*PrivateNet) ProtoMessage ¶
func (*PrivateNet) ProtoMessage()
func (*PrivateNet) ProtoReflect ¶
func (x *PrivateNet) ProtoReflect() protoreflect.Message
func (*PrivateNet) Reset ¶
func (x *PrivateNet) Reset()
func (*PrivateNet) String ¶
func (x *PrivateNet) String() string
type ProductQuantity ¶
type ProductQuantity struct {
Quantity []*QuantityInfo `protobuf:"bytes,1,rep,name=quantity,proto3" json:"quantity,omitempty"`
// contains filtered or unexported fields
}
func (*ProductQuantity) Descriptor
deprecated
func (*ProductQuantity) Descriptor() ([]byte, []int)
Deprecated: Use ProductQuantity.ProtoReflect.Descriptor instead.
func (*ProductQuantity) GetQuantity ¶
func (x *ProductQuantity) GetQuantity() []*QuantityInfo
func (*ProductQuantity) ProtoMessage ¶
func (*ProductQuantity) ProtoMessage()
func (*ProductQuantity) ProtoReflect ¶
func (x *ProductQuantity) ProtoReflect() protoreflect.Message
func (*ProductQuantity) Reset ¶
func (x *ProductQuantity) Reset()
func (*ProductQuantity) String ¶
func (x *ProductQuantity) String() string
type QuantityInfo ¶
type QuantityInfo struct {
Cpu int64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
Ram int64 `protobuf:"varint,2,opt,name=ram,proto3" json:"ram,omitempty"`
Gpu int64 `protobuf:"varint,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
CpuType string `protobuf:"bytes,4,opt,name=cpu_type,json=cpuType,proto3" json:"cpu_type,omitempty"`
GpuType string `protobuf:"bytes,5,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
MinSpotPrice string `protobuf:"bytes,6,opt,name=min_spot_price,json=minSpotPrice,proto3" json:"min_spot_price,omitempty"`
MaxSpotPrice string `protobuf:"bytes,7,opt,name=max_spot_price,json=maxSpotPrice,proto3" json:"max_spot_price,omitempty"`
// contains filtered or unexported fields
}
func (*QuantityInfo) Descriptor
deprecated
func (*QuantityInfo) Descriptor() ([]byte, []int)
Deprecated: Use QuantityInfo.ProtoReflect.Descriptor instead.
func (*QuantityInfo) GetCpu ¶
func (x *QuantityInfo) GetCpu() int64
func (*QuantityInfo) GetCpuType ¶
func (x *QuantityInfo) GetCpuType() string
func (*QuantityInfo) GetGpu ¶
func (x *QuantityInfo) GetGpu() int64
func (*QuantityInfo) GetGpuType ¶
func (x *QuantityInfo) GetGpuType() string
func (*QuantityInfo) GetMaxSpotPrice ¶
func (x *QuantityInfo) GetMaxSpotPrice() string
func (*QuantityInfo) GetMinSpotPrice ¶
func (x *QuantityInfo) GetMinSpotPrice() string
func (*QuantityInfo) GetRam ¶
func (x *QuantityInfo) GetRam() int64
func (*QuantityInfo) ProtoMessage ¶
func (*QuantityInfo) ProtoMessage()
func (*QuantityInfo) ProtoReflect ¶
func (x *QuantityInfo) ProtoReflect() protoreflect.Message
func (*QuantityInfo) Reset ¶
func (x *QuantityInfo) Reset()
func (*QuantityInfo) String ¶
func (x *QuantityInfo) String() string
type QuotaRequest ¶
type QuotaRequest struct {
CustomerId string `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
Quota *v1.ResourceQuotaSpec `protobuf:"bytes,3,opt,name=quota,proto3,oneof" json:"quota,omitempty"`
// contains filtered or unexported fields
}
func (*QuotaRequest) Descriptor
deprecated
func (*QuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuotaRequest.ProtoReflect.Descriptor instead.
func (*QuotaRequest) GetCustomerId ¶
func (x *QuotaRequest) GetCustomerId() string
func (*QuotaRequest) GetQuota ¶
func (x *QuotaRequest) GetQuota() *v1.ResourceQuotaSpec
func (*QuotaRequest) GetUserId ¶
func (x *QuotaRequest) GetUserId() string
func (*QuotaRequest) ProtoMessage ¶
func (*QuotaRequest) ProtoMessage()
func (*QuotaRequest) ProtoReflect ¶
func (x *QuotaRequest) ProtoReflect() protoreflect.Message
func (*QuotaRequest) Reset ¶
func (x *QuotaRequest) Reset()
func (*QuotaRequest) String ¶
func (x *QuotaRequest) String() string
type QuotaResponse ¶
type QuotaResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*QuotaResponse) Descriptor
deprecated
func (*QuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuotaResponse.ProtoReflect.Descriptor instead.
func (*QuotaResponse) GetMessage ¶
func (x *QuotaResponse) GetMessage() string
func (*QuotaResponse) GetResult ¶
func (x *QuotaResponse) GetResult() bool
func (*QuotaResponse) ProtoMessage ¶
func (*QuotaResponse) ProtoMessage()
func (*QuotaResponse) ProtoReflect ¶
func (x *QuotaResponse) ProtoReflect() protoreflect.Message
func (*QuotaResponse) Reset ¶
func (x *QuotaResponse) Reset()
func (*QuotaResponse) String ¶
func (x *QuotaResponse) String() string
type QuotaStatusResponse ¶
type QuotaStatusResponse struct {
Quota *v1.ResourceQuotaStatus `protobuf:"bytes,1,opt,name=quota,proto3,oneof" json:"quota,omitempty"`
// contains filtered or unexported fields
}
func (*QuotaStatusResponse) Descriptor
deprecated
func (*QuotaStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuotaStatusResponse.ProtoReflect.Descriptor instead.
func (*QuotaStatusResponse) GetQuota ¶
func (x *QuotaStatusResponse) GetQuota() *v1.ResourceQuotaStatus
func (*QuotaStatusResponse) ProtoMessage ¶
func (*QuotaStatusResponse) ProtoMessage()
func (*QuotaStatusResponse) ProtoReflect ¶
func (x *QuotaStatusResponse) ProtoReflect() protoreflect.Message
func (*QuotaStatusResponse) Reset ¶
func (x *QuotaStatusResponse) Reset()
func (*QuotaStatusResponse) String ¶
func (x *QuotaStatusResponse) String() string
type SecretVolume ¶
type SecretVolume struct {
Source *v1.Secret `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
Volume *v1.SecretVolumeSource `protobuf:"bytes,2,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
// contains filtered or unexported fields
}
func (*SecretVolume) Descriptor
deprecated
func (*SecretVolume) Descriptor() ([]byte, []int)
Deprecated: Use SecretVolume.ProtoReflect.Descriptor instead.
func (*SecretVolume) GetSource ¶
func (x *SecretVolume) GetSource() *v1.Secret
func (*SecretVolume) GetVolume ¶
func (x *SecretVolume) GetVolume() *v1.SecretVolumeSource
func (*SecretVolume) ProtoMessage ¶
func (*SecretVolume) ProtoMessage()
func (*SecretVolume) ProtoReflect ¶
func (x *SecretVolume) ProtoReflect() protoreflect.Message
func (*SecretVolume) Reset ¶
func (x *SecretVolume) Reset()
func (*SecretVolume) String ¶
func (x *SecretVolume) String() string
type SpotStrategy ¶
type SpotStrategy int32
const ( SpotStrategy_NoSpot SpotStrategy = 0 SpotStrategy_SpotWithPriceLimit SpotStrategy = 1 SpotStrategy_SpotAsPriceGo SpotStrategy = 2 )
func (SpotStrategy) Descriptor ¶
func (SpotStrategy) Descriptor() protoreflect.EnumDescriptor
func (SpotStrategy) Enum ¶
func (x SpotStrategy) Enum() *SpotStrategy
func (SpotStrategy) EnumDescriptor
deprecated
func (SpotStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpotStrategy.Descriptor instead.
func (SpotStrategy) Number ¶
func (x SpotStrategy) Number() protoreflect.EnumNumber
func (SpotStrategy) String ¶
func (x SpotStrategy) String() string
func (SpotStrategy) Type ¶
func (SpotStrategy) Type() protoreflect.EnumType
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct{}
UnimplementedAgentServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentServer) CheckResourceQuota ¶
func (UnimplementedAgentServer) CheckResourceQuota(context.Context, *PodRequest) (*QuotaResponse, error)
func (UnimplementedAgentServer) CreateDataCache ¶
func (UnimplementedAgentServer) CreateDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
func (UnimplementedAgentServer) CreateNode ¶
func (UnimplementedAgentServer) CreateNode(context.Context, *NodeRequest) (*NodeResponse, error)
func (UnimplementedAgentServer) CreatePod ¶
func (UnimplementedAgentServer) CreatePod(context.Context, *PodRequest) (*PodResponse, error)
func (UnimplementedAgentServer) CreateWsToken ¶
func (UnimplementedAgentServer) CreateWsToken(context.Context, *CreateWsTokenRequest) (*CreateWsTokenResponse, error)
func (UnimplementedAgentServer) DeleteDataCache ¶
func (UnimplementedAgentServer) DeleteDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
func (UnimplementedAgentServer) DeleteNode ¶
func (UnimplementedAgentServer) DeleteNode(context.Context, *NodeRequest) (*NodeResponse, error)
func (UnimplementedAgentServer) DeletePod ¶
func (UnimplementedAgentServer) DeletePod(context.Context, *PodDeleteRequest) (*PodResponse, error)
func (UnimplementedAgentServer) GetECIInstances ¶
func (UnimplementedAgentServer) GetECIInstances(context.Context, *GetInstanceRequest) (*GetInstanceResponse, error)
func (UnimplementedAgentServer) GetNodeGpuUsage ¶
func (UnimplementedAgentServer) GetNodeGpuUsage(context.Context, *NodeGpuUsageRequest) (*NodeGpuUsageResponse, error)
func (UnimplementedAgentServer) GetNodeUsage ¶
func (UnimplementedAgentServer) GetNodeUsage(context.Context, *NodeUsageRequest) (*NodeUsageResponse, error)
func (UnimplementedAgentServer) GetPod ¶
func (UnimplementedAgentServer) GetPod(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
func (UnimplementedAgentServer) GetPodEvent ¶
func (UnimplementedAgentServer) GetPodEvent(context.Context, *EventRequest) (*EventResponse, error)
func (UnimplementedAgentServer) GetPodStatus ¶
func (UnimplementedAgentServer) GetPodStatus(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
func (UnimplementedAgentServer) GetPods ¶
func (UnimplementedAgentServer) GetPods(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
func (UnimplementedAgentServer) GetResourceQuota ¶
func (UnimplementedAgentServer) GetResourceQuota(context.Context, *QuotaRequest) (*QuotaStatusResponse, error)
func (UnimplementedAgentServer) RebootPod ¶
func (UnimplementedAgentServer) RebootPod(context.Context, *PodRebootRequest) (*PodResponse, error)
func (UnimplementedAgentServer) SetResourceQuota ¶
func (UnimplementedAgentServer) SetResourceQuota(context.Context, *QuotaRequest) (*QuotaResponse, error)
func (UnimplementedAgentServer) UpdateFamilySpecInfo ¶
func (UnimplementedAgentServer) UpdateFamilySpecInfo(context.Context, *FamilySpecRequest) (*FamilySpecResponse, error)
func (UnimplementedAgentServer) UpdateNode ¶
func (UnimplementedAgentServer) UpdateNode(context.Context, *NodeRequest) (*NodeResponse, error)
func (UnimplementedAgentServer) UpdatePod ¶
func (UnimplementedAgentServer) UpdatePod(context.Context, *PodRequest) (*PodResponse, error)
type UnsafeAgentServer ¶
type UnsafeAgentServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServer will result in compilation errors.
type UsageInfo ¶
type UsageInfo struct {
Gpus int64 `protobuf:"varint,1,opt,name=gpus,proto3" json:"gpus,omitempty"`
Cpus int64 `protobuf:"varint,2,opt,name=cpus,proto3" json:"cpus,omitempty"`
// contains filtered or unexported fields
}
func (*UsageInfo) Descriptor
deprecated
func (*UsageInfo) ProtoMessage ¶
func (*UsageInfo) ProtoMessage()
func (*UsageInfo) ProtoReflect ¶
func (x *UsageInfo) ProtoReflect() protoreflect.Message