events

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicSource

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

func NewDynamicSource

func NewDynamicSource() *DynamicSource

func (*DynamicSource) Close

func (o *DynamicSource) Close() error

func (*DynamicSource) Events

func (o *DynamicSource) Events() <-chan *proto.Event

func (*DynamicSource) Load

func (o *DynamicSource) Load(log logr.Logger) error

func (*DynamicSource) SendEvent

func (o *DynamicSource) SendEvent(event *proto.Event)

type EventReader

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

func NewEventReader

func NewEventReader(reader io.Reader) *EventReader

func (*EventReader) Read

func (reader *EventReader) Read() (*pb.Event, error)

type EventWriter

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

func NewEventWriter

func NewEventWriter(writer io.WriteCloser) *EventWriter

func (*EventWriter) Close

func (writer *EventWriter) Close() error

func (*EventWriter) Write

func (writer *EventWriter) Write(event *pb.Event) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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