externalgrpc

package
v1.27.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstanceStatus_InstanceState_name = map[int32]string{
		0: "unspecified",
		1: "instanceRunning",
		2: "instanceCreating",
		3: "instanceDeleting",
	}
	InstanceStatus_InstanceState_value = map[string]int32{
		"unspecified":      0,
		"instanceRunning":  1,
		"instanceCreating": 2,
		"instanceDeleting": 3,
	}
)

Enum value maps for InstanceStatus_InstanceState.

View Source
var CloudProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clusterautoscaler.cloudprovider.v1.externalgrpc.CloudProvider",
	HandlerType: (*CloudProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NodeGroups",
			Handler:    _CloudProvider_NodeGroups_Handler,
		},
		{
			MethodName: "NodeGroupForNode",
			Handler:    _CloudProvider_NodeGroupForNode_Handler,
		},
		{
			MethodName: "PricingNodePrice",
			Handler:    _CloudProvider_PricingNodePrice_Handler,
		},
		{
			MethodName: "PricingPodPrice",
			Handler:    _CloudProvider_PricingPodPrice_Handler,
		},
		{
			MethodName: "GPULabel",
			Handler:    _CloudProvider_GPULabel_Handler,
		},
		{
			MethodName: "GetAvailableGPUTypes",
			Handler:    _CloudProvider_GetAvailableGPUTypes_Handler,
		},
		{
			MethodName: "Cleanup",
			Handler:    _CloudProvider_Cleanup_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _CloudProvider_Refresh_Handler,
		},
		{
			MethodName: "NodeGroupTargetSize",
			Handler:    _CloudProvider_NodeGroupTargetSize_Handler,
		},
		{
			MethodName: "NodeGroupIncreaseSize",
			Handler:    _CloudProvider_NodeGroupIncreaseSize_Handler,
		},
		{
			MethodName: "NodeGroupDeleteNodes",
			Handler:    _CloudProvider_NodeGroupDeleteNodes_Handler,
		},
		{
			MethodName: "NodeGroupDecreaseTargetSize",
			Handler:    _CloudProvider_NodeGroupDecreaseTargetSize_Handler,
		},
		{
			MethodName: "NodeGroupNodes",
			Handler:    _CloudProvider_NodeGroupNodes_Handler,
		},
		{
			MethodName: "NodeGroupTemplateNodeInfo",
			Handler:    _CloudProvider_NodeGroupTemplateNodeInfo_Handler,
		},
		{
			MethodName: "NodeGroupGetOptions",
			Handler:    _CloudProvider_NodeGroupGetOptions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudprovider/externalgrpc/protos/externalgrpc.proto",
}

CloudProvider_ServiceDesc is the grpc.ServiceDesc for CloudProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_cloudprovider_externalgrpc_protos_externalgrpc_proto protoreflect.FileDescriptor

Functions

func RegisterCloudProviderServer

func RegisterCloudProviderServer(s grpc.ServiceRegistrar, srv CloudProviderServer)

Types

type CleanupRequest

type CleanupRequest struct {
	// contains filtered or unexported fields
}

func (*CleanupRequest) Descriptor deprecated

func (*CleanupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead.

func (*CleanupRequest) ProtoMessage

func (*CleanupRequest) ProtoMessage()

func (*CleanupRequest) ProtoReflect

func (x *CleanupRequest) ProtoReflect() protoreflect.Message

func (*CleanupRequest) Reset

func (x *CleanupRequest) Reset()

func (*CleanupRequest) String

func (x *CleanupRequest) String() string

type CleanupResponse

type CleanupResponse struct {
	// contains filtered or unexported fields
}

func (*CleanupResponse) Descriptor deprecated

func (*CleanupResponse) Descriptor() ([]byte, []int)

Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead.

func (*CleanupResponse) ProtoMessage

func (*CleanupResponse) ProtoMessage()

func (*CleanupResponse) ProtoReflect

func (x *CleanupResponse) ProtoReflect() protoreflect.Message

func (*CleanupResponse) Reset

func (x *CleanupResponse) Reset()

func (*CleanupResponse) String

func (x *CleanupResponse) String() string

type CloudProviderClient

type CloudProviderClient interface {
	// NodeGroups returns all node groups configured for this cloud provider.
	NodeGroups(ctx context.Context, in *NodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupsResponse, error)
	// NodeGroupForNode returns the node group for the given node.
	// The node group id is an empty string if the node should not
	// be processed by cluster autoscaler.
	NodeGroupForNode(ctx context.Context, in *NodeGroupForNodeRequest, opts ...grpc.CallOption) (*NodeGroupForNodeResponse, error)
	// PricingNodePrice returns a theoretical minimum price of running a node for
	// a given period of time on a perfectly matching machine.
	// Implementation optional.
	PricingNodePrice(ctx context.Context, in *PricingNodePriceRequest, opts ...grpc.CallOption) (*PricingNodePriceResponse, error)
	// PricingPodPrice returns a theoretical minimum price of running a pod for a given
	// period of time on a perfectly matching machine.
	// Implementation optional.
	PricingPodPrice(ctx context.Context, in *PricingPodPriceRequest, opts ...grpc.CallOption) (*PricingPodPriceResponse, error)
	// GPULabel returns the label added to nodes with GPU resource.
	GPULabel(ctx context.Context, in *GPULabelRequest, opts ...grpc.CallOption) (*GPULabelResponse, error)
	// GetAvailableGPUTypes return all available GPU types cloud provider supports.
	GetAvailableGPUTypes(ctx context.Context, in *GetAvailableGPUTypesRequest, opts ...grpc.CallOption) (*GetAvailableGPUTypesResponse, error)
	// Cleanup cleans up open resources before the cloud provider is destroyed, i.e. go routines etc.
	Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error)
	// Refresh is called before every main loop and can be used to dynamically update cloud provider state.
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error)
	// NodeGroupTargetSize returns the current target size of the node group. It is possible
	// that the number of nodes in Kubernetes is different at the moment but should be equal
	// to the size of a node group once everything stabilizes (new nodes finish startup and
	// registration or removed nodes are deleted completely).
	NodeGroupTargetSize(ctx context.Context, in *NodeGroupTargetSizeRequest, opts ...grpc.CallOption) (*NodeGroupTargetSizeResponse, error)
	// NodeGroupIncreaseSize increases the size of the node group. To delete a node you need
	// to explicitly name it and use NodeGroupDeleteNodes. This function should wait until
	// node group size is updated.
	NodeGroupIncreaseSize(ctx context.Context, in *NodeGroupIncreaseSizeRequest, opts ...grpc.CallOption) (*NodeGroupIncreaseSizeResponse, error)
	// NodeGroupDeleteNodes deletes nodes from this node group (and also decreasing the size
	// of the node group with that). Error is returned either on failure or if the given node
	// doesn't belong to this node group. This function should wait until node group size is updated.
	NodeGroupDeleteNodes(ctx context.Context, in *NodeGroupDeleteNodesRequest, opts ...grpc.CallOption) (*NodeGroupDeleteNodesResponse, error)
	// NodeGroupDecreaseTargetSize decreases the target size of the node group. This function
	// doesn't permit to delete any existing node and can be used only to reduce the request
	// for new nodes that have not been yet fulfilled. Delta should be negative. It is assumed
	// that cloud provider will not delete the existing nodes if the size when there is an option
	// to just decrease the target.
	NodeGroupDecreaseTargetSize(ctx context.Context, in *NodeGroupDecreaseTargetSizeRequest, opts ...grpc.CallOption) (*NodeGroupDecreaseTargetSizeResponse, error)
	// NodeGroupNodes returns a list of all nodes that belong to this node group.
	NodeGroupNodes(ctx context.Context, in *NodeGroupNodesRequest, opts ...grpc.CallOption) (*NodeGroupNodesResponse, error)
	// NodeGroupTemplateNodeInfo returns a structure of an empty (as if just started) node,
	// with all of the labels, capacity and allocatable information. This will be used in
	// scale-up simulations to predict what would a new node look like if a node group was expanded.
	// Implementation optional.
	NodeGroupTemplateNodeInfo(ctx context.Context, in *NodeGroupTemplateNodeInfoRequest, opts ...grpc.CallOption) (*NodeGroupTemplateNodeInfoResponse, error)
	// GetOptions returns NodeGroupAutoscalingOptions that should be used for this particular
	// NodeGroup. Returning a grpc error will result in using default options.
	// Implementation optional.
	NodeGroupGetOptions(ctx context.Context, in *NodeGroupAutoscalingOptionsRequest, opts ...grpc.CallOption) (*NodeGroupAutoscalingOptionsResponse, error)
}

CloudProviderClient is the client API for CloudProvider 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.

type CloudProviderServer

type CloudProviderServer interface {
	// NodeGroups returns all node groups configured for this cloud provider.
	NodeGroups(context.Context, *NodeGroupsRequest) (*NodeGroupsResponse, error)
	// NodeGroupForNode returns the node group for the given node.
	// The node group id is an empty string if the node should not
	// be processed by cluster autoscaler.
	NodeGroupForNode(context.Context, *NodeGroupForNodeRequest) (*NodeGroupForNodeResponse, error)
	// PricingNodePrice returns a theoretical minimum price of running a node for
	// a given period of time on a perfectly matching machine.
	// Implementation optional.
	PricingNodePrice(context.Context, *PricingNodePriceRequest) (*PricingNodePriceResponse, error)
	// PricingPodPrice returns a theoretical minimum price of running a pod for a given
	// period of time on a perfectly matching machine.
	// Implementation optional.
	PricingPodPrice(context.Context, *PricingPodPriceRequest) (*PricingPodPriceResponse, error)
	// GPULabel returns the label added to nodes with GPU resource.
	GPULabel(context.Context, *GPULabelRequest) (*GPULabelResponse, error)
	// GetAvailableGPUTypes return all available GPU types cloud provider supports.
	GetAvailableGPUTypes(context.Context, *GetAvailableGPUTypesRequest) (*GetAvailableGPUTypesResponse, error)
	// Cleanup cleans up open resources before the cloud provider is destroyed, i.e. go routines etc.
	Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error)
	// Refresh is called before every main loop and can be used to dynamically update cloud provider state.
	Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
	// NodeGroupTargetSize returns the current target size of the node group. It is possible
	// that the number of nodes in Kubernetes is different at the moment but should be equal
	// to the size of a node group once everything stabilizes (new nodes finish startup and
	// registration or removed nodes are deleted completely).
	NodeGroupTargetSize(context.Context, *NodeGroupTargetSizeRequest) (*NodeGroupTargetSizeResponse, error)
	// NodeGroupIncreaseSize increases the size of the node group. To delete a node you need
	// to explicitly name it and use NodeGroupDeleteNodes. This function should wait until
	// node group size is updated.
	NodeGroupIncreaseSize(context.Context, *NodeGroupIncreaseSizeRequest) (*NodeGroupIncreaseSizeResponse, error)
	// NodeGroupDeleteNodes deletes nodes from this node group (and also decreasing the size
	// of the node group with that). Error is returned either on failure or if the given node
	// doesn't belong to this node group. This function should wait until node group size is updated.
	NodeGroupDeleteNodes(context.Context, *NodeGroupDeleteNodesRequest) (*NodeGroupDeleteNodesResponse, error)
	// NodeGroupDecreaseTargetSize decreases the target size of the node group. This function
	// doesn't permit to delete any existing node and can be used only to reduce the request
	// for new nodes that have not been yet fulfilled. Delta should be negative. It is assumed
	// that cloud provider will not delete the existing nodes if the size when there is an option
	// to just decrease the target.
	NodeGroupDecreaseTargetSize(context.Context, *NodeGroupDecreaseTargetSizeRequest) (*NodeGroupDecreaseTargetSizeResponse, error)
	// NodeGroupNodes returns a list of all nodes that belong to this node group.
	NodeGroupNodes(context.Context, *NodeGroupNodesRequest) (*NodeGroupNodesResponse, error)
	// NodeGroupTemplateNodeInfo returns a structure of an empty (as if just started) node,
	// with all of the labels, capacity and allocatable information. This will be used in
	// scale-up simulations to predict what would a new node look like if a node group was expanded.
	// Implementation optional.
	NodeGroupTemplateNodeInfo(context.Context, *NodeGroupTemplateNodeInfoRequest) (*NodeGroupTemplateNodeInfoResponse, error)
	// GetOptions returns NodeGroupAutoscalingOptions that should be used for this particular
	// NodeGroup. Returning a grpc error will result in using default options.
	// Implementation optional.
	NodeGroupGetOptions(context.Context, *NodeGroupAutoscalingOptionsRequest) (*NodeGroupAutoscalingOptionsResponse, error)
	// contains filtered or unexported methods
}

CloudProviderServer is the server API for CloudProvider service. All implementations must embed UnimplementedCloudProviderServer for forward compatibility

type ExternalGrpcNode

type ExternalGrpcNode struct {

	// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>.
	ProviderID string `protobuf:"bytes,1,opt,name=providerID,proto3" json:"providerID,omitempty"`
	// Name of the node assigned by the cloud provider.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// labels is a map of {key,value} pairs with the node's labels.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// If specified, the node's annotations.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExternalGrpcNode) Descriptor deprecated

func (*ExternalGrpcNode) Descriptor() ([]byte, []int)

Deprecated: Use ExternalGrpcNode.ProtoReflect.Descriptor instead.

func (*ExternalGrpcNode) GetAnnotations

func (x *ExternalGrpcNode) GetAnnotations() map[string]string

func (*ExternalGrpcNode) GetLabels

func (x *ExternalGrpcNode) GetLabels() map[string]string

func (*ExternalGrpcNode) GetName

func (x *ExternalGrpcNode) GetName() string

func (*ExternalGrpcNode) GetProviderID

func (x *ExternalGrpcNode) GetProviderID() string

func (*ExternalGrpcNode) ProtoMessage

func (*ExternalGrpcNode) ProtoMessage()

func (*ExternalGrpcNode) ProtoReflect

func (x *ExternalGrpcNode) ProtoReflect() protoreflect.Message

func (*ExternalGrpcNode) Reset

func (x *ExternalGrpcNode) Reset()

func (*ExternalGrpcNode) String

func (x *ExternalGrpcNode) String() string

type GPULabelRequest

type GPULabelRequest struct {
	// contains filtered or unexported fields
}

func (*GPULabelRequest) Descriptor deprecated

func (*GPULabelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GPULabelRequest.ProtoReflect.Descriptor instead.

func (*GPULabelRequest) ProtoMessage

func (*GPULabelRequest) ProtoMessage()

func (*GPULabelRequest) ProtoReflect

func (x *GPULabelRequest) ProtoReflect() protoreflect.Message

func (*GPULabelRequest) Reset

func (x *GPULabelRequest) Reset()

func (*GPULabelRequest) String

func (x *GPULabelRequest) String() string

type GPULabelResponse

type GPULabelResponse struct {

	// Label added to nodes with a GPU resource.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*GPULabelResponse) Descriptor deprecated

func (*GPULabelResponse) Descriptor() ([]byte, []int)

Deprecated: Use GPULabelResponse.ProtoReflect.Descriptor instead.

func (*GPULabelResponse) GetLabel

func (x *GPULabelResponse) GetLabel() string

func (*GPULabelResponse) ProtoMessage

func (*GPULabelResponse) ProtoMessage()

func (*GPULabelResponse) ProtoReflect

func (x *GPULabelResponse) ProtoReflect() protoreflect.Message

func (*GPULabelResponse) Reset

func (x *GPULabelResponse) Reset()

func (*GPULabelResponse) String

func (x *GPULabelResponse) String() string

type GetAvailableGPUTypesRequest

type GetAvailableGPUTypesRequest struct {
	// contains filtered or unexported fields
}

func (*GetAvailableGPUTypesRequest) Descriptor deprecated

func (*GetAvailableGPUTypesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAvailableGPUTypesRequest.ProtoReflect.Descriptor instead.

func (*GetAvailableGPUTypesRequest) ProtoMessage

func (*GetAvailableGPUTypesRequest) ProtoMessage()

func (*GetAvailableGPUTypesRequest) ProtoReflect

func (*GetAvailableGPUTypesRequest) Reset

func (x *GetAvailableGPUTypesRequest) Reset()

func (*GetAvailableGPUTypesRequest) String

func (x *GetAvailableGPUTypesRequest) String() string

type GetAvailableGPUTypesResponse

type GetAvailableGPUTypesResponse struct {

	// GPU types passed in as opaque key-value pairs.
	GpuTypes map[string]*anypb.Any `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetAvailableGPUTypesResponse) Descriptor deprecated

func (*GetAvailableGPUTypesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAvailableGPUTypesResponse.ProtoReflect.Descriptor instead.

func (*GetAvailableGPUTypesResponse) GetGpuTypes

func (x *GetAvailableGPUTypesResponse) GetGpuTypes() map[string]*anypb.Any

func (*GetAvailableGPUTypesResponse) ProtoMessage

func (*GetAvailableGPUTypesResponse) ProtoMessage()

func (*GetAvailableGPUTypesResponse) ProtoReflect

func (*GetAvailableGPUTypesResponse) Reset

func (x *GetAvailableGPUTypesResponse) Reset()

func (*GetAvailableGPUTypesResponse) String

type Instance

type Instance struct {

	// Id of the instance.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Status of the node.
	Status *InstanceStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

func (*Instance) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetId

func (x *Instance) GetId() string

func (*Instance) GetStatus

func (x *Instance) GetStatus() *InstanceStatus

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type InstanceErrorInfo

type InstanceErrorInfo struct {

	// ErrorCode is cloud-provider specific error code for error condition.
	// An empty string for errorCode means there is no errorInfo for the instance (nil).
	ErrorCode string `protobuf:"bytes,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
	// ErrorMessage is the human readable description of error condition.
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// InstanceErrorClass defines the class of error condition.
	InstanceErrorClass int32 `protobuf:"varint,3,opt,name=instanceErrorClass,proto3" json:"instanceErrorClass,omitempty"`
	// contains filtered or unexported fields
}

InstanceErrorInfo provides information about error condition on instance.

func (*InstanceErrorInfo) Descriptor deprecated

func (*InstanceErrorInfo) Descriptor() ([]byte, []int)

Deprecated: Use InstanceErrorInfo.ProtoReflect.Descriptor instead.

func (*InstanceErrorInfo) GetErrorCode

func (x *InstanceErrorInfo) GetErrorCode() string

func (*InstanceErrorInfo) GetErrorMessage

func (x *InstanceErrorInfo) GetErrorMessage() string

func (*InstanceErrorInfo) GetInstanceErrorClass

func (x *InstanceErrorInfo) GetInstanceErrorClass() int32

func (*InstanceErrorInfo) ProtoMessage

func (*InstanceErrorInfo) ProtoMessage()

func (*InstanceErrorInfo) ProtoReflect

func (x *InstanceErrorInfo) ProtoReflect() protoreflect.Message

func (*InstanceErrorInfo) Reset

func (x *InstanceErrorInfo) Reset()

func (*InstanceErrorInfo) String

func (x *InstanceErrorInfo) String() string

type InstanceStatus

type InstanceStatus struct {

	// InstanceState tells if the instance is running, being created or being deleted.
	InstanceState InstanceStatus_InstanceState `` /* 162-byte string literal not displayed */
	// ErrorInfo provides information about the error status.
	// If there is no error condition related to instance, then errorInfo.errorCode should be an empty string.
	ErrorInfo *InstanceErrorInfo `protobuf:"bytes,2,opt,name=errorInfo,proto3" json:"errorInfo,omitempty"`
	// contains filtered or unexported fields
}

InstanceStatus represents the instance status.

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) GetInstanceState

func (x *InstanceStatus) GetInstanceState() InstanceStatus_InstanceState

func (*InstanceStatus) ProtoMessage

func (*InstanceStatus) ProtoMessage()

func (*InstanceStatus) ProtoReflect

func (x *InstanceStatus) ProtoReflect() protoreflect.Message

func (*InstanceStatus) Reset

func (x *InstanceStatus) Reset()

func (*InstanceStatus) String

func (x *InstanceStatus) String() string

type InstanceStatus_InstanceState

type InstanceStatus_InstanceState int32
const (
	// an Unspecified instanceState means the actual instance status is undefined (nil).
	InstanceStatus_unspecified InstanceStatus_InstanceState = 0
	// InstanceRunning means instance is running.
	InstanceStatus_instanceRunning InstanceStatus_InstanceState = 1
	// InstanceCreating means instance is being created.
	InstanceStatus_instanceCreating InstanceStatus_InstanceState = 2
	// InstanceDeleting means instance is being deleted.
	InstanceStatus_instanceDeleting InstanceStatus_InstanceState = 3
)

func (InstanceStatus_InstanceState) Descriptor

func (InstanceStatus_InstanceState) Enum

func (InstanceStatus_InstanceState) EnumDescriptor deprecated

func (InstanceStatus_InstanceState) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstanceStatus_InstanceState.Descriptor instead.

func (InstanceStatus_InstanceState) Number

func (InstanceStatus_InstanceState) String

func (InstanceStatus_InstanceState) Type

type NodeGroup

type NodeGroup struct {

	// ID of the node group on the cloud provider.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// MinSize of the node group on the cloud provider.
	MinSize int32 `protobuf:"varint,2,opt,name=minSize,proto3" json:"minSize,omitempty"`
	// MaxSize of the node group on the cloud provider.
	MaxSize int32 `protobuf:"varint,3,opt,name=maxSize,proto3" json:"maxSize,omitempty"`
	// Debug returns a string containing all information regarding this node group.
	Debug string `protobuf:"bytes,4,opt,name=debug,proto3" json:"debug,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroup) Descriptor deprecated

func (*NodeGroup) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroup.ProtoReflect.Descriptor instead.

func (*NodeGroup) GetDebug

func (x *NodeGroup) GetDebug() string

func (*NodeGroup) GetId

func (x *NodeGroup) GetId() string

func (*NodeGroup) GetMaxSize

func (x *NodeGroup) GetMaxSize() int32

func (*NodeGroup) GetMinSize

func (x *NodeGroup) GetMinSize() int32

func (*NodeGroup) ProtoMessage

func (*NodeGroup) ProtoMessage()

func (*NodeGroup) ProtoReflect

func (x *NodeGroup) ProtoReflect() protoreflect.Message

func (*NodeGroup) Reset

func (x *NodeGroup) Reset()

func (*NodeGroup) String

func (x *NodeGroup) String() string

type NodeGroupAutoscalingOptions

type NodeGroupAutoscalingOptions 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 *v1.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 *v1.Duration `protobuf:"bytes,4,opt,name=scaleDownUnreadyTime,proto3" json:"scaleDownUnreadyTime,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupAutoscalingOptions) Descriptor deprecated

func (*NodeGroupAutoscalingOptions) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupAutoscalingOptions.ProtoReflect.Descriptor instead.

func (*NodeGroupAutoscalingOptions) GetScaleDownGpuUtilizationThreshold

func (x *NodeGroupAutoscalingOptions) GetScaleDownGpuUtilizationThreshold() float64

func (*NodeGroupAutoscalingOptions) GetScaleDownUnneededTime

func (x *NodeGroupAutoscalingOptions) GetScaleDownUnneededTime() *v1.Duration

func (*NodeGroupAutoscalingOptions) GetScaleDownUnreadyTime

func (x *NodeGroupAutoscalingOptions) GetScaleDownUnreadyTime() *v1.Duration

func (*NodeGroupAutoscalingOptions) GetScaleDownUtilizationThreshold

func (x *NodeGroupAutoscalingOptions) GetScaleDownUtilizationThreshold() float64

func (*NodeGroupAutoscalingOptions) ProtoMessage

func (*NodeGroupAutoscalingOptions) ProtoMessage()

func (*NodeGroupAutoscalingOptions) ProtoReflect

func (*NodeGroupAutoscalingOptions) Reset

func (x *NodeGroupAutoscalingOptions) Reset()

func (*NodeGroupAutoscalingOptions) String

func (x *NodeGroupAutoscalingOptions) String() string

type NodeGroupAutoscalingOptionsRequest

type NodeGroupAutoscalingOptionsRequest struct {

	// ID of the node group for the request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// default node group autoscaling options.
	Defaults *NodeGroupAutoscalingOptions `protobuf:"bytes,2,opt,name=defaults,proto3" json:"defaults,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupAutoscalingOptionsRequest) Descriptor deprecated

func (*NodeGroupAutoscalingOptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupAutoscalingOptionsRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupAutoscalingOptionsRequest) GetDefaults

func (*NodeGroupAutoscalingOptionsRequest) GetId

func (*NodeGroupAutoscalingOptionsRequest) ProtoMessage

func (*NodeGroupAutoscalingOptionsRequest) ProtoMessage()

func (*NodeGroupAutoscalingOptionsRequest) ProtoReflect

func (*NodeGroupAutoscalingOptionsRequest) Reset

func (*NodeGroupAutoscalingOptionsRequest) String

type NodeGroupAutoscalingOptionsResponse

type NodeGroupAutoscalingOptionsResponse struct {

	// autoscaling options for the requested node.
	NodeGroupAutoscalingOptions *NodeGroupAutoscalingOptions `protobuf:"bytes,1,opt,name=nodeGroupAutoscalingOptions,proto3" json:"nodeGroupAutoscalingOptions,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupAutoscalingOptionsResponse) Descriptor deprecated

func (*NodeGroupAutoscalingOptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupAutoscalingOptionsResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupAutoscalingOptionsResponse) GetNodeGroupAutoscalingOptions

func (x *NodeGroupAutoscalingOptionsResponse) GetNodeGroupAutoscalingOptions() *NodeGroupAutoscalingOptions

func (*NodeGroupAutoscalingOptionsResponse) ProtoMessage

func (*NodeGroupAutoscalingOptionsResponse) ProtoMessage()

func (*NodeGroupAutoscalingOptionsResponse) ProtoReflect

func (*NodeGroupAutoscalingOptionsResponse) Reset

func (*NodeGroupAutoscalingOptionsResponse) String

type NodeGroupDecreaseTargetSizeRequest

type NodeGroupDecreaseTargetSizeRequest struct {

	// Number of nodes to delete.
	Delta int32 `protobuf:"varint,1,opt,name=delta,proto3" json:"delta,omitempty"`
	// ID of the node group for the request.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupDecreaseTargetSizeRequest) Descriptor deprecated

func (*NodeGroupDecreaseTargetSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupDecreaseTargetSizeRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupDecreaseTargetSizeRequest) GetDelta

func (*NodeGroupDecreaseTargetSizeRequest) GetId

func (*NodeGroupDecreaseTargetSizeRequest) ProtoMessage

func (*NodeGroupDecreaseTargetSizeRequest) ProtoMessage()

func (*NodeGroupDecreaseTargetSizeRequest) ProtoReflect

func (*NodeGroupDecreaseTargetSizeRequest) Reset

func (*NodeGroupDecreaseTargetSizeRequest) String

type NodeGroupDecreaseTargetSizeResponse

type NodeGroupDecreaseTargetSizeResponse struct {
	// contains filtered or unexported fields
}

func (*NodeGroupDecreaseTargetSizeResponse) Descriptor deprecated

func (*NodeGroupDecreaseTargetSizeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupDecreaseTargetSizeResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupDecreaseTargetSizeResponse) ProtoMessage

func (*NodeGroupDecreaseTargetSizeResponse) ProtoMessage()

func (*NodeGroupDecreaseTargetSizeResponse) ProtoReflect

func (*NodeGroupDecreaseTargetSizeResponse) Reset

func (*NodeGroupDecreaseTargetSizeResponse) String

type NodeGroupDeleteNodesRequest

type NodeGroupDeleteNodesRequest struct {

	// List of nodes to delete.
	Nodes []*ExternalGrpcNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// ID of the node group for the request.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupDeleteNodesRequest) Descriptor deprecated

func (*NodeGroupDeleteNodesRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupDeleteNodesRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupDeleteNodesRequest) GetId

func (*NodeGroupDeleteNodesRequest) GetNodes

func (*NodeGroupDeleteNodesRequest) ProtoMessage

func (*NodeGroupDeleteNodesRequest) ProtoMessage()

func (*NodeGroupDeleteNodesRequest) ProtoReflect

func (*NodeGroupDeleteNodesRequest) Reset

func (x *NodeGroupDeleteNodesRequest) Reset()

func (*NodeGroupDeleteNodesRequest) String

func (x *NodeGroupDeleteNodesRequest) String() string

type NodeGroupDeleteNodesResponse

type NodeGroupDeleteNodesResponse struct {
	// contains filtered or unexported fields
}

func (*NodeGroupDeleteNodesResponse) Descriptor deprecated

func (*NodeGroupDeleteNodesResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupDeleteNodesResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupDeleteNodesResponse) ProtoMessage

func (*NodeGroupDeleteNodesResponse) ProtoMessage()

func (*NodeGroupDeleteNodesResponse) ProtoReflect

func (*NodeGroupDeleteNodesResponse) Reset

func (x *NodeGroupDeleteNodesResponse) Reset()

func (*NodeGroupDeleteNodesResponse) String

type NodeGroupForNodeRequest

type NodeGroupForNodeRequest struct {

	// Node for which the request is performed.
	Node *ExternalGrpcNode `protobuf:"bytes,1,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 (*NodeGroupForNodeRequest) ProtoMessage

func (*NodeGroupForNodeRequest) ProtoMessage()

func (*NodeGroupForNodeRequest) ProtoReflect

func (x *NodeGroupForNodeRequest) ProtoReflect() protoreflect.Message

func (*NodeGroupForNodeRequest) Reset

func (x *NodeGroupForNodeRequest) Reset()

func (*NodeGroupForNodeRequest) String

func (x *NodeGroupForNodeRequest) String() string

type NodeGroupForNodeResponse

type NodeGroupForNodeResponse struct {

	// Node group for the given node. nodeGroup with id = "" means no node group.
	NodeGroup *NodeGroup `protobuf:"bytes,1,opt,name=nodeGroup,proto3" json:"nodeGroup,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupForNodeResponse) Descriptor deprecated

func (*NodeGroupForNodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupForNodeResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupForNodeResponse) GetNodeGroup

func (x *NodeGroupForNodeResponse) GetNodeGroup() *NodeGroup

func (*NodeGroupForNodeResponse) ProtoMessage

func (*NodeGroupForNodeResponse) ProtoMessage()

func (*NodeGroupForNodeResponse) ProtoReflect

func (x *NodeGroupForNodeResponse) ProtoReflect() protoreflect.Message

func (*NodeGroupForNodeResponse) Reset

func (x *NodeGroupForNodeResponse) Reset()

func (*NodeGroupForNodeResponse) String

func (x *NodeGroupForNodeResponse) String() string

type NodeGroupIncreaseSizeRequest

type NodeGroupIncreaseSizeRequest struct {

	// Number of nodes to add.
	Delta int32 `protobuf:"varint,1,opt,name=delta,proto3" json:"delta,omitempty"`
	// ID of the node group for the request.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupIncreaseSizeRequest) Descriptor deprecated

func (*NodeGroupIncreaseSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupIncreaseSizeRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupIncreaseSizeRequest) GetDelta

func (x *NodeGroupIncreaseSizeRequest) GetDelta() int32

func (*NodeGroupIncreaseSizeRequest) GetId

func (*NodeGroupIncreaseSizeRequest) ProtoMessage

func (*NodeGroupIncreaseSizeRequest) ProtoMessage()

func (*NodeGroupIncreaseSizeRequest) ProtoReflect

func (*NodeGroupIncreaseSizeRequest) Reset

func (x *NodeGroupIncreaseSizeRequest) Reset()

func (*NodeGroupIncreaseSizeRequest) String

type NodeGroupIncreaseSizeResponse

type NodeGroupIncreaseSizeResponse struct {
	// contains filtered or unexported fields
}

func (*NodeGroupIncreaseSizeResponse) Descriptor deprecated

func (*NodeGroupIncreaseSizeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupIncreaseSizeResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupIncreaseSizeResponse) ProtoMessage

func (*NodeGroupIncreaseSizeResponse) ProtoMessage()

func (*NodeGroupIncreaseSizeResponse) ProtoReflect

func (*NodeGroupIncreaseSizeResponse) Reset

func (x *NodeGroupIncreaseSizeResponse) Reset()

func (*NodeGroupIncreaseSizeResponse) String

type NodeGroupNodesRequest

type NodeGroupNodesRequest struct {

	// ID of the node group for the request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupNodesRequest) Descriptor deprecated

func (*NodeGroupNodesRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupNodesRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupNodesRequest) GetId

func (x *NodeGroupNodesRequest) GetId() string

func (*NodeGroupNodesRequest) ProtoMessage

func (*NodeGroupNodesRequest) ProtoMessage()

func (*NodeGroupNodesRequest) ProtoReflect

func (x *NodeGroupNodesRequest) ProtoReflect() protoreflect.Message

func (*NodeGroupNodesRequest) Reset

func (x *NodeGroupNodesRequest) Reset()

func (*NodeGroupNodesRequest) String

func (x *NodeGroupNodesRequest) String() string

type NodeGroupNodesResponse

type NodeGroupNodesResponse struct {

	// list of cloud provider instances in a node group.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupNodesResponse) Descriptor deprecated

func (*NodeGroupNodesResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupNodesResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupNodesResponse) GetInstances

func (x *NodeGroupNodesResponse) GetInstances() []*Instance

func (*NodeGroupNodesResponse) ProtoMessage

func (*NodeGroupNodesResponse) ProtoMessage()

func (*NodeGroupNodesResponse) ProtoReflect

func (x *NodeGroupNodesResponse) ProtoReflect() protoreflect.Message

func (*NodeGroupNodesResponse) Reset

func (x *NodeGroupNodesResponse) Reset()

func (*NodeGroupNodesResponse) String

func (x *NodeGroupNodesResponse) String() string

type NodeGroupTargetSizeRequest

type NodeGroupTargetSizeRequest struct {

	// ID of the node group for the request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupTargetSizeRequest) Descriptor deprecated

func (*NodeGroupTargetSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupTargetSizeRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupTargetSizeRequest) GetId

func (*NodeGroupTargetSizeRequest) ProtoMessage

func (*NodeGroupTargetSizeRequest) ProtoMessage()

func (*NodeGroupTargetSizeRequest) ProtoReflect

func (*NodeGroupTargetSizeRequest) Reset

func (x *NodeGroupTargetSizeRequest) Reset()

func (*NodeGroupTargetSizeRequest) String

func (x *NodeGroupTargetSizeRequest) String() string

type NodeGroupTargetSizeResponse

type NodeGroupTargetSizeResponse struct {

	// Current target size of the node group.
	TargetSize int32 `protobuf:"varint,1,opt,name=targetSize,proto3" json:"targetSize,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupTargetSizeResponse) Descriptor deprecated

func (*NodeGroupTargetSizeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupTargetSizeResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupTargetSizeResponse) GetTargetSize

func (x *NodeGroupTargetSizeResponse) GetTargetSize() int32

func (*NodeGroupTargetSizeResponse) ProtoMessage

func (*NodeGroupTargetSizeResponse) ProtoMessage()

func (*NodeGroupTargetSizeResponse) ProtoReflect

func (*NodeGroupTargetSizeResponse) Reset

func (x *NodeGroupTargetSizeResponse) Reset()

func (*NodeGroupTargetSizeResponse) String

func (x *NodeGroupTargetSizeResponse) String() string

type NodeGroupTemplateNodeInfoRequest

type NodeGroupTemplateNodeInfoRequest struct {

	// ID of the node group for the request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupTemplateNodeInfoRequest) Descriptor deprecated

func (*NodeGroupTemplateNodeInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupTemplateNodeInfoRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupTemplateNodeInfoRequest) GetId

func (*NodeGroupTemplateNodeInfoRequest) ProtoMessage

func (*NodeGroupTemplateNodeInfoRequest) ProtoMessage()

func (*NodeGroupTemplateNodeInfoRequest) ProtoReflect

func (*NodeGroupTemplateNodeInfoRequest) Reset

func (*NodeGroupTemplateNodeInfoRequest) String

type NodeGroupTemplateNodeInfoResponse

type NodeGroupTemplateNodeInfoResponse struct {

	// nodeInfo is the extracted data from the cloud provider, as a primitive Kubernetes Node type.
	NodeInfo *v11.Node `protobuf:"bytes,1,opt,name=nodeInfo,proto3" json:"nodeInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupTemplateNodeInfoResponse) Descriptor deprecated

func (*NodeGroupTemplateNodeInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupTemplateNodeInfoResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupTemplateNodeInfoResponse) GetNodeInfo

func (x *NodeGroupTemplateNodeInfoResponse) GetNodeInfo() *v11.Node

func (*NodeGroupTemplateNodeInfoResponse) ProtoMessage

func (*NodeGroupTemplateNodeInfoResponse) ProtoMessage()

func (*NodeGroupTemplateNodeInfoResponse) ProtoReflect

func (*NodeGroupTemplateNodeInfoResponse) Reset

func (*NodeGroupTemplateNodeInfoResponse) String

type NodeGroupsRequest

type NodeGroupsRequest struct {
	// contains filtered or unexported fields
}

func (*NodeGroupsRequest) Descriptor deprecated

func (*NodeGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupsRequest.ProtoReflect.Descriptor instead.

func (*NodeGroupsRequest) ProtoMessage

func (*NodeGroupsRequest) ProtoMessage()

func (*NodeGroupsRequest) ProtoReflect

func (x *NodeGroupsRequest) ProtoReflect() protoreflect.Message

func (*NodeGroupsRequest) Reset

func (x *NodeGroupsRequest) Reset()

func (*NodeGroupsRequest) String

func (x *NodeGroupsRequest) String() string

type NodeGroupsResponse

type NodeGroupsResponse struct {

	// All the node groups that the cloud provider service supports.
	NodeGroups []*NodeGroup `protobuf:"bytes,1,rep,name=nodeGroups,proto3" json:"nodeGroups,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroupsResponse) Descriptor deprecated

func (*NodeGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupsResponse.ProtoReflect.Descriptor instead.

func (*NodeGroupsResponse) GetNodeGroups

func (x *NodeGroupsResponse) GetNodeGroups() []*NodeGroup

func (*NodeGroupsResponse) ProtoMessage

func (*NodeGroupsResponse) ProtoMessage()

func (*NodeGroupsResponse) ProtoReflect

func (x *NodeGroupsResponse) ProtoReflect() protoreflect.Message

func (*NodeGroupsResponse) Reset

func (x *NodeGroupsResponse) Reset()

func (*NodeGroupsResponse) String

func (x *NodeGroupsResponse) String() string

type PricingNodePriceRequest

type PricingNodePriceRequest struct {

	// Node for which the request is performed.
	Node *ExternalGrpcNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// Start time for the request period.
	StartTime *v1.Time `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// End time for the request period.
	EndTime *v1.Time `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

func (*PricingNodePriceRequest) Descriptor deprecated

func (*PricingNodePriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use PricingNodePriceRequest.ProtoReflect.Descriptor instead.

func (*PricingNodePriceRequest) GetEndTime

func (x *PricingNodePriceRequest) GetEndTime() *v1.Time

func (*PricingNodePriceRequest) GetNode

func (*PricingNodePriceRequest) GetStartTime

func (x *PricingNodePriceRequest) GetStartTime() *v1.Time

func (*PricingNodePriceRequest) ProtoMessage

func (*PricingNodePriceRequest) ProtoMessage()

func (*PricingNodePriceRequest) ProtoReflect

func (x *PricingNodePriceRequest) ProtoReflect() protoreflect.Message

func (*PricingNodePriceRequest) Reset

func (x *PricingNodePriceRequest) Reset()

func (*PricingNodePriceRequest) String

func (x *PricingNodePriceRequest) String() string

type PricingNodePriceResponse

type PricingNodePriceResponse struct {

	// Theoretical minimum price of running a node for a given period.
	Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*PricingNodePriceResponse) Descriptor deprecated

func (*PricingNodePriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use PricingNodePriceResponse.ProtoReflect.Descriptor instead.

func (*PricingNodePriceResponse) GetPrice

func (x *PricingNodePriceResponse) GetPrice() float64

func (*PricingNodePriceResponse) ProtoMessage

func (*PricingNodePriceResponse) ProtoMessage()

func (*PricingNodePriceResponse) ProtoReflect

func (x *PricingNodePriceResponse) ProtoReflect() protoreflect.Message

func (*PricingNodePriceResponse) Reset

func (x *PricingNodePriceResponse) Reset()

func (*PricingNodePriceResponse) String

func (x *PricingNodePriceResponse) String() string

type PricingPodPriceRequest

type PricingPodPriceRequest struct {

	// Pod for which the request is performed.
	Pod *v11.Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
	// Start time for the request period.
	StartTime *v1.Time `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// End time for the request period.
	EndTime *v1.Time `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

func (*PricingPodPriceRequest) Descriptor deprecated

func (*PricingPodPriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use PricingPodPriceRequest.ProtoReflect.Descriptor instead.

func (*PricingPodPriceRequest) GetEndTime

func (x *PricingPodPriceRequest) GetEndTime() *v1.Time

func (*PricingPodPriceRequest) GetPod

func (x *PricingPodPriceRequest) GetPod() *v11.Pod

func (*PricingPodPriceRequest) GetStartTime

func (x *PricingPodPriceRequest) GetStartTime() *v1.Time

func (*PricingPodPriceRequest) ProtoMessage

func (*PricingPodPriceRequest) ProtoMessage()

func (*PricingPodPriceRequest) ProtoReflect

func (x *PricingPodPriceRequest) ProtoReflect() protoreflect.Message

func (*PricingPodPriceRequest) Reset

func (x *PricingPodPriceRequest) Reset()

func (*PricingPodPriceRequest) String

func (x *PricingPodPriceRequest) String() string

type PricingPodPriceResponse

type PricingPodPriceResponse struct {

	// Theoretical minimum price of running a pod for a given period.
	Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*PricingPodPriceResponse) Descriptor deprecated

func (*PricingPodPriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use PricingPodPriceResponse.ProtoReflect.Descriptor instead.

func (*PricingPodPriceResponse) GetPrice

func (x *PricingPodPriceResponse) GetPrice() float64

func (*PricingPodPriceResponse) ProtoMessage

func (*PricingPodPriceResponse) ProtoMessage()

func (*PricingPodPriceResponse) ProtoReflect

func (x *PricingPodPriceResponse) ProtoReflect() protoreflect.Message

func (*PricingPodPriceResponse) Reset

func (x *PricingPodPriceResponse) Reset()

func (*PricingPodPriceResponse) String

func (x *PricingPodPriceResponse) String() string

type RefreshRequest

type RefreshRequest struct {
	// contains filtered or unexported fields
}

func (*RefreshRequest) Descriptor deprecated

func (*RefreshRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

func (x *RefreshRequest) ProtoReflect() protoreflect.Message

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

type RefreshResponse

type RefreshResponse struct {
	// contains filtered or unexported fields
}

func (*RefreshResponse) Descriptor deprecated

func (*RefreshResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.

func (*RefreshResponse) ProtoMessage

func (*RefreshResponse) ProtoMessage()

func (*RefreshResponse) ProtoReflect

func (x *RefreshResponse) ProtoReflect() protoreflect.Message

func (*RefreshResponse) Reset

func (x *RefreshResponse) Reset()

func (*RefreshResponse) String

func (x *RefreshResponse) String() string

type UnimplementedCloudProviderServer

type UnimplementedCloudProviderServer struct {
}

UnimplementedCloudProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedCloudProviderServer) Cleanup

func (UnimplementedCloudProviderServer) GPULabel

func (UnimplementedCloudProviderServer) NodeGroupForNode

func (UnimplementedCloudProviderServer) NodeGroupNodes

func (UnimplementedCloudProviderServer) NodeGroups

func (UnimplementedCloudProviderServer) PricingNodePrice

func (UnimplementedCloudProviderServer) PricingPodPrice

func (UnimplementedCloudProviderServer) Refresh

type UnsafeCloudProviderServer

type UnsafeCloudProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeCloudProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudProviderServer will result in compilation errors.

Jump to

Keyboard shortcuts

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