Documentation ¶
Overview ¶
Package clusterhandler watchs k8s crd if it is enabled, listen on a websocket tunnel to access connection from child, and process message from child or parent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterHandler ¶
type ClusterHandler interface {
Start() error // nonblock
}
ClusterHandler is the interface to do cluster handler job. Get one by NewClusterHandler and Start it.
func NewClusterHandler ¶
func NewClusterHandler(c *config.ClusterControllerConfig) (ClusterHandler, error)
NewClusterHandler news a ClusterHandler by ClusterControllerConfig.
Click to show internal directories.
Click to hide internal directories.