Documentation ¶
Overview ¶
Package ctrl is the control plane server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneServer ¶
type ControlPlaneServer struct {
// contains filtered or unexported fields
}
ControlPlaneServer is the control plane server
func NewControlPlaneServer ¶
func NewControlPlaneServer(cfg configurator.Configurator, msgBroker *messaging.Broker) *ControlPlaneServer
NewControlPlaneServer creates a new ControlPlaneServer
func (*ControlPlaneServer) AddBackground ¶
func (s *ControlPlaneServer) AddBackground(key string, background *conn.Background)
AddBackground adds a background with the given cluster key
func (*ControlPlaneServer) DestroyBackground ¶
func (s *ControlPlaneServer) DestroyBackground(key string)
DestroyBackground destroys the background with the given cluster key
func (*ControlPlaneServer) GetBackground ¶
func (s *ControlPlaneServer) GetBackground(key string) (*conn.Background, bool)
GetBackground returns the background with the given cluster key
func (*ControlPlaneServer) Run ¶
func (s *ControlPlaneServer) Run(stop <-chan struct{})
Run starts the control plane server
Click to show internal directories.
Click to hide internal directories.