Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { APIServerHost string KubeConfigFile string Client clientset.Interface ResyncPeriod time.Duration DefaultService string Namespace string ListenPorts *wls_config.ListenPorts EnableMetrics bool ElectionID string PublishService string SyncRateLimit float32 RedisSentinelService string RedisSentinelPort int RedisMasterName string RedisMaxRetries int RedisMinRetryBackoff time.Duration RedisMaxRetryBackoff time.Duration RedisNamespacePrefix string }
Configuration contains all the settings required by an Ingress controller
type WLSController ¶
type WLSController struct {
// contains filtered or unexported fields
}
WLSController describes a WLS Ingress controller.
func NewWLSController ¶
func NewWLSController(config *Configuration, mc metric.Collector, fs file.Filesystem) *WLSController
NewWLSController creates a new WLS Ingress controller.
func (*WLSController) OnUpdate ¶
func (n *WLSController) OnUpdate(ingressIn *wls_config.Configuration) error
OnUpdate is called by the synchronization loop whenever configuration changes were detected. The received backend Configuration is copied into the running configuration
func (*WLSController) Start ¶
func (n *WLSController) Start()
Start starts a new NGINX master process running in the foreground.
func (*WLSController) Stop ¶
func (n *WLSController) Stop() error
Stop gracefully stops the WLS HTTP proxy.
Click to show internal directories.
Click to hide internal directories.