archive_upload_client

command
v0.0.0-...-19218e7 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

RouteViews Archive Client

gRPC client in Go to upload RouteViews archives.

Usage

  1. If you have already installed gcloud SDK ran gcloud auth login on the machine:
$ go run client.go --file [filename] --server [host:port]
  1. If you do not have gcloud SDK on the machine, download the service account key file and:
$ go run client.go --file [filename] --server [host:port] --sa_key [path/to/key.json]

Alternatively, you can point the environment variable "GOOGLE_APPLICATION_CREDENTIALS" to the key file and then skip the "sa_key" flag:

$ export GOOGLE_APPLICATION_CREDENTIALS=[path/to/key.json]
$ go run client.go --file [filename] --server [host:port]

Documentation

Overview

Package main implements a golang client to upload RV archive to a Cloud Run RV service.

Jump to

Keyboard shortcuts

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