goproxie

command module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 16 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 use to interactively select and set your default GCP project. -project flag available.
  • 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
gcloud auth application-default login
  1. Get goproxie:

    a) Build from source

    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.

    b) Download latest executable for macOS, Windows, Linux here

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