Documentation ¶
Overview ¶
Package cloud contains Google Cloud Platform APIs related types and common functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext returns a new context that uses the provided http.Client. Provided http.Client is responsible to authorize and authenticate the requests made to the Google Cloud APIs. It mutates the client's original Transport to append the cloud package's user-agent to the outgoing requests. You can obtain the project ID from the Google Developers Console, https://console.developers.google.com.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
compute
|
|
metadata
Package metadata provides access to Google Compute Engine (GCE) metadata and API service accounts.
|
Package metadata provides access to Google Compute Engine (GCE) metadata and API service accounts. |
Package internal provides support for the cloud packages.
|
Package internal provides support for the cloud packages. |
Package pubsub is a Google Cloud Pub/Sub client.
|
Package pubsub is a Google Cloud Pub/Sub client. |
Package storage is a Google Cloud Storage client.
|
Package storage is a Google Cloud Storage client. |
Click to show internal directories.
Click to hide internal directories.