Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer interface { Join(ctx context.Context, addresses []string, agent *agentinfo.AgentsNodeInfo) error GetAgents() []*agentinfo.AgentsNodeInfo GetDispatchers() []*agentinfo.AgentsNodeInfo }
Discoverer allow agents to discover each other.
func NewSerfDiscoverer ¶
type SerfDiscoverer ¶
type SerfDiscoverer struct {
// contains filtered or unexported fields
}
func (*SerfDiscoverer) GetAgents ¶
func (s *SerfDiscoverer) GetAgents() []*agentinfo.AgentsNodeInfo
func (*SerfDiscoverer) GetDispatchers ¶
func (s *SerfDiscoverer) GetDispatchers() []*agentinfo.AgentsNodeInfo
func (*SerfDiscoverer) Join ¶
func (s *SerfDiscoverer) Join(ctx context.Context, addresses []string, agent *agentinfo.AgentsNodeInfo) error
Click to show internal directories.
Click to hide internal directories.