cetokjob

command module
v0.0.0-...-dc0ca79 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 12 Imported by: 0

README

cetokjob

Docker

Receive Events in the form of CloudEvents and generate a job with the data packed into environment variables.

Usage

TODO

Developing

skaffold
skaffold dev --port-forward
curl sample for firing CloudEvents
curl -v "localhost:8080" \
    -X POST \
    -H "Ce-Id: 536808d3-88be-4077-9d7a-a3f162705f79" \
    -H "Ce-Specversion: 1.0" \
    -H "Ce-Type: sample" \
    -H "Ce-Source: sample" \
    -H "Content-Type: application/json" \
    -d '{"msg":"Hello World from the curl pod."}'

Tips

Command to remove all jobs
kubectl get job -o name | xargs kubectl delete

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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