Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewLeaderElection (0.11 sec)

  1. pilot/pkg/leaderelection/leaderelection.go

    	l.runFns = append(l.runFns, f)
    	return l
    }
    
    // NewLeaderElection creates a leader election instance with the provided ID. This follows standard Kubernetes
    // elections, with one difference: the "default" revision will steal the lock from other revisions.
    func NewLeaderElection(namespace, name, electionID, revision string, client kube.Client) *LeaderElection {
    	return newLeaderElection(namespace, name, electionID, revision, false, false, client)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top