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 container contains a Google Container Engine client.
|
Package container contains a Google Container Engine client. |
Package datastore contains a Google Cloud Datastore client.
|
Package datastore contains a Google Cloud Datastore client. |
examples
|
|
pubsub/cmdline
Package main contains a simple command line tool for Cloud Pub/Sub Cloud Pub/Sub docs: https://cloud.google.com/pubsub/docs
|
Package main contains a simple command line tool for Cloud Pub/Sub Cloud Pub/Sub docs: https://cloud.google.com/pubsub/docs |
storage/appenginevm
Package gcsdemo is an example Managed VM app using the Google Cloud Storage API.
|
Package gcsdemo is an example Managed VM app using the Google Cloud Storage API. |
Package internal provides support for the cloud packages.
|
Package internal provides support for the cloud packages. |
datastore
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
testutil
Package testutil contains helper functions for writing tests.
|
Package testutil contains helper functions for writing tests. |
Package pubsub contains a Google Cloud Pub/Sub client.
|
Package pubsub contains a Google Cloud Pub/Sub client. |
Package storage contains a Google Cloud Storage client.
|
Package storage contains a Google Cloud Storage client. |
Click to show internal directories.
Click to hide internal directories.