mechserv

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

README

mechserv

build

make

test

DATA="{\"description\": \"Mech of Brixton\",\"name\": \"foo\",\"release\": \"2019121\",\"version\": \"1.0.1\"}"

curl -XPOST  -H "Content-Type: application/json"  -d "$DATA" http://localhost:9999/api/v1/mechs

curl -XGET -H "Content-Type: application/json" http://localhost:9999/api/v1/mechs
export MECHSERV_HOST="http://localhost"
export MECHSERV_PORT="9999"

# Create initial mechs
./mechit.py init

# Create more mechs
./mechit.py create --name "brak" --version "11.1.2" --description "Mech of the Barbarian" --debug

k8s

kubectl create namespace mechserver
kubectl apply -f ci/deployment.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package templates generated by go-bindata.// sources: index.html mech.html mechs.html mech.css
Package templates generated by go-bindata.// sources: index.html mech.html mechs.html mech.css

Jump to

Keyboard shortcuts

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