Documentation ¶
Index ¶
- type Agent
- func (a *Agent) ApplyConfig(request *lbot.ConfigRequest) error
- func (a *Agent) ApplyConfigFromFile(path string) error
- func (a *Agent) Heartbeat() error
- func (a *Agent) Listen() error
- func (a *Agent) Metrics() error
- func (a *Agent) ServeGrpc() error
- func (a *Agent) Start() error
- func (a *Agent) WatchConfigFile(configFile string) (err error)
- type AgentState
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
}
func (*Agent) ApplyConfig ¶
func (a *Agent) ApplyConfig(request *lbot.ConfigRequest) error
remove from here
func (*Agent) ApplyConfigFromFile ¶
func (*Agent) WatchConfigFile ¶
type AgentState ¶
type AgentState int
const ( AgentStateLeader AgentState = iota AgentStateFollower )
func (AgentState) String ¶
func (i AgentState) String() string
Click to show internal directories.
Click to hide internal directories.