sockeye

module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0

README

Sockeye

Sockeye Logo

Websocket based CloudEvents viewer.

Usage

Visit the root of the sockeye service in a web browser. Then POST CloudEvents to the sockeye service and they will be displayed to the root page via a ws connection.

Example curl:

curl -X POST -H "Content-Type: application/json" \
  -H "ce-specversion: 1.0" \
  -H "ce-source: curl-command" \
  -H "ce-type: curl.demo" \
  -H "ce-id: 123-abc" \
  -d '{"name":"Earl"}' \
  http://localhost:8080/

See also, the CloudEvents Spec or golang SDK to get started sending CloudEvents formatted events.

Running Locally

KO_DATA_PATH=./cmd/sockeye/kodata go run cmd/sockeye/main.go

The UI source can be found in the sockeye-react repo. These might merge together when the UI is ironed out.

Running on Kubernetes

From Release v0.7.0 (experimental react.js based ui)

To install into your default namespace

kubectl apply -f https://github.com/n3wscott/sockeye/releases/download/v0.7.0/release.yaml
From Release v0.6.3

To install into your default namespace

kubectl apply -f https://github.com/n3wscott/sockeye/releases/download/v0.6.3/release.yaml

This artifact will work on the following linux architectures: amd64, arm, arm64, ppc64le, s390x

From Source
ko apply -f config/sockeye.yaml

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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