monitor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 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 {
	ConfigurationRegistry ConfigurationRegistry
	ConfigMapName         string
	Namespace             string
	Clientset             *kubernetes.Clientset
	// contains filtered or unexported fields
}

func New

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

func (*ConfigMapMonitor) Start

func (cmm *ConfigMapMonitor) Start(ctx context.Context)

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