gcp

module
v0.0.0-...-3d6bb46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: BSD-3-Clause

README

About

This project contains a collection of wrapped API of Google Cloud Services.

Development

To debug the program, severity level can be set by environment variable GRPC_GO_LOG_SEVERITY_LEVEL, verbosity level can be set by GRPC_GO_LOG_VERBOSITY_LEVEL.

Examples

1. sole-tenant

This will create a running container in a VM instance, which is run on top of a sole-tenant node.

⚠️Warning

This program will create a sole-tenant node, it costs a lot.

Reference

  1. https://cloud.google.com/compute/docs/nodes/create-nodes
  2. https://cloud.google.com/compute/docs/containers/configuring-options-to-run-containers
  3. https://cloud.google.com/compute/docs/containers/deploying-containers
  4. https://cloud.google.com/compute/docs/reference/rest/v1/
  5. https://cloud.google.com/sdk/gcloud/reference/compute/instance-templates/create-with-container

2. search-log

This will keep watching on the log streams, until the specific log is found.

Reference

  1. https://cloud.google.com/logging/docs/view/advanced-queries

Directories

Path Synopsis
examples
connect command
search-log command
sole-tenant command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL