loudspeaker-runtime

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT

README

Loudspeaker Runtime

Docker Go Reference Test report codecov

Get the kubernetes event from the WatchAPI and send it to the target.

flowchart LR
Loudspeaker(loudspeaker) -->|Watch Event| KubeAPI[KubeAPI]  
Loudspeaker(loudspeaker) -->|Watch Configmaps| KubeAPI[KubeAPI]  
Loudspeaker -->|Events| C[Listener1]

Settings

Required Environment

Environment Details
Type Listener Type. This will change the format of the credentials to be read.
ConfigmapName The name of the configmaps to load the configuration from.
Namespace Specify the namespace of configmaps to be monitored by WatchAPI.

Configmaps data format

observes:
  - namespace: "default"
    ignoresReasons:
      - ""
    ignoreObjectNames: 
      - "sample-cronjob"
    ignoreObjectKinds:
      - "Cronjob"
    ignoreEventTypes:
      - "Warning"

Refer to the CRD API specification for a description of each field. https://pkg.go.dev/github.com/ureuzy/loudspeaker@v0.1.2/api/v1alpha1

Directories

Path Synopsis
cmd
runtime command
pkg

Jump to

Keyboard shortcuts

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