listener

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddListener

func AddListener(listener ClusterChangeListener)

Types

type ClusterChangeListener

type ClusterChangeListener interface {
	AddCluster(cluster mc.ClusterInterface)
	WatchCluster(cluster mc.ClusterInterface)
	RemoveCluster(cluster mc.ClusterInterface)
}

type MCControllerListener

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

func (MCControllerListener) AddCluster

func (m MCControllerListener) AddCluster(cluster mc.ClusterInterface)

func (MCControllerListener) RemoveCluster

func (m MCControllerListener) RemoveCluster(cluster mc.ClusterInterface)

func (MCControllerListener) WatchCluster

func (m MCControllerListener) WatchCluster(cluster mc.ClusterInterface)

Jump to

Keyboard shortcuts

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