kube-helper

command module
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

Travis-CICoverage Status Maintainability License


Kube Helper

This tool is used in our workflow to help during the setup of a kubernetes deployment.

Installation

  1. Install go (https://golang.ir/doc/install#install or http://www.golangbootcamp.com/book/get_setup)
  2. Run go env and check the GOPATH variable
  3. Go into the GOPATH directory and execute git clone https://github.com/tourstream/kube-helper.git
  4. Run go get -u github.com/golang/dep
  5. Run go install github.com/golang/dep/cmd/dep
  6. Run dep ensure which ensures you'll have all the dependencies
  7. Go into the kube-helper directory and run go build

Usage

  1. install gcloud sdk
  2. run gcloud auth application-default login to create default credentials

Tests

To generate mocks use the following tool

https://github.com/vektra/mockery

Example command to generate mocks for e.g. command folder

mockery -dir service/app -name ApplicationServiceInterface

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
service
app

Jump to

Keyboard shortcuts

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