You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/configuration.go
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,11 @@ package configuration
17
17
18
18
import (
19
19
"encoding/json"
20
+
"fmt"
20
21
"io/ioutil"
22
+
"os"
21
23
"path/filepath"
24
+
"strings"
22
25
23
26
"math/rand"
24
27
"time"
@@ -51,6 +54,7 @@ type HAProxyConfiguration struct {
51
54
UpdateMapFilesbool`long:"update-map-files" description:"Flag used for syncing map files with runtime maps values"`
52
55
UpdateMapFilesPeriodint64`long:"update-map-files-period" description:"Elapsed time in seconds between two maps syncing operations" default:"10"`
53
56
ClusterTLSCertDirstring`long:"cluster-tls-dir" description:"Path where cluster tls certificates will be stored. Defaults to same directory as dataplane configuration file"`
57
+
MasterWorkerModebool`long:"master-worker-mode" description:"Flag to enable helpers when running within HAProxy"`
0 commit comments