MCPcopy
hub / github.com/kubernetes/client-go / fakeLock

Struct fakeLock

tools/leaderelection/healthzadaptor_test.go:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27)
28
29type fakeLock struct {
30 identity string
31}
32
33// Get is a dummy to allow us to have a fakeLock for testing.
34func (fl *fakeLock) Get() (ler *rl.LeaderElectionRecord, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected