Update gce cloud calls after api changes
This commit is contained in:
parent
9b22796383
commit
8dc3d4764f
6 changed files with 76 additions and 53 deletions
|
|
@ -45,7 +45,7 @@ type NodePool interface {
|
|||
// InstanceGroups is an interface for managing gce instances groups, and the instances therein.
|
||||
type InstanceGroups interface {
|
||||
GetInstanceGroup(name, zone string) (*compute.InstanceGroup, error)
|
||||
CreateInstanceGroup(name, zone string) (*compute.InstanceGroup, error)
|
||||
CreateInstanceGroup(ig *compute.InstanceGroup, zone string) error
|
||||
DeleteInstanceGroup(name, zone string) error
|
||||
|
||||
// TODO: Refactor for modulatiry.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue