Documentation ¶
Index ¶
- 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
- 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) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTokenSource ¶
func DefaultTokenSource(ctx context.Context) (oauth2.TokenSource, error)
func SetupEnvJson ¶ added in v0.0.3
Types ¶
Click to show internal directories.
Click to hide internal directories.