builder-sdk

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0

README

builder-sdk

SDK & CLI to build, manage and operate the multi-cloud environment

Cloud foundation

Foundation pre-reqs
  • Azure subscription and resource groups already configured
  • GCP project already configured with project owner / google_application_credentials available
  • configV2 compliant build json file
Foundation Cli
go run cmd/main.go foundation prepare -c ./config.json
go run cmd/main.go foundation query -c ./config.json
go run cmd/main.go foundation remove -c ./config.json

Usage:
  builder foundation [prepare|query|remove] [flags]

Flags:
  -c, --config string          The filename containing the service configuration
  -h, --help                   help for prepare
  -r, --region string          The serviceConfig region to deploy
  -s, --serviceConfig string   The serviceConfig identifier to access service configuration

Messaging and datastore installer

Installs objects into brokers (topics, subscriptions), and datastores (schemas, collections)

Installer pre-reqs
  • cloud foundation build
  • configV2 compliant build json file
Installer Cli
go run cmd/main.go installer install -c ./config.json
go run cmd/main.go installer uninstall -c ./config.json

Usage:
  builder-sdk installer [install|uninstall] [flags]

Flags:
  -c, --config string   The filename containing the service configuration
  -h, --help            help for install
  -r, --region string   The region identifier to access service configuration


Directories

Path Synopsis
https://medium.com/@skdomino/writing-better-clis-one-snake-at-a-time-d22e50e60056 https://github.com/nanopack/hoarder/blob/master/commands/commands.go
https://medium.com/@skdomino/writing-better-clis-one-snake-at-a-time-d22e50e60056 https://github.com/nanopack/hoarder/blob/master/commands/commands.go

Jump to

Keyboard shortcuts

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