ctrl

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

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