Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Config *config.Config
Log log.FieldLogger
DirectorState bool
DirectorLock *sync.Mutex
MemberID string
DalClient dal.IDal // etcd client is/should-be thread safe
Hostname string
StateChan chan<- bool
DistributeChan chan<- bool
OverwatchChan chan<- *overwatch.Message
DirectorMonitorLooper looper.Looper
DirectorHeartbeatLooper looper.Looper
MemberHeartbeatLooper looper.Looper
base.Component
// contains filtered or unexported fields
}
func New ¶
Source Files
¶
- cluster.go
Click to show internal directories.
Click to hide internal directories.