Documentation
¶
Overview ¶
Package serviceaccount provides support for making OAuth2-authorized HTTP requests from Google Compute Engine instances using service accounts.
See: https://developers.google.com/compute/docs/authentication
Example usage:
client, err := serviceaccount.NewClient(&serviceaccount.Options{})
if err != nil {
c.Errorf("failed to create service account client: %q", err)
return err
}
client.Post("https://www.googleapis.com/compute/...", ...)
client.Post("https://www.googleapis.com/bigquery/...", ...)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.