Add instance-type label to cloud providers

Fully implemented for AWS and GCE
This commit is contained in:
Rudi Chiarito 2016-02-09 11:34:42 -05:00
parent 739be635eb
commit 0fec64a3eb
1 changed files with 5 additions and 0 deletions

View File

@ -480,6 +480,11 @@ func (i *Instances) InstanceID(name string) (string, error) {
return "/" + srv.ID, nil
}
// InstanceType returns the type of the specified instance.
func (i *Instances) InstanceType(name string) (string, error) {
return "", nil
}
func (os *OpenStack) Clusters() (cloudprovider.Clusters, bool) {
return nil, false
}