event

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	EventType     watch.EventType
	Endpoints     *corev1.Endpoints
	ClusterName   string
	Labels        map[string]string
	EndpointsName string
}

type Notifier

type Notifier interface {
	Send(notif *Notification)
	ReadChan() <-chan Notification
}

type Unbuffered

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

func New

func New() *Unbuffered

func (*Unbuffered) ReadChan

func (n *Unbuffered) ReadChan() <-chan Notification

func (*Unbuffered) Send

func (n *Unbuffered) Send(notif *Notification)

Jump to

Keyboard shortcuts

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