gcp-aws

command
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

README

Overview

This test CLI includes to:

  • create an MCIS,
  • create VPN tunnels,
  • delete the VPN tunnels, and
  • delete the MCIS.

Getting started

Setup environment variables

Note - $CBTUMBLEBUG_ROOT means your root directory of CB-Tumblebug

cd $CBTUMBLEBUG_ROOT
source conf/setup.env
Build the app
cd $CBTUMBLEBUG_ROOT/testclient/test-clis/vpn-tunnel/gcp-aws
go build -o app
How to use

Please refer to the --help

(Sample 1)

./app --help
########################################################################
## [Demo] This program demonstrates VPN tunnel configuration on MCIS. ##
########################################################################

Usage:
  ./demo [command]

Examples:

  [Long] ./demo --namespaceId "ns01" --mcisId "mcis01" --resourceGroupId "rg01"
  [Short] ./demo -n "ns01" -m "mcis01" -r "rg01"

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  create      Create resources
  delete      Dreate resources
  help        Help about any command

Flags:
  -h, --help   help for ./demo

Use "./demo [command] --help" for more information about a command.

(Sample 2)

./app create --help
Create resources

Usage:
  ./demo create [command]

Available Commands:
  mcis        Create MCIS dynamically
  vpn         Create GCP to AWS VPN tunnel

Flags:
  -h, --help   help for create

Use "./demo create [command] --help" for more information about a command.

(Sample 3)

./app delete --help
Delete resources

Usage:
  ./demo delete [command]

Available Commands:
  mcis        Suspend and terminate MCIS
  vpn         Destroy GCP to AWS VPN tunnel

Flags:
  -h, --help   help for delete

Use "./demo delete [command] --help" for more information about a command.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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