monitor

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapMonitor

type ConfigMapMonitor struct {
	watcher.ObjectMonitorInterface
	ConfigurationRegistry ConfigurationRegistry
	ConfigMapName         string
	Namespace             string
	// contains filtered or unexported fields
}

func New

func New(configMapName string, namespace string, ConfigurationRegistry ConfigurationRegistry) (*ConfigMapMonitor, error)

func (*ConfigMapMonitor) End added in v0.9.0

func (cmm *ConfigMapMonitor) End(ctx context.Context, namespace, name string)

func (*ConfigMapMonitor) Handle added in v0.9.0

func (cmm *ConfigMapMonitor) Handle(ctx context.Context, event *watch.Event)

type ConfigurationRegistry

type ConfigurationRegistry interface {
	SetTrench(*nspAPI.Trench)
	SetConduits([]*nspAPI.Conduit)
	SetStreams([]*nspAPI.Stream)
	SetFlows([]*nspAPI.Flow)
	SetVips([]*nspAPI.Vip)
	SetAttractors([]*nspAPI.Attractor)
	SetGateways([]*nspAPI.Gateway)
}

Jump to

Keyboard shortcuts

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