Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent watches etcd to trigger config updates
func NewAgent ¶
func NewAgent( client *clientv3.Client, scs storage.ServerConfigStorage, mcs storage.MainConfigStorage, readyCh chan interface{}, ) *Agent
NewAgent creates a new Agent instance
type StatusServer ¶
type StatusServer interface {
Run() error
}
StatusServer is used to query the agent status from the outside
func NewStatusServer ¶
func NewStatusServer(readyCh <-chan interface{}) StatusServer
NewStatusServer creates a new StatusServer
Click to show internal directories.
Click to hide internal directories.