goproxie

command module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 15 Imported by: 0

README

goproxie

Build Status Coverage Status Go Report

Go clone of proxie cli for Node.js.

User manual

  • goproxie version to print the version
  • Use default goproxie to start interactive wizard
  • Use goproxie history to pick a used proxy settings
  • Use goproxie -project=... -cluster=... for non-interactive mode, see --help for all the options available

Installation

  1. Make sure you have Go, kubectl and gcloud installed.
  2. Authorize gcloud to access the Cloud Platform with Google user credentials:
gcloud auth login
  1. Get goproxie:
go get -u github.com/AckeeCZ/goproxie

This will download the source and compile the executable $GOPATH/bin/goproxie. Make sure $GOPATH/bin is in your $PATH.

Test

Run all tests

go test ./...

See coverage

go test ./... -v -coverprofile=coverage.out && go tool cover -html=coverage.out

Release a new version

  • add a new git version tag , prefixed with v, e.g. v12.34.56
  • set it based on last tag and respect Semantic Versioning
  • goproxie will incorporate this tag in it's version command during release step when tags are pushed

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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