direktivsource

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvConfig

type EnvConfig struct {
	// Sink URL where to send heartbeat cloudevents
	Sink string `envconfig:"K_SINK"`

	// CEOverrides are the CloudEvents overrides to be applied to the outbound event.
	CEOverrides string `envconfig:"K_CE_OVERRIDES"`
}

type EventSourceReceiver

type EventSourceReceiver struct {
	// contains filtered or unexported fields
}

func NewEventSourceReceiver

func NewEventSourceReceiver(t string) *EventSourceReceiver

func (*EventSourceReceiver) Client

func (esr *EventSourceReceiver) Client() ceclient.Client

func (*EventSourceReceiver) Env

func (esr *EventSourceReceiver) Env() EnvConfig

func (*EventSourceReceiver) ID

func (esr *EventSourceReceiver) ID() string

func (*EventSourceReceiver) Logger

func (esr *EventSourceReceiver) Logger() *zap.SugaredLogger

func (*EventSourceReceiver) Overrides

func (*EventSourceReceiver) OverridesApply

func (esr *EventSourceReceiver) OverridesApply(ev *event.Event)

Jump to

Keyboard shortcuts

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