package
8.15.2+incompatible
Repository: https://github.com/elastic/cloudbeat.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewMockManager creates a new instance of MockManager.
# Constants
FirstLeaderDeadline is the duration to wait for the leader to acquire the lease for the first time.
No description provided by the author
LeaseDuration is the duration that non-leader candidates will wait to force acquire leadership.
No description provided by the author
RenewDeadline is the duration that the acting manager will retry refreshing leadership before giving up.
RetryPeriod is the duration the LeaderElector clients should wait between tries of actions.
# Structs
DefaultUniqueManager A dummy leader-election manager to implement the UniquenessManager interface.
No description provided by the author
MockManager is an autogenerated mock type for the Manager type.
No description provided by the author
MockManager_IsLeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLeader'.
MockManager_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'.
MockManager_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'.
# Interfaces
No description provided by the author