Documentation ¶
Index ¶
- type Wrapper
- func (w *Wrapper) Cleanup(_ context.Context, req *protos.CleanupRequest) (*protos.CleanupResponse, error)
- func (w *Wrapper) GPULabel(_ context.Context, req *protos.GPULabelRequest) (*protos.GPULabelResponse, error)
- func (w *Wrapper) GetAvailableGPUTypes(_ context.Context, req *protos.GetAvailableGPUTypesRequest) (*protos.GetAvailableGPUTypesResponse, error)
- func (w *Wrapper) NodeGroupDecreaseTargetSize(_ context.Context, req *protos.NodeGroupDecreaseTargetSizeRequest) (*protos.NodeGroupDecreaseTargetSizeResponse, error)
- func (w *Wrapper) NodeGroupDeleteNodes(_ context.Context, req *protos.NodeGroupDeleteNodesRequest) (*protos.NodeGroupDeleteNodesResponse, error)
- func (w *Wrapper) NodeGroupForNode(_ context.Context, req *protos.NodeGroupForNodeRequest) (*protos.NodeGroupForNodeResponse, error)
- func (w *Wrapper) NodeGroupGetOptions(_ context.Context, req *protos.NodeGroupAutoscalingOptionsRequest) (*protos.NodeGroupAutoscalingOptionsResponse, error)
- func (w *Wrapper) NodeGroupIncreaseSize(_ context.Context, req *protos.NodeGroupIncreaseSizeRequest) (*protos.NodeGroupIncreaseSizeResponse, error)
- func (w *Wrapper) NodeGroupNodes(_ context.Context, req *protos.NodeGroupNodesRequest) (*protos.NodeGroupNodesResponse, error)
- func (w *Wrapper) NodeGroupTargetSize(_ context.Context, req *protos.NodeGroupTargetSizeRequest) (*protos.NodeGroupTargetSizeResponse, error)
- func (w *Wrapper) NodeGroupTemplateNodeInfo(_ context.Context, req *protos.NodeGroupTemplateNodeInfoRequest) (*protos.NodeGroupTemplateNodeInfoResponse, error)
- func (w *Wrapper) NodeGroups(_ context.Context, req *protos.NodeGroupsRequest) (*protos.NodeGroupsResponse, error)
- func (w *Wrapper) PricingNodePrice(_ context.Context, req *protos.PricingNodePriceRequest) (*protos.PricingNodePriceResponse, error)
- func (w *Wrapper) PricingPodPrice(_ context.Context, req *protos.PricingPodPriceRequest) (*protos.PricingPodPriceResponse, error)
- func (w *Wrapper) Refresh(_ context.Context, req *protos.RefreshRequest) (*protos.RefreshResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct { protos.UnimplementedCloudProviderServer // contains filtered or unexported fields }
Wrapper implements protos.CloudProviderServer.
func NewCloudProviderGrpcWrapper ¶
func NewCloudProviderGrpcWrapper(provider cloudprovider.CloudProvider) *Wrapper
NewCloudProviderGrpcWrapper creates a grpc wrapper for a cloud provider implementation.
func (*Wrapper) Cleanup ¶
func (w *Wrapper) Cleanup(_ context.Context, req *protos.CleanupRequest) (*protos.CleanupResponse, error)
Cleanup is the wrapper for the cloud provider Cleanup method.
func (*Wrapper) GPULabel ¶
func (w *Wrapper) GPULabel(_ context.Context, req *protos.GPULabelRequest) (*protos.GPULabelResponse, error)
GPULabel is the wrapper for the cloud provider GPULabel method.
func (*Wrapper) GetAvailableGPUTypes ¶
func (w *Wrapper) GetAvailableGPUTypes(_ context.Context, req *protos.GetAvailableGPUTypesRequest) (*protos.GetAvailableGPUTypesResponse, error)
GetAvailableGPUTypes is the wrapper for the cloud provider GetAvailableGPUTypes method.
func (*Wrapper) NodeGroupDecreaseTargetSize ¶
func (w *Wrapper) NodeGroupDecreaseTargetSize(_ context.Context, req *protos.NodeGroupDecreaseTargetSizeRequest) (*protos.NodeGroupDecreaseTargetSizeResponse, error)
NodeGroupDecreaseTargetSize is the wrapper for the cloud provider NodeGroup DecreaseTargetSize method.
func (*Wrapper) NodeGroupDeleteNodes ¶
func (w *Wrapper) NodeGroupDeleteNodes(_ context.Context, req *protos.NodeGroupDeleteNodesRequest) (*protos.NodeGroupDeleteNodesResponse, error)
NodeGroupDeleteNodes is the wrapper for the cloud provider NodeGroup DeleteNodes method.
func (*Wrapper) NodeGroupForNode ¶
func (w *Wrapper) NodeGroupForNode(_ context.Context, req *protos.NodeGroupForNodeRequest) (*protos.NodeGroupForNodeResponse, error)
NodeGroupForNode is the wrapper for the cloud provider NodeGroupForNode method.
func (*Wrapper) NodeGroupGetOptions ¶
func (w *Wrapper) NodeGroupGetOptions(_ context.Context, req *protos.NodeGroupAutoscalingOptionsRequest) (*protos.NodeGroupAutoscalingOptionsResponse, error)
NodeGroupGetOptions is the wrapper for the cloud provider NodeGroup GetOptions method.
func (*Wrapper) NodeGroupIncreaseSize ¶
func (w *Wrapper) NodeGroupIncreaseSize(_ context.Context, req *protos.NodeGroupIncreaseSizeRequest) (*protos.NodeGroupIncreaseSizeResponse, error)
NodeGroupIncreaseSize is the wrapper for the cloud provider NodeGroup IncreaseSize method.
func (*Wrapper) NodeGroupNodes ¶
func (w *Wrapper) NodeGroupNodes(_ context.Context, req *protos.NodeGroupNodesRequest) (*protos.NodeGroupNodesResponse, error)
NodeGroupNodes is the wrapper for the cloud provider NodeGroup Nodes method.
func (*Wrapper) NodeGroupTargetSize ¶
func (w *Wrapper) NodeGroupTargetSize(_ context.Context, req *protos.NodeGroupTargetSizeRequest) (*protos.NodeGroupTargetSizeResponse, error)
NodeGroupTargetSize is the wrapper for the cloud provider NodeGroup TargetSize method.
func (*Wrapper) NodeGroupTemplateNodeInfo ¶
func (w *Wrapper) NodeGroupTemplateNodeInfo(_ context.Context, req *protos.NodeGroupTemplateNodeInfoRequest) (*protos.NodeGroupTemplateNodeInfoResponse, error)
NodeGroupTemplateNodeInfo is the wrapper for the cloud provider NodeGroup TemplateNodeInfo method.
func (*Wrapper) NodeGroups ¶
func (w *Wrapper) NodeGroups(_ context.Context, req *protos.NodeGroupsRequest) (*protos.NodeGroupsResponse, error)
NodeGroups is the wrapper for the cloud provider NodeGroups method.
func (*Wrapper) PricingNodePrice ¶
func (w *Wrapper) PricingNodePrice(_ context.Context, req *protos.PricingNodePriceRequest) (*protos.PricingNodePriceResponse, error)
PricingNodePrice is the wrapper for the cloud provider Pricing NodePrice method.
func (*Wrapper) PricingPodPrice ¶
func (w *Wrapper) PricingPodPrice(_ context.Context, req *protos.PricingPodPriceRequest) (*protos.PricingPodPriceResponse, error)
PricingPodPrice is the wrapper for the cloud provider Pricing PodPrice method.
func (*Wrapper) Refresh ¶
func (w *Wrapper) Refresh(_ context.Context, req *protos.RefreshRequest) (*protos.RefreshResponse, error)
Refresh is the wrapper for the cloud provider Refresh method.