cron

command
v0.0.0-...-5ffd849 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Cron (aka. Ping)

This sample shows how to create a Cron Event Source and hook it up to an Application that will receive its events. An event is sent once a minute and will contain just a simple JSON object as the payload.

The App will log (print to stdout) each event as it arrives, showing the full set of HTTP Headers and HTTP Body payload. This makes it a useful tool for testing other Event Sources, to see what they generate.


As noted in the main README, this sample has two pieces:

  • a build script which will build the container image(s) used
  • a run script which deploys resources that use those images

The main purpose of this example is the run script, but the build script is included for complete educational (and reuse) purposes.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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