Add leadership election

This commit is contained in:
Alex Vest
2022-10-04 16:41:34 +01:00
parent be80ce35b2
commit 7f9f32ca58
6 changed files with 137 additions and 12 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ import (
// ResourceHandler handles the creation and update of resources
type ResourceHandler interface {
Handle() error
Handle(isLeader bool) error
GetConfig() (util.Config, string)
}