Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeaderElectionMetric ¶
NewLeaderElectionMetric creates a new leader election metric
Types ¶
type LeaderElectionMetric ¶
type LeaderElectionMetric struct {
// contains filtered or unexported fields
}
LeaderElectionMetric represents metrics about leader election
func (*LeaderElectionMetric) NeedLeaderElection ¶
func (l *LeaderElectionMetric) NeedLeaderElection() bool
NeedLeaderElection implements controller-runtime's manager.LeaderElectionRunnable.
Click to show internal directories.
Click to hide internal directories.