kubernetes/staging/src/k8s.io/client-go/tools/leaderelection/resourcelock/multilock.go

const UnknownLeader

type MultiLock

// Get returns the older election record of the lock
func (ml *MultiLock) Get(ctx context.Context) (*LeaderElectionRecord, []byte, error) {}

// Create attempts to create both primary lock and secondary lock
func (ml *MultiLock) Create(ctx context.Context, ler LeaderElectionRecord) error {}

// Update will update and existing annotation on both two resources.
func (ml *MultiLock) Update(ctx context.Context, ler LeaderElectionRecord) error {}

// RecordEvent in leader election while adding meta-data
func (ml *MultiLock) RecordEvent(s string) {}

// Describe is used to convert details on current resource lock
// into a string
func (ml *MultiLock) Describe() string {}

// Identity returns the Identity of the lock
func (ml *MultiLock) Identity() string {}

func ConcatRawRecord(primaryRaw, secondaryRaw []byte) []byte {}