Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Listeners []ClusterChangeListener
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) }
func NewMCControllerListener ¶
func NewMCControllerListener(c *mc.MultiClusterController, o mc.WatchOptions) ClusterChangeListener
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)
Click to show internal directories.
Click to hide internal directories.