Skip to content

Commit

Permalink
UPSTREAM: <carry>: satisfy cloud provider interface
Browse files Browse the repository at this point in the history
  • Loading branch information
enxebre committed Oct 28, 2019
1 parent 76894dc commit 33ac316
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ func (p *provider) GetInstanceID(node *corev1.Node) string {
return node.Spec.ProviderID
}

// GetAvailableGPUTypes return all available GPU types cloud provider supports.
func (p *provider) GetAvailableGPUTypes() map[string]struct{} {
// TODO: implement this
return nil
}

// GPULabel returns the label added to nodes with GPU resource.
func (p *provider) GPULabel() string {
// TODO: implement this
return ""
}

func newProvider(
name string,
rl *cloudprovider.ResourceLimiter,
Expand Down

0 comments on commit 33ac316

Please sign in to comment.