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.
func WithContext ¶
WithContext returns a new context in a similar way NewContext does, but initiates the new context with the specified parent.
func WithNamespace ¶
WithNamespace returns a new context that wraps an existing contect and uses the specified namespace
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
compute
|
|
computeutil
Package computeutil provides helpers around the Google Cloud Engine API.
|
Package computeutil provides helpers around the Google Cloud Engine API. |
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. |
examples
|
|
compute/compute-boot
instance is a sample application using the computeutil package.
|
instance is a sample application using the computeutil package. |
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. |
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. |