Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCloudProviderServiceServer(s grpc.ServiceRegistrar, srv CloudProviderServiceServer)
- func RegisterNodeGroupServiceServer(s grpc.ServiceRegistrar, srv NodeGroupServiceServer)
- func RegisterPricingModelServiceServer(s grpc.ServiceRegistrar, srv PricingModelServiceServer)
- type AutoprovisionedReply
- func (*AutoprovisionedReply) Descriptor() ([]byte, []int)deprecated
- func (x *AutoprovisionedReply) GetAutoprovisioned() bool
- func (*AutoprovisionedReply) ProtoMessage()
- func (x *AutoprovisionedReply) ProtoReflect() protoreflect.Message
- func (x *AutoprovisionedReply) Reset()
- func (x *AutoprovisionedReply) String() string
- type AutoscalingOptions
- func (*AutoscalingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AutoscalingOptions) GetScaleDownGpuUtilizationThreshold() float64
- func (x *AutoscalingOptions) GetScaleDownUnneededTime() *v11.Duration
- func (x *AutoscalingOptions) GetScaleDownUnreadyTime() *v11.Duration
- func (x *AutoscalingOptions) GetScaleDownUtilizationThreshold() float64
- func (*AutoscalingOptions) ProtoMessage()
- func (x *AutoscalingOptions) ProtoReflect() protoreflect.Message
- func (x *AutoscalingOptions) Reset()
- func (x *AutoscalingOptions) String() string
- type AvailableMachineTypes
- func (*AvailableMachineTypes) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableMachineTypes) GetMachineType() []string
- func (*AvailableMachineTypes) ProtoMessage()
- func (x *AvailableMachineTypes) ProtoReflect() protoreflect.Message
- func (x *AvailableMachineTypes) Reset()
- func (x *AvailableMachineTypes) String() string
- type AvailableMachineTypesReply
- func (*AvailableMachineTypesReply) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableMachineTypesReply) GetAvailableMachineTypes() *AvailableMachineTypes
- func (x *AvailableMachineTypesReply) GetError() *Error
- func (m *AvailableMachineTypesReply) GetResponse() isAvailableMachineTypesReply_Response
- func (*AvailableMachineTypesReply) ProtoMessage()
- func (x *AvailableMachineTypesReply) ProtoReflect() protoreflect.Message
- func (x *AvailableMachineTypesReply) Reset()
- func (x *AvailableMachineTypesReply) String() string
- type AvailableMachineTypesReply_AvailableMachineTypes
- type AvailableMachineTypesReply_Error
- type BelongsReply
- func (*BelongsReply) Descriptor() ([]byte, []int)deprecated
- func (x *BelongsReply) GetBelongs() bool
- func (x *BelongsReply) GetError() *Error
- func (m *BelongsReply) GetResponse() isBelongsReply_Response
- func (*BelongsReply) ProtoMessage()
- func (x *BelongsReply) ProtoReflect() protoreflect.Message
- func (x *BelongsReply) Reset()
- func (x *BelongsReply) String() string
- type BelongsReply_Belongs
- type BelongsReply_Error
- type BelongsRequest
- func (*BelongsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BelongsRequest) GetNode() string
- func (x *BelongsRequest) GetNodeGroupID() string
- func (x *BelongsRequest) GetProviderID() string
- func (*BelongsRequest) ProtoMessage()
- func (x *BelongsRequest) ProtoReflect() protoreflect.Message
- func (x *BelongsRequest) Reset()
- func (x *BelongsRequest) String() string
- type CleanupReply
- type CloudProviderServiceClient
- type CloudProviderServiceRequest
- func (*CloudProviderServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloudProviderServiceRequest) GetProviderID() string
- func (*CloudProviderServiceRequest) ProtoMessage()
- func (x *CloudProviderServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CloudProviderServiceRequest) Reset()
- func (x *CloudProviderServiceRequest) String() string
- type CloudProviderServiceServer
- type ConnectReply
- func (*ConnectReply) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectReply) GetConnected() bool
- func (x *ConnectReply) GetError() *Error
- func (m *ConnectReply) GetResponse() isConnectReply_Response
- func (*ConnectReply) ProtoMessage()
- func (x *ConnectReply) ProtoReflect() protoreflect.Message
- func (x *ConnectReply) Reset()
- func (x *ConnectReply) String() string
- type ConnectReply_Connected
- type ConnectReply_Error
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest) GetAutoProvisionned() bool
- func (x *ConnectRequest) GetNodes() []*NodeGroupDef
- func (x *ConnectRequest) GetProviderID() string
- func (x *ConnectRequest) GetResourceLimiter() *ResourceLimiter
- func (*ConnectRequest) ProtoMessage()
- func (x *ConnectRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest) Reset()
- func (x *ConnectRequest) String() string
- type CreateReply
- func (*CreateReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReply) GetError() *Error
- func (x *CreateReply) GetNodeGroup() *NodeGroup
- func (m *CreateReply) GetResponse() isCreateReply_Response
- func (*CreateReply) ProtoMessage()
- func (x *CreateReply) ProtoReflect() protoreflect.Message
- func (x *CreateReply) Reset()
- func (x *CreateReply) String() string
- type CreateReply_Error
- type CreateReply_NodeGroup
- type DebugReply
- type DecreaseTargetSizeReply
- func (*DecreaseTargetSizeReply) Descriptor() ([]byte, []int)deprecated
- func (x *DecreaseTargetSizeReply) GetError() *Error
- func (*DecreaseTargetSizeReply) ProtoMessage()
- func (x *DecreaseTargetSizeReply) ProtoReflect() protoreflect.Message
- func (x *DecreaseTargetSizeReply) Reset()
- func (x *DecreaseTargetSizeReply) String() string
- type DecreaseTargetSizeRequest
- func (*DecreaseTargetSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecreaseTargetSizeRequest) GetDelta() int32
- func (x *DecreaseTargetSizeRequest) GetNodeGroupID() string
- func (x *DecreaseTargetSizeRequest) GetProviderID() string
- func (*DecreaseTargetSizeRequest) ProtoMessage()
- func (x *DecreaseTargetSizeRequest) ProtoReflect() protoreflect.Message
- func (x *DecreaseTargetSizeRequest) Reset()
- func (x *DecreaseTargetSizeRequest) String() string
- type DeleteNodesReply
- type DeleteNodesRequest
- func (*DeleteNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodesRequest) GetNode() []string
- func (x *DeleteNodesRequest) GetNodeGroupID() string
- func (x *DeleteNodesRequest) GetProviderID() string
- func (*DeleteNodesRequest) ProtoMessage()
- func (x *DeleteNodesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodesRequest) Reset()
- func (x *DeleteNodesRequest) String() string
- type DeleteReply
- type Error
- type ExistReply
- type GPULabelReply
- func (*GPULabelReply) Descriptor() ([]byte, []int)deprecated
- func (x *GPULabelReply) GetError() *Error
- func (x *GPULabelReply) GetGpulabel() string
- func (m *GPULabelReply) GetResponse() isGPULabelReply_Response
- func (*GPULabelReply) ProtoMessage()
- func (x *GPULabelReply) ProtoReflect() protoreflect.Message
- func (x *GPULabelReply) Reset()
- func (x *GPULabelReply) String() string
- type GPULabelReply_Error
- type GPULabelReply_Gpulabel
- type GetAvailableGPUTypesReply
- func (*GetAvailableGPUTypesReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableGPUTypesReply) GetAvailableGpuTypes() map[string]string
- func (*GetAvailableGPUTypesReply) ProtoMessage()
- func (x *GetAvailableGPUTypesReply) ProtoReflect() protoreflect.Message
- func (x *GetAvailableGPUTypesReply) Reset()
- func (x *GetAvailableGPUTypesReply) String() string
- type GetOptionsReply
- func (*GetOptionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionsReply) GetError() *Error
- func (x *GetOptionsReply) GetNodeGroupAutoscalingOptions() *AutoscalingOptions
- func (m *GetOptionsReply) GetResponse() isGetOptionsReply_Response
- func (*GetOptionsReply) ProtoMessage()
- func (x *GetOptionsReply) ProtoReflect() protoreflect.Message
- func (x *GetOptionsReply) Reset()
- func (x *GetOptionsReply) String() string
- type GetOptionsReply_Error
- type GetOptionsReply_NodeGroupAutoscalingOptions
- type GetOptionsRequest
- func (*GetOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionsRequest) GetDefaults() *AutoscalingOptions
- func (x *GetOptionsRequest) GetNodeGroupID() string
- func (x *GetOptionsRequest) GetProviderID() string
- func (*GetOptionsRequest) ProtoMessage()
- func (x *GetOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOptionsRequest) Reset()
- func (x *GetOptionsRequest) String() string
- type HasInstanceReply
- func (*HasInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *HasInstanceReply) GetError() *Error
- func (x *HasInstanceReply) GetHasInstance() bool
- func (m *HasInstanceReply) GetResponse() isHasInstanceReply_Response
- func (*HasInstanceReply) ProtoMessage()
- func (x *HasInstanceReply) ProtoReflect() protoreflect.Message
- func (x *HasInstanceReply) Reset()
- func (x *HasInstanceReply) String() string
- type HasInstanceReply_Error
- type HasInstanceReply_HasInstance
- type HasInstanceRequest
- func (*HasInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HasInstanceRequest) GetNode() string
- func (x *HasInstanceRequest) GetProviderID() string
- func (*HasInstanceRequest) ProtoMessage()
- func (x *HasInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *HasInstanceRequest) Reset()
- func (x *HasInstanceRequest) String() string
- type HostPortInfo
- type IdReply
- type ImageStateSummary
- func (*ImageStateSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ImageStateSummary) GetNumNodes() int32
- func (x *ImageStateSummary) GetSize() int64
- func (*ImageStateSummary) ProtoMessage()
- func (x *ImageStateSummary) ProtoReflect() protoreflect.Message
- func (x *ImageStateSummary) Reset()
- func (x *ImageStateSummary) String() string
- type IncreaseSizeReply
- type IncreaseSizeRequest
- func (*IncreaseSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IncreaseSizeRequest) GetDelta() int32
- func (x *IncreaseSizeRequest) GetNodeGroupID() string
- func (x *IncreaseSizeRequest) GetProviderID() string
- func (*IncreaseSizeRequest) ProtoMessage()
- func (x *IncreaseSizeRequest) ProtoReflect() protoreflect.Message
- func (x *IncreaseSizeRequest) Reset()
- func (x *IncreaseSizeRequest) String() string
- type Instance
- type InstanceErrorClass
- func (InstanceErrorClass) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceErrorClass) Enum() *InstanceErrorClass
- func (InstanceErrorClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceErrorClass) Number() protoreflect.EnumNumber
- func (x InstanceErrorClass) String() string
- func (InstanceErrorClass) Type() protoreflect.EnumType
- type InstanceErrorInfo
- func (*InstanceErrorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceErrorInfo) GetErrorClass() InstanceErrorClass
- func (x *InstanceErrorInfo) GetErrorCode() string
- func (x *InstanceErrorInfo) GetErrorMessage() string
- func (*InstanceErrorInfo) ProtoMessage()
- func (x *InstanceErrorInfo) ProtoReflect() protoreflect.Message
- func (x *InstanceErrorInfo) Reset()
- func (x *InstanceErrorInfo) String() string
- type InstanceState
- func (InstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceState) Enum() *InstanceState
- func (InstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceState) Number() protoreflect.EnumNumber
- func (x InstanceState) String() string
- func (InstanceState) Type() protoreflect.EnumType
- type InstanceStatus
- func (*InstanceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStatus) GetErrorInfo() *InstanceErrorInfo
- func (x *InstanceStatus) GetState() InstanceState
- func (*InstanceStatus) ProtoMessage()
- func (x *InstanceStatus) ProtoReflect() protoreflect.Message
- func (x *InstanceStatus) Reset()
- func (x *InstanceStatus) String() string
- type Instances
- type KubeAdmConfig
- func (*KubeAdmConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KubeAdmConfig) GetKubeAdmAddress() string
- func (x *KubeAdmConfig) GetKubeAdmCACert() string
- func (x *KubeAdmConfig) GetKubeAdmExtraArguments() []string
- func (x *KubeAdmConfig) GetKubeAdmToken() string
- func (*KubeAdmConfig) ProtoMessage()
- func (x *KubeAdmConfig) ProtoReflect() protoreflect.Message
- func (x *KubeAdmConfig) Reset()
- func (x *KubeAdmConfig) String() string
- type MaxSizeReply
- type MinSizeReply
- type NameReply
- type NewNodeGroupReply
- func (*NewNodeGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *NewNodeGroupReply) GetError() *Error
- func (x *NewNodeGroupReply) GetNodeGroup() *NodeGroup
- func (m *NewNodeGroupReply) GetResponse() isNewNodeGroupReply_Response
- func (*NewNodeGroupReply) ProtoMessage()
- func (x *NewNodeGroupReply) ProtoReflect() protoreflect.Message
- func (x *NewNodeGroupReply) Reset()
- func (x *NewNodeGroupReply) String() string
- type NewNodeGroupReply_Error
- type NewNodeGroupReply_NodeGroup
- type NewNodeGroupRequest
- func (*NewNodeGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewNodeGroupRequest) GetExtraResources() map[string]string
- func (x *NewNodeGroupRequest) GetLabels() map[string]string
- func (x *NewNodeGroupRequest) GetMachineType() string
- func (x *NewNodeGroupRequest) GetMaxNodeSize() int32
- func (x *NewNodeGroupRequest) GetMinNodeSize() int32
- func (x *NewNodeGroupRequest) GetNodeGroupID() string
- func (x *NewNodeGroupRequest) GetProviderID() string
- func (x *NewNodeGroupRequest) GetSystemLabels() map[string]string
- func (x *NewNodeGroupRequest) GetTaints() []*v1.Taint
- func (*NewNodeGroupRequest) ProtoMessage()
- func (x *NewNodeGroupRequest) ProtoReflect() protoreflect.Message
- func (x *NewNodeGroupRequest) Reset()
- func (x *NewNodeGroupRequest) String() string
- type NodeGroup
- type NodeGroupDef
- func (*NodeGroupDef) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGroupDef) GetIncludeExistingNode() bool
- func (x *NodeGroupDef) GetLabels() map[string]string
- func (x *NodeGroupDef) GetMaxSize() int32
- func (x *NodeGroupDef) GetMinSize() int32
- func (x *NodeGroupDef) GetNodeGroupID() string
- func (x *NodeGroupDef) GetProvisionned() bool
- func (*NodeGroupDef) ProtoMessage()
- func (x *NodeGroupDef) ProtoReflect() protoreflect.Message
- func (x *NodeGroupDef) Reset()
- func (x *NodeGroupDef) String() string
- type NodeGroupForNodeReply
- func (*NodeGroupForNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGroupForNodeReply) GetError() *Error
- func (x *NodeGroupForNodeReply) GetNodeGroup() *NodeGroup
- func (m *NodeGroupForNodeReply) GetResponse() isNodeGroupForNodeReply_Response
- func (*NodeGroupForNodeReply) ProtoMessage()
- func (x *NodeGroupForNodeReply) ProtoReflect() protoreflect.Message
- func (x *NodeGroupForNodeReply) Reset()
- func (x *NodeGroupForNodeReply) String() string
- type NodeGroupForNodeReply_Error
- type NodeGroupForNodeReply_NodeGroup
- type NodeGroupForNodeRequest
- func (*NodeGroupForNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGroupForNodeRequest) GetNode() string
- func (x *NodeGroupForNodeRequest) GetProviderID() string
- func (*NodeGroupForNodeRequest) ProtoMessage()
- func (x *NodeGroupForNodeRequest) ProtoReflect() protoreflect.Message
- func (x *NodeGroupForNodeRequest) Reset()
- func (x *NodeGroupForNodeRequest) String() string
- type NodeGroupServiceClient
- type NodeGroupServiceRequest
- func (*NodeGroupServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeGroupServiceRequest) GetNodeGroupID() string
- func (x *NodeGroupServiceRequest) GetProviderID() string
- func (*NodeGroupServiceRequest) ProtoMessage()
- func (x *NodeGroupServiceRequest) ProtoReflect() protoreflect.Message
- func (x *NodeGroupServiceRequest) Reset()
- func (x *NodeGroupServiceRequest) String() string
- type NodeGroupServiceServer
- type NodeGroupes
- type NodeGroupsReply
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetGeneration() int64
- func (x *NodeInfo) GetImageStates() map[string]*ImageStateSummary
- func (x *NodeInfo) GetNode() string
- func (x *NodeInfo) GetNonzeroRequest() *Resource
- func (x *NodeInfo) GetPods() []string
- func (x *NodeInfo) GetRequestedResource() *Resource
- func (x *NodeInfo) GetTransientInfo() *TransientSchedulerInfo
- func (x *NodeInfo) GetUsedPorts() *HostPortInfo
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodePriceReply
- func (*NodePriceReply) Descriptor() ([]byte, []int)deprecated
- func (x *NodePriceReply) GetError() *Error
- func (x *NodePriceReply) GetPrice() float64
- func (m *NodePriceReply) GetResponse() isNodePriceReply_Response
- func (*NodePriceReply) ProtoMessage()
- func (x *NodePriceReply) ProtoReflect() protoreflect.Message
- func (x *NodePriceReply) Reset()
- func (x *NodePriceReply) String() string
- type NodePriceReply_Error
- type NodePriceReply_Price
- type NodePriceRequest
- func (*NodePriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodePriceRequest) GetEndTime() int64
- func (x *NodePriceRequest) GetNode() string
- func (x *NodePriceRequest) GetProviderID() string
- func (x *NodePriceRequest) GetStartTime() int64
- func (*NodePriceRequest) ProtoMessage()
- func (x *NodePriceRequest) ProtoReflect() protoreflect.Message
- func (x *NodePriceRequest) Reset()
- func (x *NodePriceRequest) String() string
- type NodesReply
- func (*NodesReply) Descriptor() ([]byte, []int)deprecated
- func (x *NodesReply) GetError() *Error
- func (x *NodesReply) GetInstances() *Instances
- func (m *NodesReply) GetResponse() isNodesReply_Response
- func (*NodesReply) ProtoMessage()
- func (x *NodesReply) ProtoReflect() protoreflect.Message
- func (x *NodesReply) Reset()
- func (x *NodesReply) String() string
- type NodesReply_Error
- type NodesReply_Instances
- type PodPriceReply
- func (*PodPriceReply) Descriptor() ([]byte, []int)deprecated
- func (x *PodPriceReply) GetError() *Error
- func (x *PodPriceReply) GetPrice() float64
- func (m *PodPriceReply) GetResponse() isPodPriceReply_Response
- func (*PodPriceReply) ProtoMessage()
- func (x *PodPriceReply) ProtoReflect() protoreflect.Message
- func (x *PodPriceReply) Reset()
- func (x *PodPriceReply) String() string
- type PodPriceReply_Error
- type PodPriceReply_Price
- type PodPriceRequest
- func (*PodPriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodPriceRequest) GetEndTime() int64
- func (x *PodPriceRequest) GetPod() string
- func (x *PodPriceRequest) GetProviderID() string
- func (x *PodPriceRequest) GetStartTime() int64
- func (*PodPriceRequest) ProtoMessage()
- func (x *PodPriceRequest) ProtoReflect() protoreflect.Message
- func (x *PodPriceRequest) Reset()
- func (x *PodPriceRequest) String() string
- type PricingModel
- type PricingModelReply
- func (*PricingModelReply) Descriptor() ([]byte, []int)deprecated
- func (x *PricingModelReply) GetError() *Error
- func (x *PricingModelReply) GetPriceModel() *PricingModel
- func (m *PricingModelReply) GetResponse() isPricingModelReply_Response
- func (*PricingModelReply) ProtoMessage()
- func (x *PricingModelReply) ProtoReflect() protoreflect.Message
- func (x *PricingModelReply) Reset()
- func (x *PricingModelReply) String() string
- type PricingModelReply_Error
- type PricingModelReply_PriceModel
- type PricingModelServiceClient
- type PricingModelServiceServer
- type ProtocolPort
- func (*ProtocolPort) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolPort) GetPort() int32
- func (x *ProtocolPort) GetProtocol() string
- func (*ProtocolPort) ProtoMessage()
- func (x *ProtocolPort) ProtoReflect() protoreflect.Message
- func (x *ProtocolPort) Reset()
- func (x *ProtocolPort) String() string
- type RefreshReply
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAllowedPodNumber() int32
- func (x *Resource) GetEphemeralStorage() int64
- func (x *Resource) GetMemory() int64
- func (x *Resource) GetMilliCPU() int64
- func (x *Resource) GetScalarResources() map[string]int64
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceLimiter
- func (*ResourceLimiter) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimiter) GetMaxLimits() map[string]int64
- func (x *ResourceLimiter) GetMinLimits() map[string]int64
- func (*ResourceLimiter) ProtoMessage()
- func (x *ResourceLimiter) ProtoReflect() protoreflect.Message
- func (x *ResourceLimiter) Reset()
- func (x *ResourceLimiter) String() string
- type ResourceLimiterReply
- func (*ResourceLimiterReply) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimiterReply) GetError() *Error
- func (x *ResourceLimiterReply) GetResourceLimiter() *ResourceLimiter
- func (m *ResourceLimiterReply) GetResponse() isResourceLimiterReply_Response
- func (*ResourceLimiterReply) ProtoMessage()
- func (x *ResourceLimiterReply) ProtoReflect() protoreflect.Message
- func (x *ResourceLimiterReply) Reset()
- func (x *ResourceLimiterReply) String() string
- type ResourceLimiterReply_Error
- type ResourceLimiterReply_ResourceLimiter
- type TargetSizeReply
- func (*TargetSizeReply) Descriptor() ([]byte, []int)deprecated
- func (x *TargetSizeReply) GetError() *Error
- func (m *TargetSizeReply) GetResponse() isTargetSizeReply_Response
- func (x *TargetSizeReply) GetTargetSize() int32
- func (*TargetSizeReply) ProtoMessage()
- func (x *TargetSizeReply) ProtoReflect() protoreflect.Message
- func (x *TargetSizeReply) Reset()
- func (x *TargetSizeReply) String() string
- type TargetSizeReply_Error
- type TargetSizeReply_TargetSize
- type TemplateNodeInfoReply
- func (*TemplateNodeInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateNodeInfoReply) GetError() *Error
- func (x *TemplateNodeInfoReply) GetNodeInfo() *NodeInfo
- func (m *TemplateNodeInfoReply) GetResponse() isTemplateNodeInfoReply_Response
- func (*TemplateNodeInfoReply) ProtoMessage()
- func (x *TemplateNodeInfoReply) ProtoReflect() protoreflect.Message
- func (x *TemplateNodeInfoReply) Reset()
- func (x *TemplateNodeInfoReply) String() string
- type TemplateNodeInfoReply_Error
- type TemplateNodeInfoReply_NodeInfo
- type TransientSchedulerInfo
- func (*TransientSchedulerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransientSchedulerInfo) GetAllocatableVolumesCount() int32
- func (x *TransientSchedulerInfo) GetRequestedVolumes() int32
- func (*TransientSchedulerInfo) ProtoMessage()
- func (x *TransientSchedulerInfo) ProtoReflect() protoreflect.Message
- func (x *TransientSchedulerInfo) Reset()
- func (x *TransientSchedulerInfo) String() string
- type UnimplementedCloudProviderServiceServer
- func (UnimplementedCloudProviderServiceServer) Cleanup(context.Context, *CloudProviderServiceRequest) (*CleanupReply, error)
- func (UnimplementedCloudProviderServiceServer) Connect(context.Context, *ConnectRequest) (*ConnectReply, error)
- func (UnimplementedCloudProviderServiceServer) GPULabel(context.Context, *CloudProviderServiceRequest) (*GPULabelReply, error)
- func (UnimplementedCloudProviderServiceServer) GetAvailableGPUTypes(context.Context, *CloudProviderServiceRequest) (*GetAvailableGPUTypesReply, error)
- func (UnimplementedCloudProviderServiceServer) GetAvailableMachineTypes(context.Context, *CloudProviderServiceRequest) (*AvailableMachineTypesReply, error)
- func (UnimplementedCloudProviderServiceServer) GetResourceLimiter(context.Context, *CloudProviderServiceRequest) (*ResourceLimiterReply, error)
- func (UnimplementedCloudProviderServiceServer) HasInstance(context.Context, *HasInstanceRequest) (*HasInstanceReply, error)
- func (UnimplementedCloudProviderServiceServer) Name(context.Context, *CloudProviderServiceRequest) (*NameReply, error)
- func (UnimplementedCloudProviderServiceServer) NewNodeGroup(context.Context, *NewNodeGroupRequest) (*NewNodeGroupReply, error)
- func (UnimplementedCloudProviderServiceServer) NodeGroupForNode(context.Context, *NodeGroupForNodeRequest) (*NodeGroupForNodeReply, error)
- func (UnimplementedCloudProviderServiceServer) NodeGroups(context.Context, *CloudProviderServiceRequest) (*NodeGroupsReply, error)
- func (UnimplementedCloudProviderServiceServer) Pricing(context.Context, *CloudProviderServiceRequest) (*PricingModelReply, error)
- func (UnimplementedCloudProviderServiceServer) Refresh(context.Context, *CloudProviderServiceRequest) (*RefreshReply, error)
- type UnimplementedNodeGroupServiceServer
- func (UnimplementedNodeGroupServiceServer) Autoprovisioned(context.Context, *NodeGroupServiceRequest) (*AutoprovisionedReply, error)
- func (UnimplementedNodeGroupServiceServer) Belongs(context.Context, *BelongsRequest) (*BelongsReply, error)
- func (UnimplementedNodeGroupServiceServer) Create(context.Context, *NodeGroupServiceRequest) (*CreateReply, error)
- func (UnimplementedNodeGroupServiceServer) Debug(context.Context, *NodeGroupServiceRequest) (*DebugReply, error)
- func (UnimplementedNodeGroupServiceServer) DecreaseTargetSize(context.Context, *DecreaseTargetSizeRequest) (*DecreaseTargetSizeReply, error)
- func (UnimplementedNodeGroupServiceServer) Delete(context.Context, *NodeGroupServiceRequest) (*DeleteReply, error)
- func (UnimplementedNodeGroupServiceServer) DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesReply, error)
- func (UnimplementedNodeGroupServiceServer) Exist(context.Context, *NodeGroupServiceRequest) (*ExistReply, error)
- func (UnimplementedNodeGroupServiceServer) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsReply, error)
- func (UnimplementedNodeGroupServiceServer) Id(context.Context, *NodeGroupServiceRequest) (*IdReply, error)
- func (UnimplementedNodeGroupServiceServer) IncreaseSize(context.Context, *IncreaseSizeRequest) (*IncreaseSizeReply, error)
- func (UnimplementedNodeGroupServiceServer) MaxSize(context.Context, *NodeGroupServiceRequest) (*MaxSizeReply, error)
- func (UnimplementedNodeGroupServiceServer) MinSize(context.Context, *NodeGroupServiceRequest) (*MinSizeReply, error)
- func (UnimplementedNodeGroupServiceServer) Nodes(context.Context, *NodeGroupServiceRequest) (*NodesReply, error)
- func (UnimplementedNodeGroupServiceServer) TargetSize(context.Context, *NodeGroupServiceRequest) (*TargetSizeReply, error)
- func (UnimplementedNodeGroupServiceServer) TemplateNodeInfo(context.Context, *NodeGroupServiceRequest) (*TemplateNodeInfoReply, error)
- type UnimplementedPricingModelServiceServer
- type UnsafeCloudProviderServiceServer
- type UnsafeNodeGroupServiceServer
- type UnsafePricingModelServiceServer
Constants ¶
const ( CloudProviderService_Connect_FullMethodName = "/grpccloudprovider.CloudProviderService/Connect" CloudProviderService_Name_FullMethodName = "/grpccloudprovider.CloudProviderService/Name" CloudProviderService_NodeGroups_FullMethodName = "/grpccloudprovider.CloudProviderService/NodeGroups" CloudProviderService_NodeGroupForNode_FullMethodName = "/grpccloudprovider.CloudProviderService/NodeGroupForNode" CloudProviderService_Pricing_FullMethodName = "/grpccloudprovider.CloudProviderService/Pricing" CloudProviderService_GetAvailableMachineTypes_FullMethodName = "/grpccloudprovider.CloudProviderService/GetAvailableMachineTypes" CloudProviderService_NewNodeGroup_FullMethodName = "/grpccloudprovider.CloudProviderService/NewNodeGroup" CloudProviderService_GetResourceLimiter_FullMethodName = "/grpccloudprovider.CloudProviderService/GetResourceLimiter" CloudProviderService_GPULabel_FullMethodName = "/grpccloudprovider.CloudProviderService/GPULabel" CloudProviderService_GetAvailableGPUTypes_FullMethodName = "/grpccloudprovider.CloudProviderService/GetAvailableGPUTypes" CloudProviderService_Cleanup_FullMethodName = "/grpccloudprovider.CloudProviderService/Cleanup" CloudProviderService_Refresh_FullMethodName = "/grpccloudprovider.CloudProviderService/Refresh" CloudProviderService_HasInstance_FullMethodName = "/grpccloudprovider.CloudProviderService/HasInstance" )
const ( NodeGroupService_MaxSize_FullMethodName = "/grpccloudprovider.NodeGroupService/MaxSize" NodeGroupService_MinSize_FullMethodName = "/grpccloudprovider.NodeGroupService/MinSize" NodeGroupService_TargetSize_FullMethodName = "/grpccloudprovider.NodeGroupService/TargetSize" NodeGroupService_IncreaseSize_FullMethodName = "/grpccloudprovider.NodeGroupService/IncreaseSize" NodeGroupService_DeleteNodes_FullMethodName = "/grpccloudprovider.NodeGroupService/DeleteNodes" NodeGroupService_DecreaseTargetSize_FullMethodName = "/grpccloudprovider.NodeGroupService/DecreaseTargetSize" NodeGroupService_Id_FullMethodName = "/grpccloudprovider.NodeGroupService/Id" NodeGroupService_Debug_FullMethodName = "/grpccloudprovider.NodeGroupService/Debug" NodeGroupService_Nodes_FullMethodName = "/grpccloudprovider.NodeGroupService/Nodes" NodeGroupService_TemplateNodeInfo_FullMethodName = "/grpccloudprovider.NodeGroupService/TemplateNodeInfo" NodeGroupService_Exist_FullMethodName = "/grpccloudprovider.NodeGroupService/Exist" NodeGroupService_Create_FullMethodName = "/grpccloudprovider.NodeGroupService/Create" NodeGroupService_Delete_FullMethodName = "/grpccloudprovider.NodeGroupService/Delete" NodeGroupService_Autoprovisioned_FullMethodName = "/grpccloudprovider.NodeGroupService/Autoprovisioned" NodeGroupService_Belongs_FullMethodName = "/grpccloudprovider.NodeGroupService/Belongs" NodeGroupService_GetOptions_FullMethodName = "/grpccloudprovider.NodeGroupService/GetOptions" )
const ( PricingModelService_NodePrice_FullMethodName = "/grpccloudprovider.PricingModelService/NodePrice" PricingModelService_PodPrice_FullMethodName = "/grpccloudprovider.PricingModelService/PodPrice" )
Variables ¶
var ( InstanceErrorClass_name = map[int32]string{ 0: "ERROR_UNDEFINED", 1: "ERROR_OUT_OF_RESOURCES", 99: "ERROR_OTHER", } InstanceErrorClass_value = map[string]int32{ "ERROR_UNDEFINED": 0, "ERROR_OUT_OF_RESOURCES": 1, "ERROR_OTHER": 99, } )
Enum value maps for InstanceErrorClass.
var ( InstanceState_name = map[int32]string{ 0: "STATE_UNDEFINED", 1: "STATE_RUNNING", 2: "STATE_BEING_CREATED", 3: "STATE_BEING_DELETED", } InstanceState_value = map[string]int32{ "STATE_UNDEFINED": 0, "STATE_RUNNING": 1, "STATE_BEING_CREATED": 2, "STATE_BEING_DELETED": 3, } )
Enum value maps for InstanceState.
var CloudProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpccloudprovider.CloudProviderService", HandlerType: (*CloudProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Connect", Handler: _CloudProviderService_Connect_Handler, }, { MethodName: "Name", Handler: _CloudProviderService_Name_Handler, }, { MethodName: "NodeGroups", Handler: _CloudProviderService_NodeGroups_Handler, }, { MethodName: "NodeGroupForNode", Handler: _CloudProviderService_NodeGroupForNode_Handler, }, { MethodName: "Pricing", Handler: _CloudProviderService_Pricing_Handler, }, { MethodName: "GetAvailableMachineTypes", Handler: _CloudProviderService_GetAvailableMachineTypes_Handler, }, { MethodName: "NewNodeGroup", Handler: _CloudProviderService_NewNodeGroup_Handler, }, { MethodName: "GetResourceLimiter", Handler: _CloudProviderService_GetResourceLimiter_Handler, }, { MethodName: "GPULabel", Handler: _CloudProviderService_GPULabel_Handler, }, { MethodName: "GetAvailableGPUTypes", Handler: _CloudProviderService_GetAvailableGPUTypes_Handler, }, { MethodName: "Cleanup", Handler: _CloudProviderService_Cleanup_Handler, }, { MethodName: "Refresh", Handler: _CloudProviderService_Refresh_Handler, }, { MethodName: "HasInstance", Handler: _CloudProviderService_HasInstance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.proto", }
CloudProviderService_ServiceDesc is the grpc.ServiceDesc for CloudProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_grpc_proto protoreflect.FileDescriptor
var NodeGroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpccloudprovider.NodeGroupService", HandlerType: (*NodeGroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MaxSize", Handler: _NodeGroupService_MaxSize_Handler, }, { MethodName: "MinSize", Handler: _NodeGroupService_MinSize_Handler, }, { MethodName: "TargetSize", Handler: _NodeGroupService_TargetSize_Handler, }, { MethodName: "IncreaseSize", Handler: _NodeGroupService_IncreaseSize_Handler, }, { MethodName: "DeleteNodes", Handler: _NodeGroupService_DeleteNodes_Handler, }, { MethodName: "DecreaseTargetSize", Handler: _NodeGroupService_DecreaseTargetSize_Handler, }, { MethodName: "Id", Handler: _NodeGroupService_Id_Handler, }, { MethodName: "Debug", Handler: _NodeGroupService_Debug_Handler, }, { MethodName: "Nodes", Handler: _NodeGroupService_Nodes_Handler, }, { MethodName: "TemplateNodeInfo", Handler: _NodeGroupService_TemplateNodeInfo_Handler, }, { MethodName: "Exist", Handler: _NodeGroupService_Exist_Handler, }, { MethodName: "Create", Handler: _NodeGroupService_Create_Handler, }, { MethodName: "Delete", Handler: _NodeGroupService_Delete_Handler, }, { MethodName: "Autoprovisioned", Handler: _NodeGroupService_Autoprovisioned_Handler, }, { MethodName: "Belongs", Handler: _NodeGroupService_Belongs_Handler, }, { MethodName: "GetOptions", Handler: _NodeGroupService_GetOptions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.proto", }
NodeGroupService_ServiceDesc is the grpc.ServiceDesc for NodeGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PricingModelService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpccloudprovider.PricingModelService", HandlerType: (*PricingModelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NodePrice", Handler: _PricingModelService_NodePrice_Handler, }, { MethodName: "PodPrice", Handler: _PricingModelService_PodPrice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.proto", }
PricingModelService_ServiceDesc is the grpc.ServiceDesc for PricingModelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCloudProviderServiceServer ¶
func RegisterCloudProviderServiceServer(s grpc.ServiceRegistrar, srv CloudProviderServiceServer)
func RegisterNodeGroupServiceServer ¶
func RegisterNodeGroupServiceServer(s grpc.ServiceRegistrar, srv NodeGroupServiceServer)
func RegisterPricingModelServiceServer ¶
func RegisterPricingModelServiceServer(s grpc.ServiceRegistrar, srv PricingModelServiceServer)
Types ¶
type AutoprovisionedReply ¶
type AutoprovisionedReply struct { Autoprovisioned bool `protobuf:"varint,1,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"` // contains filtered or unexported fields }
func (*AutoprovisionedReply) Descriptor
deprecated
func (*AutoprovisionedReply) Descriptor() ([]byte, []int)
Deprecated: Use AutoprovisionedReply.ProtoReflect.Descriptor instead.
func (*AutoprovisionedReply) GetAutoprovisioned ¶
func (x *AutoprovisionedReply) GetAutoprovisioned() bool
func (*AutoprovisionedReply) ProtoMessage ¶
func (*AutoprovisionedReply) ProtoMessage()
func (*AutoprovisionedReply) ProtoReflect ¶ added in v1.19.0
func (x *AutoprovisionedReply) ProtoReflect() protoreflect.Message
func (*AutoprovisionedReply) Reset ¶
func (x *AutoprovisionedReply) Reset()
func (*AutoprovisionedReply) String ¶
func (x *AutoprovisionedReply) String() string
type AutoscalingOptions ¶ added in v1.25.6
type AutoscalingOptions struct { // ScaleDownUtilizationThreshold sets threshold for nodes to be considered for scale down // if cpu or memory utilization is over threshold. ScaleDownUtilizationThreshold float64 `protobuf:"fixed64,1,opt,name=scaleDownUtilizationThreshold,proto3" json:"scaleDownUtilizationThreshold,omitempty"` // ScaleDownGpuUtilizationThreshold sets threshold for gpu nodes to be // considered for scale down if gpu utilization is over threshold. ScaleDownGpuUtilizationThreshold float64 `protobuf:"fixed64,2,opt,name=scaleDownGpuUtilizationThreshold,proto3" json:"scaleDownGpuUtilizationThreshold,omitempty"` // ScaleDownUnneededTime sets the duration CA expects a node to be // unneeded/eligible for removal before scaling down the node. ScaleDownUnneededTime *v11.Duration `protobuf:"bytes,3,opt,name=scaleDownUnneededTime,proto3" json:"scaleDownUnneededTime,omitempty"` // ScaleDownUnreadyTime represents how long an unready node should be // unneeded before it is eligible for scale down. ScaleDownUnreadyTime *v11.Duration `protobuf:"bytes,4,opt,name=scaleDownUnreadyTime,proto3" json:"scaleDownUnreadyTime,omitempty"` // contains filtered or unexported fields }
func (*AutoscalingOptions) Descriptor
deprecated
added in
v1.25.6
func (*AutoscalingOptions) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalingOptions.ProtoReflect.Descriptor instead.
func (*AutoscalingOptions) GetScaleDownGpuUtilizationThreshold ¶ added in v1.25.6
func (x *AutoscalingOptions) GetScaleDownGpuUtilizationThreshold() float64
func (*AutoscalingOptions) GetScaleDownUnneededTime ¶ added in v1.25.6
func (x *AutoscalingOptions) GetScaleDownUnneededTime() *v11.Duration
func (*AutoscalingOptions) GetScaleDownUnreadyTime ¶ added in v1.25.6
func (x *AutoscalingOptions) GetScaleDownUnreadyTime() *v11.Duration
func (*AutoscalingOptions) GetScaleDownUtilizationThreshold ¶ added in v1.25.6
func (x *AutoscalingOptions) GetScaleDownUtilizationThreshold() float64
func (*AutoscalingOptions) ProtoMessage ¶ added in v1.25.6
func (*AutoscalingOptions) ProtoMessage()
func (*AutoscalingOptions) ProtoReflect ¶ added in v1.25.6
func (x *AutoscalingOptions) ProtoReflect() protoreflect.Message
func (*AutoscalingOptions) Reset ¶ added in v1.25.6
func (x *AutoscalingOptions) Reset()
func (*AutoscalingOptions) String ¶ added in v1.25.6
func (x *AutoscalingOptions) String() string
type AvailableMachineTypes ¶
type AvailableMachineTypes struct { MachineType []string `protobuf:"bytes,1,rep,name=machineType,proto3" json:"machineType,omitempty"` // contains filtered or unexported fields }
func (*AvailableMachineTypes) Descriptor
deprecated
func (*AvailableMachineTypes) Descriptor() ([]byte, []int)
Deprecated: Use AvailableMachineTypes.ProtoReflect.Descriptor instead.
func (*AvailableMachineTypes) GetMachineType ¶
func (x *AvailableMachineTypes) GetMachineType() []string
func (*AvailableMachineTypes) ProtoMessage ¶
func (*AvailableMachineTypes) ProtoMessage()
func (*AvailableMachineTypes) ProtoReflect ¶ added in v1.19.0
func (x *AvailableMachineTypes) ProtoReflect() protoreflect.Message
func (*AvailableMachineTypes) Reset ¶
func (x *AvailableMachineTypes) Reset()
func (*AvailableMachineTypes) String ¶
func (x *AvailableMachineTypes) String() string
type AvailableMachineTypesReply ¶
type AvailableMachineTypesReply struct { // Types that are assignable to Response: // // *AvailableMachineTypesReply_Error // *AvailableMachineTypesReply_AvailableMachineTypes Response isAvailableMachineTypesReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AvailableMachineTypesReply) Descriptor
deprecated
func (*AvailableMachineTypesReply) Descriptor() ([]byte, []int)
Deprecated: Use AvailableMachineTypesReply.ProtoReflect.Descriptor instead.
func (*AvailableMachineTypesReply) GetAvailableMachineTypes ¶
func (x *AvailableMachineTypesReply) GetAvailableMachineTypes() *AvailableMachineTypes
func (*AvailableMachineTypesReply) GetError ¶
func (x *AvailableMachineTypesReply) GetError() *Error
func (*AvailableMachineTypesReply) GetResponse ¶
func (m *AvailableMachineTypesReply) GetResponse() isAvailableMachineTypesReply_Response
func (*AvailableMachineTypesReply) ProtoMessage ¶
func (*AvailableMachineTypesReply) ProtoMessage()
func (*AvailableMachineTypesReply) ProtoReflect ¶ added in v1.19.0
func (x *AvailableMachineTypesReply) ProtoReflect() protoreflect.Message
func (*AvailableMachineTypesReply) Reset ¶
func (x *AvailableMachineTypesReply) Reset()
func (*AvailableMachineTypesReply) String ¶
func (x *AvailableMachineTypesReply) String() string
type AvailableMachineTypesReply_AvailableMachineTypes ¶
type AvailableMachineTypesReply_AvailableMachineTypes struct {
AvailableMachineTypes *AvailableMachineTypes `protobuf:"bytes,2,opt,name=availableMachineTypes,proto3,oneof"`
}
type AvailableMachineTypesReply_Error ¶
type AvailableMachineTypesReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type BelongsReply ¶
type BelongsReply struct { // Types that are assignable to Response: // // *BelongsReply_Error // *BelongsReply_Belongs Response isBelongsReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*BelongsReply) Descriptor
deprecated
func (*BelongsReply) Descriptor() ([]byte, []int)
Deprecated: Use BelongsReply.ProtoReflect.Descriptor instead.
func (*BelongsReply) GetBelongs ¶
func (x *BelongsReply) GetBelongs() bool
func (*BelongsReply) GetError ¶
func (x *BelongsReply) GetError() *Error
func (*BelongsReply) GetResponse ¶
func (m *BelongsReply) GetResponse() isBelongsReply_Response
func (*BelongsReply) ProtoMessage ¶
func (*BelongsReply) ProtoMessage()
func (*BelongsReply) ProtoReflect ¶ added in v1.19.0
func (x *BelongsReply) ProtoReflect() protoreflect.Message
func (*BelongsReply) Reset ¶
func (x *BelongsReply) Reset()
func (*BelongsReply) String ¶
func (x *BelongsReply) String() string
type BelongsReply_Belongs ¶
type BelongsReply_Belongs struct {
Belongs bool `protobuf:"varint,2,opt,name=belongs,proto3,oneof"`
}
type BelongsReply_Error ¶
type BelongsReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type BelongsRequest ¶
type BelongsRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*BelongsRequest) Descriptor
deprecated
func (*BelongsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BelongsRequest.ProtoReflect.Descriptor instead.
func (*BelongsRequest) GetNode ¶
func (x *BelongsRequest) GetNode() string
func (*BelongsRequest) GetNodeGroupID ¶
func (x *BelongsRequest) GetNodeGroupID() string
func (*BelongsRequest) GetProviderID ¶
func (x *BelongsRequest) GetProviderID() string
func (*BelongsRequest) ProtoMessage ¶
func (*BelongsRequest) ProtoMessage()
func (*BelongsRequest) ProtoReflect ¶ added in v1.19.0
func (x *BelongsRequest) ProtoReflect() protoreflect.Message
func (*BelongsRequest) Reset ¶
func (x *BelongsRequest) Reset()
func (*BelongsRequest) String ¶
func (x *BelongsRequest) String() string
type CleanupReply ¶
type CleanupReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CleanupReply) Descriptor
deprecated
func (*CleanupReply) Descriptor() ([]byte, []int)
Deprecated: Use CleanupReply.ProtoReflect.Descriptor instead.
func (*CleanupReply) GetError ¶
func (x *CleanupReply) GetError() *Error
func (*CleanupReply) ProtoMessage ¶
func (*CleanupReply) ProtoMessage()
func (*CleanupReply) ProtoReflect ¶ added in v1.19.0
func (x *CleanupReply) ProtoReflect() protoreflect.Message
func (*CleanupReply) Reset ¶
func (x *CleanupReply) Reset()
func (*CleanupReply) String ¶
func (x *CleanupReply) String() string
type CloudProviderServiceClient ¶
type CloudProviderServiceClient interface { Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectReply, error) Name(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*NameReply, error) NodeGroups(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*NodeGroupsReply, error) NodeGroupForNode(ctx context.Context, in *NodeGroupForNodeRequest, opts ...grpc.CallOption) (*NodeGroupForNodeReply, error) Pricing(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*PricingModelReply, error) GetAvailableMachineTypes(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*AvailableMachineTypesReply, error) NewNodeGroup(ctx context.Context, in *NewNodeGroupRequest, opts ...grpc.CallOption) (*NewNodeGroupReply, error) GetResourceLimiter(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*ResourceLimiterReply, error) GPULabel(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*GPULabelReply, error) GetAvailableGPUTypes(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*GetAvailableGPUTypesReply, error) Cleanup(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*CleanupReply, error) Refresh(ctx context.Context, in *CloudProviderServiceRequest, opts ...grpc.CallOption) (*RefreshReply, error) HasInstance(ctx context.Context, in *HasInstanceRequest, opts ...grpc.CallOption) (*HasInstanceReply, error) }
CloudProviderServiceClient is the client API for CloudProviderService 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 NewCloudProviderServiceClient ¶
func NewCloudProviderServiceClient(cc grpc.ClientConnInterface) CloudProviderServiceClient
type CloudProviderServiceRequest ¶
type CloudProviderServiceRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` // contains filtered or unexported fields }
func (*CloudProviderServiceRequest) Descriptor
deprecated
func (*CloudProviderServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloudProviderServiceRequest.ProtoReflect.Descriptor instead.
func (*CloudProviderServiceRequest) GetProviderID ¶
func (x *CloudProviderServiceRequest) GetProviderID() string
func (*CloudProviderServiceRequest) ProtoMessage ¶
func (*CloudProviderServiceRequest) ProtoMessage()
func (*CloudProviderServiceRequest) ProtoReflect ¶ added in v1.19.0
func (x *CloudProviderServiceRequest) ProtoReflect() protoreflect.Message
func (*CloudProviderServiceRequest) Reset ¶
func (x *CloudProviderServiceRequest) Reset()
func (*CloudProviderServiceRequest) String ¶
func (x *CloudProviderServiceRequest) String() string
type CloudProviderServiceServer ¶
type CloudProviderServiceServer interface { Connect(context.Context, *ConnectRequest) (*ConnectReply, error) Name(context.Context, *CloudProviderServiceRequest) (*NameReply, error) NodeGroups(context.Context, *CloudProviderServiceRequest) (*NodeGroupsReply, error) NodeGroupForNode(context.Context, *NodeGroupForNodeRequest) (*NodeGroupForNodeReply, error) Pricing(context.Context, *CloudProviderServiceRequest) (*PricingModelReply, error) GetAvailableMachineTypes(context.Context, *CloudProviderServiceRequest) (*AvailableMachineTypesReply, error) NewNodeGroup(context.Context, *NewNodeGroupRequest) (*NewNodeGroupReply, error) GetResourceLimiter(context.Context, *CloudProviderServiceRequest) (*ResourceLimiterReply, error) GPULabel(context.Context, *CloudProviderServiceRequest) (*GPULabelReply, error) GetAvailableGPUTypes(context.Context, *CloudProviderServiceRequest) (*GetAvailableGPUTypesReply, error) Cleanup(context.Context, *CloudProviderServiceRequest) (*CleanupReply, error) Refresh(context.Context, *CloudProviderServiceRequest) (*RefreshReply, error) HasInstance(context.Context, *HasInstanceRequest) (*HasInstanceReply, error) // contains filtered or unexported methods }
CloudProviderServiceServer is the server API for CloudProviderService service. All implementations must embed UnimplementedCloudProviderServiceServer for forward compatibility
type ConnectReply ¶
type ConnectReply struct { // Types that are assignable to Response: // // *ConnectReply_Error // *ConnectReply_Connected Response isConnectReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ConnectReply) Descriptor
deprecated
func (*ConnectReply) Descriptor() ([]byte, []int)
Deprecated: Use ConnectReply.ProtoReflect.Descriptor instead.
func (*ConnectReply) GetConnected ¶
func (x *ConnectReply) GetConnected() bool
func (*ConnectReply) GetError ¶
func (x *ConnectReply) GetError() *Error
func (*ConnectReply) GetResponse ¶
func (m *ConnectReply) GetResponse() isConnectReply_Response
func (*ConnectReply) ProtoMessage ¶
func (*ConnectReply) ProtoMessage()
func (*ConnectReply) ProtoReflect ¶ added in v1.19.0
func (x *ConnectReply) ProtoReflect() protoreflect.Message
func (*ConnectReply) Reset ¶
func (x *ConnectReply) Reset()
func (*ConnectReply) String ¶
func (x *ConnectReply) String() string
type ConnectReply_Connected ¶
type ConnectReply_Connected struct {
Connected bool `protobuf:"varint,2,opt,name=connected,proto3,oneof"`
}
type ConnectReply_Error ¶
type ConnectReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ConnectRequest ¶
type ConnectRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` ResourceLimiter *ResourceLimiter `protobuf:"bytes,2,opt,name=resourceLimiter,proto3" json:"resourceLimiter,omitempty"` Nodes []*NodeGroupDef `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` AutoProvisionned bool `protobuf:"varint,4,opt,name=autoProvisionned,proto3" json:"autoProvisionned,omitempty"` // contains filtered or unexported fields }
func (*ConnectRequest) Descriptor
deprecated
func (*ConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.
func (*ConnectRequest) GetAutoProvisionned ¶
func (x *ConnectRequest) GetAutoProvisionned() bool
func (*ConnectRequest) GetNodes ¶
func (x *ConnectRequest) GetNodes() []*NodeGroupDef
func (*ConnectRequest) GetProviderID ¶
func (x *ConnectRequest) GetProviderID() string
func (*ConnectRequest) GetResourceLimiter ¶
func (x *ConnectRequest) GetResourceLimiter() *ResourceLimiter
func (*ConnectRequest) ProtoMessage ¶
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) ProtoReflect ¶ added in v1.19.0
func (x *ConnectRequest) ProtoReflect() protoreflect.Message
func (*ConnectRequest) Reset ¶
func (x *ConnectRequest) Reset()
func (*ConnectRequest) String ¶
func (x *ConnectRequest) String() string
type CreateReply ¶
type CreateReply struct { // Types that are assignable to Response: // // *CreateReply_Error // *CreateReply_NodeGroup Response isCreateReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateReply) Descriptor
deprecated
func (*CreateReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateReply.ProtoReflect.Descriptor instead.
func (*CreateReply) GetError ¶
func (x *CreateReply) GetError() *Error
func (*CreateReply) GetNodeGroup ¶
func (x *CreateReply) GetNodeGroup() *NodeGroup
func (*CreateReply) GetResponse ¶
func (m *CreateReply) GetResponse() isCreateReply_Response
func (*CreateReply) ProtoMessage ¶
func (*CreateReply) ProtoMessage()
func (*CreateReply) ProtoReflect ¶ added in v1.19.0
func (x *CreateReply) ProtoReflect() protoreflect.Message
func (*CreateReply) Reset ¶
func (x *CreateReply) Reset()
func (*CreateReply) String ¶
func (x *CreateReply) String() string
type CreateReply_Error ¶
type CreateReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateReply_NodeGroup ¶
type CreateReply_NodeGroup struct {
NodeGroup *NodeGroup `protobuf:"bytes,2,opt,name=nodeGroup,proto3,oneof"`
}
type DebugReply ¶
type DebugReply struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*DebugReply) Descriptor
deprecated
func (*DebugReply) Descriptor() ([]byte, []int)
Deprecated: Use DebugReply.ProtoReflect.Descriptor instead.
func (*DebugReply) GetResponse ¶
func (x *DebugReply) GetResponse() string
func (*DebugReply) ProtoMessage ¶
func (*DebugReply) ProtoMessage()
func (*DebugReply) ProtoReflect ¶ added in v1.19.0
func (x *DebugReply) ProtoReflect() protoreflect.Message
func (*DebugReply) Reset ¶
func (x *DebugReply) Reset()
func (*DebugReply) String ¶
func (x *DebugReply) String() string
type DecreaseTargetSizeReply ¶
type DecreaseTargetSizeReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DecreaseTargetSizeReply) Descriptor
deprecated
func (*DecreaseTargetSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use DecreaseTargetSizeReply.ProtoReflect.Descriptor instead.
func (*DecreaseTargetSizeReply) GetError ¶
func (x *DecreaseTargetSizeReply) GetError() *Error
func (*DecreaseTargetSizeReply) ProtoMessage ¶
func (*DecreaseTargetSizeReply) ProtoMessage()
func (*DecreaseTargetSizeReply) ProtoReflect ¶ added in v1.19.0
func (x *DecreaseTargetSizeReply) ProtoReflect() protoreflect.Message
func (*DecreaseTargetSizeReply) Reset ¶
func (x *DecreaseTargetSizeReply) Reset()
func (*DecreaseTargetSizeReply) String ¶
func (x *DecreaseTargetSizeReply) String() string
type DecreaseTargetSizeRequest ¶
type DecreaseTargetSizeRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` Delta int32 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
func (*DecreaseTargetSizeRequest) Descriptor
deprecated
func (*DecreaseTargetSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecreaseTargetSizeRequest.ProtoReflect.Descriptor instead.
func (*DecreaseTargetSizeRequest) GetDelta ¶
func (x *DecreaseTargetSizeRequest) GetDelta() int32
func (*DecreaseTargetSizeRequest) GetNodeGroupID ¶
func (x *DecreaseTargetSizeRequest) GetNodeGroupID() string
func (*DecreaseTargetSizeRequest) GetProviderID ¶
func (x *DecreaseTargetSizeRequest) GetProviderID() string
func (*DecreaseTargetSizeRequest) ProtoMessage ¶
func (*DecreaseTargetSizeRequest) ProtoMessage()
func (*DecreaseTargetSizeRequest) ProtoReflect ¶ added in v1.19.0
func (x *DecreaseTargetSizeRequest) ProtoReflect() protoreflect.Message
func (*DecreaseTargetSizeRequest) Reset ¶
func (x *DecreaseTargetSizeRequest) Reset()
func (*DecreaseTargetSizeRequest) String ¶
func (x *DecreaseTargetSizeRequest) String() string
type DeleteNodesReply ¶
type DeleteNodesReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodesReply) Descriptor
deprecated
func (*DeleteNodesReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodesReply.ProtoReflect.Descriptor instead.
func (*DeleteNodesReply) GetError ¶
func (x *DeleteNodesReply) GetError() *Error
func (*DeleteNodesReply) ProtoMessage ¶
func (*DeleteNodesReply) ProtoMessage()
func (*DeleteNodesReply) ProtoReflect ¶ added in v1.19.0
func (x *DeleteNodesReply) ProtoReflect() protoreflect.Message
func (*DeleteNodesReply) Reset ¶
func (x *DeleteNodesReply) Reset()
func (*DeleteNodesReply) String ¶
func (x *DeleteNodesReply) String() string
type DeleteNodesRequest ¶
type DeleteNodesRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` Node []string `protobuf:"bytes,3,rep,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodesRequest) Descriptor
deprecated
func (*DeleteNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodesRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodesRequest) GetNode ¶
func (x *DeleteNodesRequest) GetNode() []string
func (*DeleteNodesRequest) GetNodeGroupID ¶
func (x *DeleteNodesRequest) GetNodeGroupID() string
func (*DeleteNodesRequest) GetProviderID ¶
func (x *DeleteNodesRequest) GetProviderID() string
func (*DeleteNodesRequest) ProtoMessage ¶
func (*DeleteNodesRequest) ProtoMessage()
func (*DeleteNodesRequest) ProtoReflect ¶ added in v1.19.0
func (x *DeleteNodesRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodesRequest) Reset ¶
func (x *DeleteNodesRequest) Reset()
func (*DeleteNodesRequest) String ¶
func (x *DeleteNodesRequest) String() string
type DeleteReply ¶
type DeleteReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeleteReply) Descriptor
deprecated
func (*DeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.
func (*DeleteReply) GetError ¶
func (x *DeleteReply) GetError() *Error
func (*DeleteReply) ProtoMessage ¶
func (*DeleteReply) ProtoMessage()
func (*DeleteReply) ProtoReflect ¶ added in v1.19.0
func (x *DeleteReply) ProtoReflect() protoreflect.Message
func (*DeleteReply) Reset ¶
func (x *DeleteReply) Reset()
func (*DeleteReply) String ¶
func (x *DeleteReply) String() string
type Error ¶
type Error struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
/////////////////////////////////////////////////////////////////////////////////////////////////////// General messages types ///////////////////////////////////////////////////////////////////////////////////////////////////////
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v1.19.0
func (x *Error) ProtoReflect() protoreflect.Message
type ExistReply ¶
type ExistReply struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ExistReply) Descriptor
deprecated
func (*ExistReply) Descriptor() ([]byte, []int)
Deprecated: Use ExistReply.ProtoReflect.Descriptor instead.
func (*ExistReply) GetExists ¶
func (x *ExistReply) GetExists() bool
func (*ExistReply) ProtoMessage ¶
func (*ExistReply) ProtoMessage()
func (*ExistReply) ProtoReflect ¶ added in v1.19.0
func (x *ExistReply) ProtoReflect() protoreflect.Message
func (*ExistReply) Reset ¶
func (x *ExistReply) Reset()
func (*ExistReply) String ¶
func (x *ExistReply) String() string
type GPULabelReply ¶ added in v0.2.0
type GPULabelReply struct { // Types that are assignable to Response: // // *GPULabelReply_Error // *GPULabelReply_Gpulabel Response isGPULabelReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GPULabelReply) Descriptor
deprecated
added in
v0.2.0
func (*GPULabelReply) Descriptor() ([]byte, []int)
Deprecated: Use GPULabelReply.ProtoReflect.Descriptor instead.
func (*GPULabelReply) GetError ¶ added in v0.2.0
func (x *GPULabelReply) GetError() *Error
func (*GPULabelReply) GetGpulabel ¶ added in v0.2.0
func (x *GPULabelReply) GetGpulabel() string
func (*GPULabelReply) GetResponse ¶ added in v0.2.0
func (m *GPULabelReply) GetResponse() isGPULabelReply_Response
func (*GPULabelReply) ProtoMessage ¶ added in v0.2.0
func (*GPULabelReply) ProtoMessage()
func (*GPULabelReply) ProtoReflect ¶ added in v1.19.0
func (x *GPULabelReply) ProtoReflect() protoreflect.Message
func (*GPULabelReply) Reset ¶ added in v0.2.0
func (x *GPULabelReply) Reset()
func (*GPULabelReply) String ¶ added in v0.2.0
func (x *GPULabelReply) String() string
type GPULabelReply_Error ¶ added in v0.2.0
type GPULabelReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GPULabelReply_Gpulabel ¶ added in v0.2.0
type GPULabelReply_Gpulabel struct {
Gpulabel string `protobuf:"bytes,2,opt,name=gpulabel,proto3,oneof"`
}
type GetAvailableGPUTypesReply ¶ added in v0.2.0
type GetAvailableGPUTypesReply struct { AvailableGpuTypes map[string]string `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAvailableGPUTypesReply) Descriptor
deprecated
added in
v0.2.0
func (*GetAvailableGPUTypesReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableGPUTypesReply.ProtoReflect.Descriptor instead.
func (*GetAvailableGPUTypesReply) GetAvailableGpuTypes ¶ added in v0.2.0
func (x *GetAvailableGPUTypesReply) GetAvailableGpuTypes() map[string]string
func (*GetAvailableGPUTypesReply) ProtoMessage ¶ added in v0.2.0
func (*GetAvailableGPUTypesReply) ProtoMessage()
func (*GetAvailableGPUTypesReply) ProtoReflect ¶ added in v1.19.0
func (x *GetAvailableGPUTypesReply) ProtoReflect() protoreflect.Message
func (*GetAvailableGPUTypesReply) Reset ¶ added in v0.2.0
func (x *GetAvailableGPUTypesReply) Reset()
func (*GetAvailableGPUTypesReply) String ¶ added in v0.2.0
func (x *GetAvailableGPUTypesReply) String() string
type GetOptionsReply ¶ added in v1.25.6
type GetOptionsReply struct { // Types that are assignable to Response: // // *GetOptionsReply_Error // *GetOptionsReply_NodeGroupAutoscalingOptions Response isGetOptionsReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetOptionsReply) Descriptor
deprecated
added in
v1.25.6
func (*GetOptionsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionsReply.ProtoReflect.Descriptor instead.
func (*GetOptionsReply) GetError ¶ added in v1.25.6
func (x *GetOptionsReply) GetError() *Error
func (*GetOptionsReply) GetNodeGroupAutoscalingOptions ¶ added in v1.25.6
func (x *GetOptionsReply) GetNodeGroupAutoscalingOptions() *AutoscalingOptions
func (*GetOptionsReply) GetResponse ¶ added in v1.25.6
func (m *GetOptionsReply) GetResponse() isGetOptionsReply_Response
func (*GetOptionsReply) ProtoMessage ¶ added in v1.25.6
func (*GetOptionsReply) ProtoMessage()
func (*GetOptionsReply) ProtoReflect ¶ added in v1.25.6
func (x *GetOptionsReply) ProtoReflect() protoreflect.Message
func (*GetOptionsReply) Reset ¶ added in v1.25.6
func (x *GetOptionsReply) Reset()
func (*GetOptionsReply) String ¶ added in v1.25.6
func (x *GetOptionsReply) String() string
type GetOptionsReply_Error ¶ added in v1.25.6
type GetOptionsReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetOptionsReply_NodeGroupAutoscalingOptions ¶ added in v1.25.6
type GetOptionsReply_NodeGroupAutoscalingOptions struct { // autoscaling options for the requested node. NodeGroupAutoscalingOptions *AutoscalingOptions `protobuf:"bytes,2,opt,name=nodeGroupAutoscalingOptions,proto3,oneof"` }
type GetOptionsRequest ¶ added in v1.25.6
type GetOptionsRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` // ID of the node group for the request. NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` // default node group autoscaling options. Defaults *AutoscalingOptions `protobuf:"bytes,3,opt,name=defaults,proto3" json:"defaults,omitempty"` // contains filtered or unexported fields }
func (*GetOptionsRequest) Descriptor
deprecated
added in
v1.25.6
func (*GetOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionsRequest.ProtoReflect.Descriptor instead.
func (*GetOptionsRequest) GetDefaults ¶ added in v1.25.6
func (x *GetOptionsRequest) GetDefaults() *AutoscalingOptions
func (*GetOptionsRequest) GetNodeGroupID ¶ added in v1.25.6
func (x *GetOptionsRequest) GetNodeGroupID() string
func (*GetOptionsRequest) GetProviderID ¶ added in v1.25.6
func (x *GetOptionsRequest) GetProviderID() string
func (*GetOptionsRequest) ProtoMessage ¶ added in v1.25.6
func (*GetOptionsRequest) ProtoMessage()
func (*GetOptionsRequest) ProtoReflect ¶ added in v1.25.6
func (x *GetOptionsRequest) ProtoReflect() protoreflect.Message
func (*GetOptionsRequest) Reset ¶ added in v1.25.6
func (x *GetOptionsRequest) Reset()
func (*GetOptionsRequest) String ¶ added in v1.25.6
func (x *GetOptionsRequest) String() string
type HasInstanceReply ¶ added in v1.26.0
type HasInstanceReply struct { // Types that are assignable to Response: // // *HasInstanceReply_Error // *HasInstanceReply_HasInstance Response isHasInstanceReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*HasInstanceReply) Descriptor
deprecated
added in
v1.26.0
func (*HasInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use HasInstanceReply.ProtoReflect.Descriptor instead.
func (*HasInstanceReply) GetError ¶ added in v1.26.0
func (x *HasInstanceReply) GetError() *Error
func (*HasInstanceReply) GetHasInstance ¶ added in v1.26.0
func (x *HasInstanceReply) GetHasInstance() bool
func (*HasInstanceReply) GetResponse ¶ added in v1.26.0
func (m *HasInstanceReply) GetResponse() isHasInstanceReply_Response
func (*HasInstanceReply) ProtoMessage ¶ added in v1.26.0
func (*HasInstanceReply) ProtoMessage()
func (*HasInstanceReply) ProtoReflect ¶ added in v1.26.0
func (x *HasInstanceReply) ProtoReflect() protoreflect.Message
func (*HasInstanceReply) Reset ¶ added in v1.26.0
func (x *HasInstanceReply) Reset()
func (*HasInstanceReply) String ¶ added in v1.26.0
func (x *HasInstanceReply) String() string
type HasInstanceReply_Error ¶ added in v1.26.0
type HasInstanceReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type HasInstanceReply_HasInstance ¶ added in v1.26.0
type HasInstanceReply_HasInstance struct {
HasInstance bool `protobuf:"varint,2,opt,name=hasInstance,proto3,oneof"`
}
type HasInstanceRequest ¶ added in v1.26.0
type HasInstanceRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*HasInstanceRequest) Descriptor
deprecated
added in
v1.26.0
func (*HasInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use HasInstanceRequest.ProtoReflect.Descriptor instead.
func (*HasInstanceRequest) GetNode ¶ added in v1.26.0
func (x *HasInstanceRequest) GetNode() string
func (*HasInstanceRequest) GetProviderID ¶ added in v1.26.0
func (x *HasInstanceRequest) GetProviderID() string
func (*HasInstanceRequest) ProtoMessage ¶ added in v1.26.0
func (*HasInstanceRequest) ProtoMessage()
func (*HasInstanceRequest) ProtoReflect ¶ added in v1.26.0
func (x *HasInstanceRequest) ProtoReflect() protoreflect.Message
func (*HasInstanceRequest) Reset ¶ added in v1.26.0
func (x *HasInstanceRequest) Reset()
func (*HasInstanceRequest) String ¶ added in v1.26.0
func (x *HasInstanceRequest) String() string
type HostPortInfo ¶
type HostPortInfo struct { HostPortInfo map[string]*ProtocolPort `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HostPortInfo) Descriptor
deprecated
func (*HostPortInfo) Descriptor() ([]byte, []int)
Deprecated: Use HostPortInfo.ProtoReflect.Descriptor instead.
func (*HostPortInfo) GetHostPortInfo ¶
func (x *HostPortInfo) GetHostPortInfo() map[string]*ProtocolPort
func (*HostPortInfo) ProtoMessage ¶
func (*HostPortInfo) ProtoMessage()
func (*HostPortInfo) ProtoReflect ¶ added in v1.19.0
func (x *HostPortInfo) ProtoReflect() protoreflect.Message
func (*HostPortInfo) Reset ¶
func (x *HostPortInfo) Reset()
func (*HostPortInfo) String ¶
func (x *HostPortInfo) String() string
type IdReply ¶
type IdReply struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*IdReply) Descriptor
deprecated
func (*IdReply) GetResponse ¶
func (*IdReply) ProtoMessage ¶
func (*IdReply) ProtoMessage()
func (*IdReply) ProtoReflect ¶ added in v1.19.0
func (x *IdReply) ProtoReflect() protoreflect.Message
type ImageStateSummary ¶
type ImageStateSummary struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` NumNodes int32 `protobuf:"varint,2,opt,name=numNodes,proto3" json:"numNodes,omitempty"` // contains filtered or unexported fields }
func (*ImageStateSummary) Descriptor
deprecated
func (*ImageStateSummary) Descriptor() ([]byte, []int)
Deprecated: Use ImageStateSummary.ProtoReflect.Descriptor instead.
func (*ImageStateSummary) GetNumNodes ¶
func (x *ImageStateSummary) GetNumNodes() int32
func (*ImageStateSummary) GetSize ¶
func (x *ImageStateSummary) GetSize() int64
func (*ImageStateSummary) ProtoMessage ¶
func (*ImageStateSummary) ProtoMessage()
func (*ImageStateSummary) ProtoReflect ¶ added in v1.19.0
func (x *ImageStateSummary) ProtoReflect() protoreflect.Message
func (*ImageStateSummary) Reset ¶
func (x *ImageStateSummary) Reset()
func (*ImageStateSummary) String ¶
func (x *ImageStateSummary) String() string
type IncreaseSizeReply ¶
type IncreaseSizeReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*IncreaseSizeReply) Descriptor
deprecated
func (*IncreaseSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use IncreaseSizeReply.ProtoReflect.Descriptor instead.
func (*IncreaseSizeReply) GetError ¶
func (x *IncreaseSizeReply) GetError() *Error
func (*IncreaseSizeReply) ProtoMessage ¶
func (*IncreaseSizeReply) ProtoMessage()
func (*IncreaseSizeReply) ProtoReflect ¶ added in v1.19.0
func (x *IncreaseSizeReply) ProtoReflect() protoreflect.Message
func (*IncreaseSizeReply) Reset ¶
func (x *IncreaseSizeReply) Reset()
func (*IncreaseSizeReply) String ¶
func (x *IncreaseSizeReply) String() string
type IncreaseSizeRequest ¶
type IncreaseSizeRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` Delta int32 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
func (*IncreaseSizeRequest) Descriptor
deprecated
func (*IncreaseSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncreaseSizeRequest.ProtoReflect.Descriptor instead.
func (*IncreaseSizeRequest) GetDelta ¶
func (x *IncreaseSizeRequest) GetDelta() int32
func (*IncreaseSizeRequest) GetNodeGroupID ¶
func (x *IncreaseSizeRequest) GetNodeGroupID() string
func (*IncreaseSizeRequest) GetProviderID ¶
func (x *IncreaseSizeRequest) GetProviderID() string
func (*IncreaseSizeRequest) ProtoMessage ¶
func (*IncreaseSizeRequest) ProtoMessage()
func (*IncreaseSizeRequest) ProtoReflect ¶ added in v1.19.0
func (x *IncreaseSizeRequest) ProtoReflect() protoreflect.Message
func (*IncreaseSizeRequest) Reset ¶
func (x *IncreaseSizeRequest) Reset()
func (*IncreaseSizeRequest) String ¶
func (x *IncreaseSizeRequest) String() string
type Instance ¶
type Instance struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status *InstanceStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Instance) Descriptor
deprecated
func (*Instance) GetStatus ¶
func (x *Instance) GetStatus() *InstanceStatus
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶ added in v1.19.0
func (x *Instance) ProtoReflect() protoreflect.Message
type InstanceErrorClass ¶
type InstanceErrorClass int32
const ( InstanceErrorClass_ERROR_UNDEFINED InstanceErrorClass = 0 InstanceErrorClass_ERROR_OUT_OF_RESOURCES InstanceErrorClass = 1 InstanceErrorClass_ERROR_OTHER InstanceErrorClass = 99 )
func (InstanceErrorClass) Descriptor ¶ added in v1.19.0
func (InstanceErrorClass) Descriptor() protoreflect.EnumDescriptor
func (InstanceErrorClass) Enum ¶ added in v1.19.0
func (x InstanceErrorClass) Enum() *InstanceErrorClass
func (InstanceErrorClass) EnumDescriptor
deprecated
func (InstanceErrorClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceErrorClass.Descriptor instead.
func (InstanceErrorClass) Number ¶ added in v1.19.0
func (x InstanceErrorClass) Number() protoreflect.EnumNumber
func (InstanceErrorClass) String ¶
func (x InstanceErrorClass) String() string
func (InstanceErrorClass) Type ¶ added in v1.19.0
func (InstanceErrorClass) Type() protoreflect.EnumType
type InstanceErrorInfo ¶
type InstanceErrorInfo struct { ErrorClass InstanceErrorClass `protobuf:"varint,1,opt,name=errorClass,proto3,enum=grpccloudprovider.InstanceErrorClass" json:"errorClass,omitempty"` // ErrorCode is cloud-provider specific error code for error condition ErrorCode string `protobuf:"bytes,2,opt,name=errorCode,proto3" json:"errorCode,omitempty"` // ErrorMessage is human readable description of error condition ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` // contains filtered or unexported fields }
func (*InstanceErrorInfo) Descriptor
deprecated
func (*InstanceErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use InstanceErrorInfo.ProtoReflect.Descriptor instead.
func (*InstanceErrorInfo) GetErrorClass ¶
func (x *InstanceErrorInfo) GetErrorClass() InstanceErrorClass
func (*InstanceErrorInfo) GetErrorCode ¶
func (x *InstanceErrorInfo) GetErrorCode() string
func (*InstanceErrorInfo) GetErrorMessage ¶
func (x *InstanceErrorInfo) GetErrorMessage() string
func (*InstanceErrorInfo) ProtoMessage ¶
func (*InstanceErrorInfo) ProtoMessage()
func (*InstanceErrorInfo) ProtoReflect ¶ added in v1.19.0
func (x *InstanceErrorInfo) ProtoReflect() protoreflect.Message
func (*InstanceErrorInfo) Reset ¶
func (x *InstanceErrorInfo) Reset()
func (*InstanceErrorInfo) String ¶
func (x *InstanceErrorInfo) String() string
type InstanceState ¶
type InstanceState int32
const ( InstanceState_STATE_UNDEFINED InstanceState = 0 InstanceState_STATE_RUNNING InstanceState = 1 InstanceState_STATE_BEING_CREATED InstanceState = 2 InstanceState_STATE_BEING_DELETED InstanceState = 3 )
func (InstanceState) Descriptor ¶ added in v1.19.0
func (InstanceState) Descriptor() protoreflect.EnumDescriptor
func (InstanceState) Enum ¶ added in v1.19.0
func (x InstanceState) Enum() *InstanceState
func (InstanceState) EnumDescriptor
deprecated
func (InstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceState.Descriptor instead.
func (InstanceState) Number ¶ added in v1.19.0
func (x InstanceState) Number() protoreflect.EnumNumber
func (InstanceState) String ¶
func (x InstanceState) String() string
func (InstanceState) Type ¶ added in v1.19.0
func (InstanceState) Type() protoreflect.EnumType
type InstanceStatus ¶
type InstanceStatus struct { State InstanceState `protobuf:"varint,1,opt,name=state,proto3,enum=grpccloudprovider.InstanceState" json:"state,omitempty"` ErrorInfo *InstanceErrorInfo `protobuf:"bytes,2,opt,name=errorInfo,proto3" json:"errorInfo,omitempty"` // contains filtered or unexported fields }
func (*InstanceStatus) Descriptor
deprecated
func (*InstanceStatus) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStatus.ProtoReflect.Descriptor instead.
func (*InstanceStatus) GetErrorInfo ¶
func (x *InstanceStatus) GetErrorInfo() *InstanceErrorInfo
func (*InstanceStatus) GetState ¶
func (x *InstanceStatus) GetState() InstanceState
func (*InstanceStatus) ProtoMessage ¶
func (*InstanceStatus) ProtoMessage()
func (*InstanceStatus) ProtoReflect ¶ added in v1.19.0
func (x *InstanceStatus) ProtoReflect() protoreflect.Message
func (*InstanceStatus) Reset ¶
func (x *InstanceStatus) Reset()
func (*InstanceStatus) String ¶
func (x *InstanceStatus) String() string
type Instances ¶
type Instances struct { Items []*Instance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Instances) Descriptor
deprecated
func (*Instances) ProtoMessage ¶
func (*Instances) ProtoMessage()
func (*Instances) ProtoReflect ¶ added in v1.19.0
func (x *Instances) ProtoReflect() protoreflect.Message
type KubeAdmConfig ¶
type KubeAdmConfig struct { KubeAdmAddress string `protobuf:"bytes,1,opt,name=kubeAdmAddress,proto3" json:"kubeAdmAddress,omitempty"` KubeAdmToken string `protobuf:"bytes,2,opt,name=kubeAdmToken,proto3" json:"kubeAdmToken,omitempty"` KubeAdmCACert string `protobuf:"bytes,3,opt,name=kubeAdmCACert,proto3" json:"kubeAdmCACert,omitempty"` KubeAdmExtraArguments []string `protobuf:"bytes,4,rep,name=kubeAdmExtraArguments,proto3" json:"kubeAdmExtraArguments,omitempty"` // contains filtered or unexported fields }
func (*KubeAdmConfig) Descriptor
deprecated
func (*KubeAdmConfig) Descriptor() ([]byte, []int)
Deprecated: Use KubeAdmConfig.ProtoReflect.Descriptor instead.
func (*KubeAdmConfig) GetKubeAdmAddress ¶
func (x *KubeAdmConfig) GetKubeAdmAddress() string
func (*KubeAdmConfig) GetKubeAdmCACert ¶
func (x *KubeAdmConfig) GetKubeAdmCACert() string
func (*KubeAdmConfig) GetKubeAdmExtraArguments ¶
func (x *KubeAdmConfig) GetKubeAdmExtraArguments() []string
func (*KubeAdmConfig) GetKubeAdmToken ¶
func (x *KubeAdmConfig) GetKubeAdmToken() string
func (*KubeAdmConfig) ProtoMessage ¶
func (*KubeAdmConfig) ProtoMessage()
func (*KubeAdmConfig) ProtoReflect ¶ added in v1.19.0
func (x *KubeAdmConfig) ProtoReflect() protoreflect.Message
func (*KubeAdmConfig) Reset ¶
func (x *KubeAdmConfig) Reset()
func (*KubeAdmConfig) String ¶
func (x *KubeAdmConfig) String() string
type MaxSizeReply ¶
type MaxSizeReply struct { MaxSize int32 `protobuf:"varint,1,opt,name=maxSize,proto3" json:"maxSize,omitempty"` // contains filtered or unexported fields }
func (*MaxSizeReply) Descriptor
deprecated
func (*MaxSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use MaxSizeReply.ProtoReflect.Descriptor instead.
func (*MaxSizeReply) GetMaxSize ¶
func (x *MaxSizeReply) GetMaxSize() int32
func (*MaxSizeReply) ProtoMessage ¶
func (*MaxSizeReply) ProtoMessage()
func (*MaxSizeReply) ProtoReflect ¶ added in v1.19.0
func (x *MaxSizeReply) ProtoReflect() protoreflect.Message
func (*MaxSizeReply) Reset ¶
func (x *MaxSizeReply) Reset()
func (*MaxSizeReply) String ¶
func (x *MaxSizeReply) String() string
type MinSizeReply ¶
type MinSizeReply struct { MinSize int32 `protobuf:"varint,1,opt,name=minSize,proto3" json:"minSize,omitempty"` // contains filtered or unexported fields }
func (*MinSizeReply) Descriptor
deprecated
func (*MinSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use MinSizeReply.ProtoReflect.Descriptor instead.
func (*MinSizeReply) GetMinSize ¶
func (x *MinSizeReply) GetMinSize() int32
func (*MinSizeReply) ProtoMessage ¶
func (*MinSizeReply) ProtoMessage()
func (*MinSizeReply) ProtoReflect ¶ added in v1.19.0
func (x *MinSizeReply) ProtoReflect() protoreflect.Message
func (*MinSizeReply) Reset ¶
func (x *MinSizeReply) Reset()
func (*MinSizeReply) String ¶
func (x *MinSizeReply) String() string
type NameReply ¶
type NameReply struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NameReply) Descriptor
deprecated
func (*NameReply) ProtoMessage ¶
func (*NameReply) ProtoMessage()
func (*NameReply) ProtoReflect ¶ added in v1.19.0
func (x *NameReply) ProtoReflect() protoreflect.Message
type NewNodeGroupReply ¶
type NewNodeGroupReply struct { // Types that are assignable to Response: // // *NewNodeGroupReply_Error // *NewNodeGroupReply_NodeGroup Response isNewNodeGroupReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*NewNodeGroupReply) Descriptor
deprecated
func (*NewNodeGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use NewNodeGroupReply.ProtoReflect.Descriptor instead.
func (*NewNodeGroupReply) GetError ¶
func (x *NewNodeGroupReply) GetError() *Error
func (*NewNodeGroupReply) GetNodeGroup ¶
func (x *NewNodeGroupReply) GetNodeGroup() *NodeGroup
func (*NewNodeGroupReply) GetResponse ¶
func (m *NewNodeGroupReply) GetResponse() isNewNodeGroupReply_Response
func (*NewNodeGroupReply) ProtoMessage ¶
func (*NewNodeGroupReply) ProtoMessage()
func (*NewNodeGroupReply) ProtoReflect ¶ added in v1.19.0
func (x *NewNodeGroupReply) ProtoReflect() protoreflect.Message
func (*NewNodeGroupReply) Reset ¶
func (x *NewNodeGroupReply) Reset()
func (*NewNodeGroupReply) String ¶
func (x *NewNodeGroupReply) String() string
type NewNodeGroupReply_Error ¶
type NewNodeGroupReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type NewNodeGroupReply_NodeGroup ¶
type NewNodeGroupReply_NodeGroup struct {
NodeGroup *NodeGroup `protobuf:"bytes,2,opt,name=nodeGroup,proto3,oneof"`
}
type NewNodeGroupRequest ¶
type NewNodeGroupRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` MachineType string `protobuf:"bytes,2,opt,name=machineType,proto3" json:"machineType,omitempty"` NodeGroupID string `protobuf:"bytes,3,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` MinNodeSize int32 `protobuf:"varint,4,opt,name=minNodeSize,proto3" json:"minNodeSize,omitempty"` MaxNodeSize int32 `protobuf:"varint,5,opt,name=maxNodeSize,proto3" json:"maxNodeSize,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ SystemLabels map[string]string `` /* 165-byte string literal not displayed */ Taints []*v1.Taint `protobuf:"bytes,8,rep,name=taints,proto3" json:"taints,omitempty"` ExtraResources map[string]string `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NewNodeGroupRequest) Descriptor
deprecated
func (*NewNodeGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewNodeGroupRequest.ProtoReflect.Descriptor instead.
func (*NewNodeGroupRequest) GetExtraResources ¶
func (x *NewNodeGroupRequest) GetExtraResources() map[string]string
func (*NewNodeGroupRequest) GetLabels ¶
func (x *NewNodeGroupRequest) GetLabels() map[string]string
func (*NewNodeGroupRequest) GetMachineType ¶
func (x *NewNodeGroupRequest) GetMachineType() string
func (*NewNodeGroupRequest) GetMaxNodeSize ¶
func (x *NewNodeGroupRequest) GetMaxNodeSize() int32
func (*NewNodeGroupRequest) GetMinNodeSize ¶
func (x *NewNodeGroupRequest) GetMinNodeSize() int32
func (*NewNodeGroupRequest) GetNodeGroupID ¶
func (x *NewNodeGroupRequest) GetNodeGroupID() string
func (*NewNodeGroupRequest) GetProviderID ¶
func (x *NewNodeGroupRequest) GetProviderID() string
func (*NewNodeGroupRequest) GetSystemLabels ¶
func (x *NewNodeGroupRequest) GetSystemLabels() map[string]string
func (*NewNodeGroupRequest) GetTaints ¶
func (x *NewNodeGroupRequest) GetTaints() []*v1.Taint
func (*NewNodeGroupRequest) ProtoMessage ¶
func (*NewNodeGroupRequest) ProtoMessage()
func (*NewNodeGroupRequest) ProtoReflect ¶ added in v1.19.0
func (x *NewNodeGroupRequest) ProtoReflect() protoreflect.Message
func (*NewNodeGroupRequest) Reset ¶
func (x *NewNodeGroupRequest) Reset()
func (*NewNodeGroupRequest) String ¶
func (x *NewNodeGroupRequest) String() string
type NodeGroup ¶
type NodeGroup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NodeGroup) Descriptor
deprecated
func (*NodeGroup) ProtoMessage ¶
func (*NodeGroup) ProtoMessage()
func (*NodeGroup) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroup) ProtoReflect() protoreflect.Message
type NodeGroupDef ¶
type NodeGroupDef struct { NodeGroupID string `protobuf:"bytes,1,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` MinSize int32 `protobuf:"varint,2,opt,name=minSize,proto3" json:"minSize,omitempty"` MaxSize int32 `protobuf:"varint,3,opt,name=maxSize,proto3" json:"maxSize,omitempty"` Provisionned bool `protobuf:"varint,4,opt,name=provisionned,proto3" json:"provisionned,omitempty"` IncludeExistingNode bool `protobuf:"varint,5,opt,name=includeExistingNode,proto3" json:"includeExistingNode,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NodeGroupDef) Descriptor
deprecated
func (*NodeGroupDef) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupDef.ProtoReflect.Descriptor instead.
func (*NodeGroupDef) GetIncludeExistingNode ¶
func (x *NodeGroupDef) GetIncludeExistingNode() bool
func (*NodeGroupDef) GetLabels ¶
func (x *NodeGroupDef) GetLabels() map[string]string
func (*NodeGroupDef) GetMaxSize ¶
func (x *NodeGroupDef) GetMaxSize() int32
func (*NodeGroupDef) GetMinSize ¶
func (x *NodeGroupDef) GetMinSize() int32
func (*NodeGroupDef) GetNodeGroupID ¶
func (x *NodeGroupDef) GetNodeGroupID() string
func (*NodeGroupDef) GetProvisionned ¶
func (x *NodeGroupDef) GetProvisionned() bool
func (*NodeGroupDef) ProtoMessage ¶
func (*NodeGroupDef) ProtoMessage()
func (*NodeGroupDef) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupDef) ProtoReflect() protoreflect.Message
func (*NodeGroupDef) Reset ¶
func (x *NodeGroupDef) Reset()
func (*NodeGroupDef) String ¶
func (x *NodeGroupDef) String() string
type NodeGroupForNodeReply ¶
type NodeGroupForNodeReply struct { // Types that are assignable to Response: // // *NodeGroupForNodeReply_Error // *NodeGroupForNodeReply_NodeGroup Response isNodeGroupForNodeReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*NodeGroupForNodeReply) Descriptor
deprecated
func (*NodeGroupForNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupForNodeReply.ProtoReflect.Descriptor instead.
func (*NodeGroupForNodeReply) GetError ¶
func (x *NodeGroupForNodeReply) GetError() *Error
func (*NodeGroupForNodeReply) GetNodeGroup ¶
func (x *NodeGroupForNodeReply) GetNodeGroup() *NodeGroup
func (*NodeGroupForNodeReply) GetResponse ¶
func (m *NodeGroupForNodeReply) GetResponse() isNodeGroupForNodeReply_Response
func (*NodeGroupForNodeReply) ProtoMessage ¶
func (*NodeGroupForNodeReply) ProtoMessage()
func (*NodeGroupForNodeReply) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupForNodeReply) ProtoReflect() protoreflect.Message
func (*NodeGroupForNodeReply) Reset ¶
func (x *NodeGroupForNodeReply) Reset()
func (*NodeGroupForNodeReply) String ¶
func (x *NodeGroupForNodeReply) String() string
type NodeGroupForNodeReply_Error ¶
type NodeGroupForNodeReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type NodeGroupForNodeReply_NodeGroup ¶
type NodeGroupForNodeReply_NodeGroup struct {
NodeGroup *NodeGroup `protobuf:"bytes,2,opt,name=nodeGroup,proto3,oneof"`
}
type NodeGroupForNodeRequest ¶
type NodeGroupForNodeRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*NodeGroupForNodeRequest) Descriptor
deprecated
func (*NodeGroupForNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupForNodeRequest.ProtoReflect.Descriptor instead.
func (*NodeGroupForNodeRequest) GetNode ¶
func (x *NodeGroupForNodeRequest) GetNode() string
func (*NodeGroupForNodeRequest) GetProviderID ¶
func (x *NodeGroupForNodeRequest) GetProviderID() string
func (*NodeGroupForNodeRequest) ProtoMessage ¶
func (*NodeGroupForNodeRequest) ProtoMessage()
func (*NodeGroupForNodeRequest) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupForNodeRequest) ProtoReflect() protoreflect.Message
func (*NodeGroupForNodeRequest) Reset ¶
func (x *NodeGroupForNodeRequest) Reset()
func (*NodeGroupForNodeRequest) String ¶
func (x *NodeGroupForNodeRequest) String() string
type NodeGroupServiceClient ¶
type NodeGroupServiceClient interface { MaxSize(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*MaxSizeReply, error) MinSize(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*MinSizeReply, error) TargetSize(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*TargetSizeReply, error) IncreaseSize(ctx context.Context, in *IncreaseSizeRequest, opts ...grpc.CallOption) (*IncreaseSizeReply, error) DeleteNodes(ctx context.Context, in *DeleteNodesRequest, opts ...grpc.CallOption) (*DeleteNodesReply, error) DecreaseTargetSize(ctx context.Context, in *DecreaseTargetSizeRequest, opts ...grpc.CallOption) (*DecreaseTargetSizeReply, error) Id(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*IdReply, error) Debug(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*DebugReply, error) Nodes(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*NodesReply, error) TemplateNodeInfo(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*TemplateNodeInfoReply, error) Exist(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*ExistReply, error) Create(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*CreateReply, error) Delete(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*DeleteReply, error) Autoprovisioned(ctx context.Context, in *NodeGroupServiceRequest, opts ...grpc.CallOption) (*AutoprovisionedReply, error) Belongs(ctx context.Context, in *BelongsRequest, opts ...grpc.CallOption) (*BelongsReply, error) GetOptions(ctx context.Context, in *GetOptionsRequest, opts ...grpc.CallOption) (*GetOptionsReply, error) }
NodeGroupServiceClient is the client API for NodeGroupService 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 NewNodeGroupServiceClient ¶
func NewNodeGroupServiceClient(cc grpc.ClientConnInterface) NodeGroupServiceClient
type NodeGroupServiceRequest ¶
type NodeGroupServiceRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` NodeGroupID string `protobuf:"bytes,2,opt,name=nodeGroupID,proto3" json:"nodeGroupID,omitempty"` // contains filtered or unexported fields }
func (*NodeGroupServiceRequest) Descriptor
deprecated
func (*NodeGroupServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupServiceRequest.ProtoReflect.Descriptor instead.
func (*NodeGroupServiceRequest) GetNodeGroupID ¶
func (x *NodeGroupServiceRequest) GetNodeGroupID() string
func (*NodeGroupServiceRequest) GetProviderID ¶
func (x *NodeGroupServiceRequest) GetProviderID() string
func (*NodeGroupServiceRequest) ProtoMessage ¶
func (*NodeGroupServiceRequest) ProtoMessage()
func (*NodeGroupServiceRequest) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupServiceRequest) ProtoReflect() protoreflect.Message
func (*NodeGroupServiceRequest) Reset ¶
func (x *NodeGroupServiceRequest) Reset()
func (*NodeGroupServiceRequest) String ¶
func (x *NodeGroupServiceRequest) String() string
type NodeGroupServiceServer ¶
type NodeGroupServiceServer interface { MaxSize(context.Context, *NodeGroupServiceRequest) (*MaxSizeReply, error) MinSize(context.Context, *NodeGroupServiceRequest) (*MinSizeReply, error) TargetSize(context.Context, *NodeGroupServiceRequest) (*TargetSizeReply, error) IncreaseSize(context.Context, *IncreaseSizeRequest) (*IncreaseSizeReply, error) DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesReply, error) DecreaseTargetSize(context.Context, *DecreaseTargetSizeRequest) (*DecreaseTargetSizeReply, error) Id(context.Context, *NodeGroupServiceRequest) (*IdReply, error) Debug(context.Context, *NodeGroupServiceRequest) (*DebugReply, error) Nodes(context.Context, *NodeGroupServiceRequest) (*NodesReply, error) TemplateNodeInfo(context.Context, *NodeGroupServiceRequest) (*TemplateNodeInfoReply, error) Exist(context.Context, *NodeGroupServiceRequest) (*ExistReply, error) Create(context.Context, *NodeGroupServiceRequest) (*CreateReply, error) Delete(context.Context, *NodeGroupServiceRequest) (*DeleteReply, error) Autoprovisioned(context.Context, *NodeGroupServiceRequest) (*AutoprovisionedReply, error) Belongs(context.Context, *BelongsRequest) (*BelongsReply, error) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsReply, error) // contains filtered or unexported methods }
NodeGroupServiceServer is the server API for NodeGroupService service. All implementations must embed UnimplementedNodeGroupServiceServer for forward compatibility
type NodeGroupes ¶
type NodeGroupes struct { Items []*NodeGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*NodeGroupes) Descriptor
deprecated
func (*NodeGroupes) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupes.ProtoReflect.Descriptor instead.
func (*NodeGroupes) GetItems ¶
func (x *NodeGroupes) GetItems() []*NodeGroup
func (*NodeGroupes) ProtoMessage ¶
func (*NodeGroupes) ProtoMessage()
func (*NodeGroupes) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupes) ProtoReflect() protoreflect.Message
func (*NodeGroupes) Reset ¶
func (x *NodeGroupes) Reset()
func (*NodeGroupes) String ¶
func (x *NodeGroupes) String() string
type NodeGroupsReply ¶
type NodeGroupsReply struct { NodeGroups []*NodeGroup `protobuf:"bytes,1,rep,name=nodeGroups,proto3" json:"nodeGroups,omitempty"` // contains filtered or unexported fields }
func (*NodeGroupsReply) Descriptor
deprecated
func (*NodeGroupsReply) Descriptor() ([]byte, []int)
Deprecated: Use NodeGroupsReply.ProtoReflect.Descriptor instead.
func (*NodeGroupsReply) GetNodeGroups ¶
func (x *NodeGroupsReply) GetNodeGroups() []*NodeGroup
func (*NodeGroupsReply) ProtoMessage ¶
func (*NodeGroupsReply) ProtoMessage()
func (*NodeGroupsReply) ProtoReflect ¶ added in v1.19.0
func (x *NodeGroupsReply) ProtoReflect() protoreflect.Message
func (*NodeGroupsReply) Reset ¶
func (x *NodeGroupsReply) Reset()
func (*NodeGroupsReply) String ¶
func (x *NodeGroupsReply) String() string
type NodeInfo ¶
type NodeInfo struct { Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Pods []string `protobuf:"bytes,2,rep,name=pods,proto3" json:"pods,omitempty"` UsedPorts *HostPortInfo `protobuf:"bytes,3,opt,name=usedPorts,proto3" json:"usedPorts,omitempty"` RequestedResource *Resource `protobuf:"bytes,4,opt,name=requestedResource,proto3" json:"requestedResource,omitempty"` NonzeroRequest *Resource `protobuf:"bytes,5,opt,name=nonzeroRequest,proto3" json:"nonzeroRequest,omitempty"` ImageStates map[string]*ImageStateSummary `` /* 163-byte string literal not displayed */ TransientInfo *TransientSchedulerInfo `protobuf:"bytes,7,opt,name=TransientInfo,proto3" json:"TransientInfo,omitempty"` Generation int64 `protobuf:"varint,8,opt,name=generation,proto3" json:"generation,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetGeneration ¶
func (*NodeInfo) GetImageStates ¶
func (x *NodeInfo) GetImageStates() map[string]*ImageStateSummary
func (*NodeInfo) GetNonzeroRequest ¶
func (*NodeInfo) GetRequestedResource ¶
func (*NodeInfo) GetTransientInfo ¶
func (x *NodeInfo) GetTransientInfo() *TransientSchedulerInfo
func (*NodeInfo) GetUsedPorts ¶
func (x *NodeInfo) GetUsedPorts() *HostPortInfo
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶ added in v1.19.0
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodePriceReply ¶
type NodePriceReply struct { // Types that are assignable to Response: // // *NodePriceReply_Error // *NodePriceReply_Price Response isNodePriceReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*NodePriceReply) Descriptor
deprecated
func (*NodePriceReply) Descriptor() ([]byte, []int)
Deprecated: Use NodePriceReply.ProtoReflect.Descriptor instead.
func (*NodePriceReply) GetError ¶
func (x *NodePriceReply) GetError() *Error
func (*NodePriceReply) GetPrice ¶
func (x *NodePriceReply) GetPrice() float64
func (*NodePriceReply) GetResponse ¶
func (m *NodePriceReply) GetResponse() isNodePriceReply_Response
func (*NodePriceReply) ProtoMessage ¶
func (*NodePriceReply) ProtoMessage()
func (*NodePriceReply) ProtoReflect ¶ added in v1.19.0
func (x *NodePriceReply) ProtoReflect() protoreflect.Message
func (*NodePriceReply) Reset ¶
func (x *NodePriceReply) Reset()
func (*NodePriceReply) String ¶
func (x *NodePriceReply) String() string
type NodePriceReply_Error ¶
type NodePriceReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type NodePriceReply_Price ¶
type NodePriceReply_Price struct {
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3,oneof"`
}
type NodePriceRequest ¶
type NodePriceRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` // contains filtered or unexported fields }
func (*NodePriceRequest) Descriptor
deprecated
func (*NodePriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodePriceRequest.ProtoReflect.Descriptor instead.
func (*NodePriceRequest) GetEndTime ¶
func (x *NodePriceRequest) GetEndTime() int64
func (*NodePriceRequest) GetNode ¶
func (x *NodePriceRequest) GetNode() string
func (*NodePriceRequest) GetProviderID ¶
func (x *NodePriceRequest) GetProviderID() string
func (*NodePriceRequest) GetStartTime ¶
func (x *NodePriceRequest) GetStartTime() int64
func (*NodePriceRequest) ProtoMessage ¶
func (*NodePriceRequest) ProtoMessage()
func (*NodePriceRequest) ProtoReflect ¶ added in v1.19.0
func (x *NodePriceRequest) ProtoReflect() protoreflect.Message
func (*NodePriceRequest) Reset ¶
func (x *NodePriceRequest) Reset()
func (*NodePriceRequest) String ¶
func (x *NodePriceRequest) String() string
type NodesReply ¶
type NodesReply struct { // Types that are assignable to Response: // // *NodesReply_Error // *NodesReply_Instances Response isNodesReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*NodesReply) Descriptor
deprecated
func (*NodesReply) Descriptor() ([]byte, []int)
Deprecated: Use NodesReply.ProtoReflect.Descriptor instead.
func (*NodesReply) GetError ¶
func (x *NodesReply) GetError() *Error
func (*NodesReply) GetInstances ¶
func (x *NodesReply) GetInstances() *Instances
func (*NodesReply) GetResponse ¶
func (m *NodesReply) GetResponse() isNodesReply_Response
func (*NodesReply) ProtoMessage ¶
func (*NodesReply) ProtoMessage()
func (*NodesReply) ProtoReflect ¶ added in v1.19.0
func (x *NodesReply) ProtoReflect() protoreflect.Message
func (*NodesReply) Reset ¶
func (x *NodesReply) Reset()
func (*NodesReply) String ¶
func (x *NodesReply) String() string
type NodesReply_Error ¶
type NodesReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type NodesReply_Instances ¶
type NodesReply_Instances struct {
Instances *Instances `protobuf:"bytes,2,opt,name=instances,proto3,oneof"`
}
type PodPriceReply ¶
type PodPriceReply struct { // Types that are assignable to Response: // // *PodPriceReply_Error // *PodPriceReply_Price Response isPodPriceReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*PodPriceReply) Descriptor
deprecated
func (*PodPriceReply) Descriptor() ([]byte, []int)
Deprecated: Use PodPriceReply.ProtoReflect.Descriptor instead.
func (*PodPriceReply) GetError ¶
func (x *PodPriceReply) GetError() *Error
func (*PodPriceReply) GetPrice ¶
func (x *PodPriceReply) GetPrice() float64
func (*PodPriceReply) GetResponse ¶
func (m *PodPriceReply) GetResponse() isPodPriceReply_Response
func (*PodPriceReply) ProtoMessage ¶
func (*PodPriceReply) ProtoMessage()
func (*PodPriceReply) ProtoReflect ¶ added in v1.19.0
func (x *PodPriceReply) ProtoReflect() protoreflect.Message
func (*PodPriceReply) Reset ¶
func (x *PodPriceReply) Reset()
func (*PodPriceReply) String ¶
func (x *PodPriceReply) String() string
type PodPriceReply_Error ¶
type PodPriceReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type PodPriceReply_Price ¶
type PodPriceReply_Price struct {
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3,oneof"`
}
type PodPriceRequest ¶
type PodPriceRequest struct { ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"` Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` // contains filtered or unexported fields }
func (*PodPriceRequest) Descriptor
deprecated
func (*PodPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodPriceRequest.ProtoReflect.Descriptor instead.
func (*PodPriceRequest) GetEndTime ¶
func (x *PodPriceRequest) GetEndTime() int64
func (*PodPriceRequest) GetPod ¶
func (x *PodPriceRequest) GetPod() string
func (*PodPriceRequest) GetProviderID ¶
func (x *PodPriceRequest) GetProviderID() string
func (*PodPriceRequest) GetStartTime ¶
func (x *PodPriceRequest) GetStartTime() int64
func (*PodPriceRequest) ProtoMessage ¶
func (*PodPriceRequest) ProtoMessage()
func (*PodPriceRequest) ProtoReflect ¶ added in v1.19.0
func (x *PodPriceRequest) ProtoReflect() protoreflect.Message
func (*PodPriceRequest) Reset ¶
func (x *PodPriceRequest) Reset()
func (*PodPriceRequest) String ¶
func (x *PodPriceRequest) String() string
type PricingModel ¶
type PricingModel struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PricingModel) Descriptor
deprecated
func (*PricingModel) Descriptor() ([]byte, []int)
Deprecated: Use PricingModel.ProtoReflect.Descriptor instead.
func (*PricingModel) GetId ¶
func (x *PricingModel) GetId() string
func (*PricingModel) ProtoMessage ¶
func (*PricingModel) ProtoMessage()
func (*PricingModel) ProtoReflect ¶ added in v1.19.0
func (x *PricingModel) ProtoReflect() protoreflect.Message
func (*PricingModel) Reset ¶
func (x *PricingModel) Reset()
func (*PricingModel) String ¶
func (x *PricingModel) String() string
type PricingModelReply ¶
type PricingModelReply struct { // Types that are assignable to Response: // // *PricingModelReply_Error // *PricingModelReply_PriceModel Response isPricingModelReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*PricingModelReply) Descriptor
deprecated
func (*PricingModelReply) Descriptor() ([]byte, []int)
Deprecated: Use PricingModelReply.ProtoReflect.Descriptor instead.
func (*PricingModelReply) GetError ¶
func (x *PricingModelReply) GetError() *Error
func (*PricingModelReply) GetPriceModel ¶
func (x *PricingModelReply) GetPriceModel() *PricingModel
func (*PricingModelReply) GetResponse ¶
func (m *PricingModelReply) GetResponse() isPricingModelReply_Response
func (*PricingModelReply) ProtoMessage ¶
func (*PricingModelReply) ProtoMessage()
func (*PricingModelReply) ProtoReflect ¶ added in v1.19.0
func (x *PricingModelReply) ProtoReflect() protoreflect.Message
func (*PricingModelReply) Reset ¶
func (x *PricingModelReply) Reset()
func (*PricingModelReply) String ¶
func (x *PricingModelReply) String() string
type PricingModelReply_Error ¶
type PricingModelReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type PricingModelReply_PriceModel ¶
type PricingModelReply_PriceModel struct {
PriceModel *PricingModel `protobuf:"bytes,2,opt,name=priceModel,proto3,oneof"`
}
type PricingModelServiceClient ¶
type PricingModelServiceClient interface { NodePrice(ctx context.Context, in *NodePriceRequest, opts ...grpc.CallOption) (*NodePriceReply, error) PodPrice(ctx context.Context, in *PodPriceRequest, opts ...grpc.CallOption) (*PodPriceReply, error) }
PricingModelServiceClient is the client API for PricingModelService 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 NewPricingModelServiceClient ¶
func NewPricingModelServiceClient(cc grpc.ClientConnInterface) PricingModelServiceClient
type PricingModelServiceServer ¶
type PricingModelServiceServer interface { NodePrice(context.Context, *NodePriceRequest) (*NodePriceReply, error) PodPrice(context.Context, *PodPriceRequest) (*PodPriceReply, error) // contains filtered or unexported methods }
PricingModelServiceServer is the server API for PricingModelService service. All implementations must embed UnimplementedPricingModelServiceServer for forward compatibility
type ProtocolPort ¶
type ProtocolPort struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*ProtocolPort) Descriptor
deprecated
func (*ProtocolPort) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolPort.ProtoReflect.Descriptor instead.
func (*ProtocolPort) GetPort ¶
func (x *ProtocolPort) GetPort() int32
func (*ProtocolPort) GetProtocol ¶
func (x *ProtocolPort) GetProtocol() string
func (*ProtocolPort) ProtoMessage ¶
func (*ProtocolPort) ProtoMessage()
func (*ProtocolPort) ProtoReflect ¶ added in v1.19.0
func (x *ProtocolPort) ProtoReflect() protoreflect.Message
func (*ProtocolPort) Reset ¶
func (x *ProtocolPort) Reset()
func (*ProtocolPort) String ¶
func (x *ProtocolPort) String() string
type RefreshReply ¶
type RefreshReply struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*RefreshReply) Descriptor
deprecated
func (*RefreshReply) Descriptor() ([]byte, []int)
Deprecated: Use RefreshReply.ProtoReflect.Descriptor instead.
func (*RefreshReply) GetError ¶
func (x *RefreshReply) GetError() *Error
func (*RefreshReply) ProtoMessage ¶
func (*RefreshReply) ProtoMessage()
func (*RefreshReply) ProtoReflect ¶ added in v1.19.0
func (x *RefreshReply) ProtoReflect() protoreflect.Message
func (*RefreshReply) Reset ¶
func (x *RefreshReply) Reset()
func (*RefreshReply) String ¶
func (x *RefreshReply) String() string
type Resource ¶
type Resource struct { MilliCPU int64 `protobuf:"varint,1,opt,name=milliCPU,proto3" json:"milliCPU,omitempty"` Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` EphemeralStorage int64 `protobuf:"varint,3,opt,name=ephemeralStorage,proto3" json:"ephemeralStorage,omitempty"` // We store allowedPodNumber (which is Node.Status.Allocatable.Pods().Value()) // explicitly as int, to avoid conversions and improve performance. AllowedPodNumber int32 `protobuf:"varint,4,opt,name=allowedPodNumber,proto3" json:"allowedPodNumber,omitempty"` // ScalarResources ScalarResources map[string]int64 `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetAllowedPodNumber ¶
func (*Resource) GetEphemeralStorage ¶
func (*Resource) GetMilliCPU ¶
func (*Resource) GetScalarResources ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v1.19.0
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceLimiter ¶
type ResourceLimiter struct { MinLimits map[string]int64 `` /* 160-byte string literal not displayed */ MaxLimits map[string]int64 `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResourceLimiter) Descriptor
deprecated
func (*ResourceLimiter) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimiter.ProtoReflect.Descriptor instead.
func (*ResourceLimiter) GetMaxLimits ¶
func (x *ResourceLimiter) GetMaxLimits() map[string]int64
func (*ResourceLimiter) GetMinLimits ¶
func (x *ResourceLimiter) GetMinLimits() map[string]int64
func (*ResourceLimiter) ProtoMessage ¶
func (*ResourceLimiter) ProtoMessage()
func (*ResourceLimiter) ProtoReflect ¶ added in v1.19.0
func (x *ResourceLimiter) ProtoReflect() protoreflect.Message
func (*ResourceLimiter) Reset ¶
func (x *ResourceLimiter) Reset()
func (*ResourceLimiter) String ¶
func (x *ResourceLimiter) String() string
type ResourceLimiterReply ¶
type ResourceLimiterReply struct { // Types that are assignable to Response: // // *ResourceLimiterReply_Error // *ResourceLimiterReply_ResourceLimiter Response isResourceLimiterReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ResourceLimiterReply) Descriptor
deprecated
func (*ResourceLimiterReply) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimiterReply.ProtoReflect.Descriptor instead.
func (*ResourceLimiterReply) GetError ¶
func (x *ResourceLimiterReply) GetError() *Error
func (*ResourceLimiterReply) GetResourceLimiter ¶
func (x *ResourceLimiterReply) GetResourceLimiter() *ResourceLimiter
func (*ResourceLimiterReply) GetResponse ¶
func (m *ResourceLimiterReply) GetResponse() isResourceLimiterReply_Response
func (*ResourceLimiterReply) ProtoMessage ¶
func (*ResourceLimiterReply) ProtoMessage()
func (*ResourceLimiterReply) ProtoReflect ¶ added in v1.19.0
func (x *ResourceLimiterReply) ProtoReflect() protoreflect.Message
func (*ResourceLimiterReply) Reset ¶
func (x *ResourceLimiterReply) Reset()
func (*ResourceLimiterReply) String ¶
func (x *ResourceLimiterReply) String() string
type ResourceLimiterReply_Error ¶
type ResourceLimiterReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ResourceLimiterReply_ResourceLimiter ¶
type ResourceLimiterReply_ResourceLimiter struct {
ResourceLimiter *ResourceLimiter `protobuf:"bytes,2,opt,name=resourceLimiter,proto3,oneof"`
}
type TargetSizeReply ¶
type TargetSizeReply struct { // Types that are assignable to Response: // // *TargetSizeReply_Error // *TargetSizeReply_TargetSize Response isTargetSizeReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*TargetSizeReply) Descriptor
deprecated
func (*TargetSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use TargetSizeReply.ProtoReflect.Descriptor instead.
func (*TargetSizeReply) GetError ¶
func (x *TargetSizeReply) GetError() *Error
func (*TargetSizeReply) GetResponse ¶
func (m *TargetSizeReply) GetResponse() isTargetSizeReply_Response
func (*TargetSizeReply) GetTargetSize ¶
func (x *TargetSizeReply) GetTargetSize() int32
func (*TargetSizeReply) ProtoMessage ¶
func (*TargetSizeReply) ProtoMessage()
func (*TargetSizeReply) ProtoReflect ¶ added in v1.19.0
func (x *TargetSizeReply) ProtoReflect() protoreflect.Message
func (*TargetSizeReply) Reset ¶
func (x *TargetSizeReply) Reset()
func (*TargetSizeReply) String ¶
func (x *TargetSizeReply) String() string
type TargetSizeReply_Error ¶
type TargetSizeReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type TargetSizeReply_TargetSize ¶
type TargetSizeReply_TargetSize struct {
TargetSize int32 `protobuf:"varint,2,opt,name=targetSize,proto3,oneof"`
}
type TemplateNodeInfoReply ¶
type TemplateNodeInfoReply struct { // Types that are assignable to Response: // // *TemplateNodeInfoReply_Error // *TemplateNodeInfoReply_NodeInfo Response isTemplateNodeInfoReply_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*TemplateNodeInfoReply) Descriptor
deprecated
func (*TemplateNodeInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use TemplateNodeInfoReply.ProtoReflect.Descriptor instead.
func (*TemplateNodeInfoReply) GetError ¶
func (x *TemplateNodeInfoReply) GetError() *Error
func (*TemplateNodeInfoReply) GetNodeInfo ¶
func (x *TemplateNodeInfoReply) GetNodeInfo() *NodeInfo
func (*TemplateNodeInfoReply) GetResponse ¶
func (m *TemplateNodeInfoReply) GetResponse() isTemplateNodeInfoReply_Response
func (*TemplateNodeInfoReply) ProtoMessage ¶
func (*TemplateNodeInfoReply) ProtoMessage()
func (*TemplateNodeInfoReply) ProtoReflect ¶ added in v1.19.0
func (x *TemplateNodeInfoReply) ProtoReflect() protoreflect.Message
func (*TemplateNodeInfoReply) Reset ¶
func (x *TemplateNodeInfoReply) Reset()
func (*TemplateNodeInfoReply) String ¶
func (x *TemplateNodeInfoReply) String() string
type TemplateNodeInfoReply_Error ¶
type TemplateNodeInfoReply_Error struct {
Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type TemplateNodeInfoReply_NodeInfo ¶
type TemplateNodeInfoReply_NodeInfo struct {
NodeInfo *NodeInfo `protobuf:"bytes,2,opt,name=nodeInfo,proto3,oneof"`
}
type TransientSchedulerInfo ¶
type TransientSchedulerInfo struct { AllocatableVolumesCount int32 `protobuf:"varint,1,opt,name=allocatableVolumesCount,proto3" json:"allocatableVolumesCount,omitempty"` RequestedVolumes int32 `protobuf:"varint,2,opt,name=requestedVolumes,proto3" json:"requestedVolumes,omitempty"` // contains filtered or unexported fields }
func (*TransientSchedulerInfo) Descriptor
deprecated
func (*TransientSchedulerInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransientSchedulerInfo.ProtoReflect.Descriptor instead.
func (*TransientSchedulerInfo) GetAllocatableVolumesCount ¶
func (x *TransientSchedulerInfo) GetAllocatableVolumesCount() int32
func (*TransientSchedulerInfo) GetRequestedVolumes ¶
func (x *TransientSchedulerInfo) GetRequestedVolumes() int32
func (*TransientSchedulerInfo) ProtoMessage ¶
func (*TransientSchedulerInfo) ProtoMessage()
func (*TransientSchedulerInfo) ProtoReflect ¶ added in v1.19.0
func (x *TransientSchedulerInfo) ProtoReflect() protoreflect.Message
func (*TransientSchedulerInfo) Reset ¶
func (x *TransientSchedulerInfo) Reset()
func (*TransientSchedulerInfo) String ¶
func (x *TransientSchedulerInfo) String() string
type UnimplementedCloudProviderServiceServer ¶ added in v1.17.5
type UnimplementedCloudProviderServiceServer struct { }
UnimplementedCloudProviderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCloudProviderServiceServer) Cleanup ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) Cleanup(context.Context, *CloudProviderServiceRequest) (*CleanupReply, error)
func (UnimplementedCloudProviderServiceServer) Connect ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) Connect(context.Context, *ConnectRequest) (*ConnectReply, error)
func (UnimplementedCloudProviderServiceServer) GPULabel ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) GPULabel(context.Context, *CloudProviderServiceRequest) (*GPULabelReply, error)
func (UnimplementedCloudProviderServiceServer) GetAvailableGPUTypes ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) GetAvailableGPUTypes(context.Context, *CloudProviderServiceRequest) (*GetAvailableGPUTypesReply, error)
func (UnimplementedCloudProviderServiceServer) GetAvailableMachineTypes ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) GetAvailableMachineTypes(context.Context, *CloudProviderServiceRequest) (*AvailableMachineTypesReply, error)
func (UnimplementedCloudProviderServiceServer) GetResourceLimiter ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) GetResourceLimiter(context.Context, *CloudProviderServiceRequest) (*ResourceLimiterReply, error)
func (UnimplementedCloudProviderServiceServer) HasInstance ¶ added in v1.26.0
func (UnimplementedCloudProviderServiceServer) HasInstance(context.Context, *HasInstanceRequest) (*HasInstanceReply, error)
func (UnimplementedCloudProviderServiceServer) Name ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) Name(context.Context, *CloudProviderServiceRequest) (*NameReply, error)
func (UnimplementedCloudProviderServiceServer) NewNodeGroup ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) NewNodeGroup(context.Context, *NewNodeGroupRequest) (*NewNodeGroupReply, error)
func (UnimplementedCloudProviderServiceServer) NodeGroupForNode ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) NodeGroupForNode(context.Context, *NodeGroupForNodeRequest) (*NodeGroupForNodeReply, error)
func (UnimplementedCloudProviderServiceServer) NodeGroups ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) NodeGroups(context.Context, *CloudProviderServiceRequest) (*NodeGroupsReply, error)
func (UnimplementedCloudProviderServiceServer) Pricing ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) Pricing(context.Context, *CloudProviderServiceRequest) (*PricingModelReply, error)
func (UnimplementedCloudProviderServiceServer) Refresh ¶ added in v1.17.5
func (UnimplementedCloudProviderServiceServer) Refresh(context.Context, *CloudProviderServiceRequest) (*RefreshReply, error)
type UnimplementedNodeGroupServiceServer ¶ added in v1.17.5
type UnimplementedNodeGroupServiceServer struct { }
UnimplementedNodeGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeGroupServiceServer) Autoprovisioned ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Autoprovisioned(context.Context, *NodeGroupServiceRequest) (*AutoprovisionedReply, error)
func (UnimplementedNodeGroupServiceServer) Belongs ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Belongs(context.Context, *BelongsRequest) (*BelongsReply, error)
func (UnimplementedNodeGroupServiceServer) Create ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Create(context.Context, *NodeGroupServiceRequest) (*CreateReply, error)
func (UnimplementedNodeGroupServiceServer) Debug ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Debug(context.Context, *NodeGroupServiceRequest) (*DebugReply, error)
func (UnimplementedNodeGroupServiceServer) DecreaseTargetSize ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) DecreaseTargetSize(context.Context, *DecreaseTargetSizeRequest) (*DecreaseTargetSizeReply, error)
func (UnimplementedNodeGroupServiceServer) Delete ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Delete(context.Context, *NodeGroupServiceRequest) (*DeleteReply, error)
func (UnimplementedNodeGroupServiceServer) DeleteNodes ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesReply, error)
func (UnimplementedNodeGroupServiceServer) Exist ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Exist(context.Context, *NodeGroupServiceRequest) (*ExistReply, error)
func (UnimplementedNodeGroupServiceServer) GetOptions ¶ added in v1.25.6
func (UnimplementedNodeGroupServiceServer) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsReply, error)
func (UnimplementedNodeGroupServiceServer) Id ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Id(context.Context, *NodeGroupServiceRequest) (*IdReply, error)
func (UnimplementedNodeGroupServiceServer) IncreaseSize ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) IncreaseSize(context.Context, *IncreaseSizeRequest) (*IncreaseSizeReply, error)
func (UnimplementedNodeGroupServiceServer) MaxSize ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) MaxSize(context.Context, *NodeGroupServiceRequest) (*MaxSizeReply, error)
func (UnimplementedNodeGroupServiceServer) MinSize ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) MinSize(context.Context, *NodeGroupServiceRequest) (*MinSizeReply, error)
func (UnimplementedNodeGroupServiceServer) Nodes ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) Nodes(context.Context, *NodeGroupServiceRequest) (*NodesReply, error)
func (UnimplementedNodeGroupServiceServer) TargetSize ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) TargetSize(context.Context, *NodeGroupServiceRequest) (*TargetSizeReply, error)
func (UnimplementedNodeGroupServiceServer) TemplateNodeInfo ¶ added in v1.17.5
func (UnimplementedNodeGroupServiceServer) TemplateNodeInfo(context.Context, *NodeGroupServiceRequest) (*TemplateNodeInfoReply, error)
type UnimplementedPricingModelServiceServer ¶ added in v1.17.5
type UnimplementedPricingModelServiceServer struct { }
UnimplementedPricingModelServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPricingModelServiceServer) NodePrice ¶ added in v1.17.5
func (UnimplementedPricingModelServiceServer) NodePrice(context.Context, *NodePriceRequest) (*NodePriceReply, error)
func (UnimplementedPricingModelServiceServer) PodPrice ¶ added in v1.17.5
func (UnimplementedPricingModelServiceServer) PodPrice(context.Context, *PodPriceRequest) (*PodPriceReply, error)
type UnsafeCloudProviderServiceServer ¶ added in v1.25.6
type UnsafeCloudProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCloudProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudProviderServiceServer will result in compilation errors.
type UnsafeNodeGroupServiceServer ¶ added in v1.25.6
type UnsafeNodeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeGroupServiceServer will result in compilation errors.
type UnsafePricingModelServiceServer ¶ added in v1.25.6
type UnsafePricingModelServiceServer interface {
// contains filtered or unexported methods
}
UnsafePricingModelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PricingModelServiceServer will result in compilation errors.