Skip to content

goboilerplates/openfaas-getsamples-all

Boilerplate for GetSamplesAll OpenFaas Function in Go

Build Status codecov Go Report Card GoDoc License

Features

  • OpenFaas Function
  • CI with Travis
  • Docker Build
  • Docker Compose

Installation

Get the openfaas-getsamples-all repository

go get github.com/goboilerplates/openfaas-getsamples-all

cd echo $GOPATH/src/github.com/goboilerplates/openfaas-getsamples-all

Running the tests

Run all tests

go test ./test/...

Or run all tests with coverage

bash script/coverage.sh

Docker support

Deploy OpenFaas with Docker Swarm

docker swarm init

bash script/deploy_stack.sh

Build function docker image

bash script/Dockerbuild.sh

Deploy function to OpenFaas

bash script/deploy.sh

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Boilerplate for GetSamplesAll OpenFaas Function in Go

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors