Documentation ¶
Index ¶
Constants ¶
View Source
const SiloProjectName string = "silo-client-services"
SiloProjectName is the const name of the "project" we will run through libcompose
Variables ¶
View Source
var Project project.APIProject
Project that this silo-agent is working with
View Source
var ServicesHaveBeenStarted = false
ServicesHaveBeenStarted Declares if any services have been started on this silo agent
View Source
var WorkQueue = make(chan Work, 100)
WorkQueue is a buffered channel that we can send work requests on
View Source
var WorkerQueue chan chan Work
WorkerQueue defines the interface for workers to read from, a channel of work channels
Functions ¶
Types ¶
type ConfigUpdate ¶
ConfigUpdate struct contains data to update the running contianers on the system
type Work ¶
type Work struct { Name string Data json.RawMessage Delay time.Duration }
Work struct defines the basic format for all work processed by the agent Data is an encoded JSON raw message and is decoded based upon the given name
Click to show internal directories.
Click to hide internal directories.