Versions in this module Expand all Collapse all v0 v0.1.1 Dec 20, 2024 Changes in this version + var Scopes = []string + type Client struct + Client *compute.Service + Credential *google.Credentials + func NewClient(jsonCred string) (c *Client, err error) + func (c *Client) LoadAllInstances(zone, filter string) (instances *Instances, err error) + func (c *Client) LoadInstanceByName(zone, name string) (instance *Instance, err error) + func (c *Client) LoadInstancesByZone(zone, filter string) (instances *Instances, err error) + type Instance struct + Instance *compute.Instance + func (i *Instance) GetOutput() (out string) + func (i *Instance) GetStatus() int + type Instances struct + Instances []*Instance + func (i *Instances) GetStatus() int + func (i Instances) GetOutput() (output string)