Versions in this module Expand all Collapse all v1 v1.1.0 Apr 19, 2026 v1.0.0 Apr 19, 2026 Changes in this version + func DefaultTokenSource(ctx context.Context) (oauth2.TokenSource, error) + func GetToken(ctx context.Context) ([]byte, error) + func ParseToken(tok string) (*oauth2.Token, error) + func SetupEnvJson(ctx context.Context) error + type Client struct + InstanceClient *compute.InstancesClient + Project string + Zone string + func NewClient(ctx context.Context, project, zone string, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) Create(ctx context.Context, instance *computepb.Instance) error + func (c *Client) Delete(ctx context.Context, name string) error + func (c *Client) Describe(ctx context.Context, name string) (string, error) + func (c *Client) Get(ctx context.Context, name string) (*computepb.Instance, error) + func (c *Client) Init(ctx context.Context) error + func (c *Client) Start(ctx context.Context, name string) error + func (c *Client) Status(ctx context.Context, name string) (client.Status, error) + func (c *Client) Stop(ctx context.Context, name string, async bool) error