Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Frontend() *hatypes.Frontend SyncConfig() WriteTCPServicesMaps() error WriteFrontendMaps() error WriteBackendMaps() error AcmeData() *hatypes.AcmeData Global() *hatypes.Global TCPBackends() *hatypes.TCPBackends TCPServices() *hatypes.TCPServices Hosts() *hatypes.Hosts Backends() *hatypes.Backends Userlists() *hatypes.Userlists Clear() Shrink() Commit() }
Config ...
type Instance ¶
type Instance interface { AcmeCheck(source string) (int, error) ParseTemplates() error Config() Config CalcIdleMetric() Update(timer *utils.Timer) Reload(timer *utils.Timer) Shutdown() }
Instance ...
func CreateInstance ¶
func CreateInstance(logger types.Logger, options InstanceOptions) Instance
CreateInstance ...
type InstanceOptions ¶
type InstanceOptions struct { AcmeSigner acme.Signer AcmeQueue utils.Queue RootFSPrefix string LocalFSPrefix string BackendShards int HAProxyCfgDir string HAProxyMapsDir string LeaderElector types.LeaderElector IsMasterWorker bool IsExternal bool MasterSocket string AdminSocket string AcmeSocket string MaxOldConfigFiles int Metrics types.Metrics ReloadQueue utils.Queue ReloadStrategy string SortEndpointsBy string StopCh chan struct{} TrackInstances bool ValidateConfig bool // contains filtered or unexported fields }
InstanceOptions ...
Click to show internal directories.
Click to hide internal directories.