keptn send event

keptn send event

Sends an event to Keptn

Synopsis

Sends an arbitrary Keptn event that is defined in the provided JSON file. An event has to follow the CloudEvents specification (https://cloudevents.io/) in version 0.2 and has to be written in JSON. In addition, the payload of the CloudEvent needs to follow the Keptn spec (https://github.com/keptn/spec/blob/0.1.4/cloudevents.md).

keptn send event --file=FILEPATH [flags]

Examples

keptn send event --file=./new_artifact_event.json

Options

  -f, --file string   The file containing the event as Cloud Event in JSON.
  -h, --help          help for event

Options inherited from parent commands

      --mock                 Disables communication to a Keptn endpoint
  -q, --quiet                Suppresses debug and info messages
      --suppress-websocket   Disables WebSocket communication to suppress info messages from services running inside Keptn
  -v, --verbose              Enables verbose logging to print debug messages

SEE ALSO

Auto generated by spf13/cobra on 3-Aug-2020