agentelection

package
v2.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module is a fx module that provides etcd based leader election per agent group.

func ProvideAgentElection

func ProvideAgentElection(
	in election.ElectionIn,
	agentInfo *agentinfo.AgentInfo,
) *election.Election

ProvideAgentElection provides a wrapper around etcd based leader election for agents.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL