initial logic for failover

This commit is contained in:
0xdcarns
2022-09-21 15:13:17 -04:00
parent 45850ef4a1
commit d565dbeaf8
6 changed files with 118 additions and 0 deletions

View File

@@ -18,8 +18,12 @@ import (
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
)
// EnterpriseCheckFuncs - can be set to run functions for EE
var EnterpriseCheckFuncs []interface{}
// EnterpriseFailoverFunc - interface to control failover funcs
var EnterpriseFailoverFunc interface{}
// == Join, Checkin, and Leave for Server ==
// KUBERNETES_LISTEN_PORT - starting port for Kubernetes in order to use NodePort range