cyanogaster

module
Version: v0.0.0-...-d1a2ef7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0

README

Cyanogaster

A transparent broker implementation for testing and development.

Installing

ko apply -Bf ./config/saas/

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ConfigMap
metadata:
  name: config-br-defaults
  namespace: knative-eventing
data:
  default-br-config: |
    # This is the cluster-wide default broker channel.
    clusterDefault:
      brokerClass: GlassBroker
      delivery:
        retry: 5
        backoffPolicy: exponential
        backoffDelay: PT0.1S
EOF

Testing

kubectl apply -f - << EOF
apiVersion: eventing.knative.dev/v1
kind: Broker
metadata:
  name: demo
  annotations:
    eventing.knative.dev/broker.class: GlassBroker
EOF
kubectl apply -f - << EOF
apiVersion: eventing.knative.dev/v1
kind: Trigger
metadata:
  name: demo
spec:
  broker: demo
  filter:
    attributes:
      type: dev.chainguard.ingester.ingest.v1
  subscriber:
    uri: http://demo.demo-system.svc
EOF

Directories

Path Synopsis
cmd
pkg
third_party
VENDOR-LICENSE/github.com/hashicorp/golang-lru
Package lru provides three different LRU caches of varying sophistication.
Package lru provides three different LRU caches of varying sophistication.

Jump to

Keyboard shortcuts

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