function

package
v0.0.0-...-24a16b5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: MIT Imports: 10 Imported by: 0

README

pipeline-log function

GET - fetch pipeline log POST - store pipeline log

Backend: S3 (tested with Minio, AWS should work)

Example:

POST

curl http://192.168.0.26:31112/function/pipeline-log -d '{"repoPath": "alexellis/super-pancake", "commitSHA": "a3ef55c", "function": "slack-fn1", "source": "builder","data": "Line1\nLine2\n"}'

GET

curl "http://192.168.0.26:31112/function/pipeline-log?repoPath=alexellis/super-pancake&commitSHA=a3ef55c&function=slack-fn1" -i

TBD

Add verification of sender via HMAC secret

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(req []byte) string

Handle a serverless request

Types

This section is empty.

Jump to

Keyboard shortcuts

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