Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Workers ¶
type Workers struct {
// contains filtered or unexported fields
}
Workers type
func (*Workers) BroadcastRequest ¶
BroadcastRequest sends a tower request to workers
func (*Workers) HandleWorkload ¶
func (w *Workers) HandleWorkload() <-chan module.BackupMessage
HandleWorkload handles all incoming requests from tower
func (*Workers) NotifyTower ¶
func (w *Workers) NotifyTower(notifyChannel <-chan module.BackupMessage)
NotifyTower notifies tower
func (*Workers) ProcessAction ¶
func (w *Workers) ProcessAction(notifyChannel chan<- module.BackupMessage, wg *sync.WaitGroup)
ProcessAction process incoming request from the tower
Click to show internal directories.
Click to hide internal directories.