Clean up GCE metadata calls. Remove GetNodeResources from all providers.

This commit is contained in:
CJ Cullen
2015-08-14 07:29:52 -07:00
parent e8fcee6718
commit e20467afcb
13 changed files with 5 additions and 495 deletions

View File

@@ -107,8 +107,6 @@ type Instances interface {
InstanceID(name string) (string, error)
// List lists instances that match 'filter' which is a regular expression which must match the entire instance name (fqdn)
List(filter string) ([]string, error)
// GetNodeResources gets the resources for a particular node
GetNodeResources(name string) (*api.NodeResources, error)
// AddSSHKeyToAllInstances adds an SSH public key as a legal identity for all instances
// expected format for the key is standard ssh-keygen format: <protocol> <blob>
AddSSHKeyToAllInstances(user string, keyData []byte) error