Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyServerConfig ¶
type ProxyServerConfig struct {
BindAddress string
Address string
Port int
KubeAPIQPS float32
KubeAPIBurst int
Master string
SyncPeriod time.Duration
Kubeconfig string
EnableProfiling bool
Device string
KeepalivedConfig utilkeepalived.KeepalivedConfig
HaproxyConfig utilhaproxy.HaproxyConfig
}
ProxyServerConfig configures and runs the proxy server.
func NewProxyServerConfig ¶
func NewProxyServerConfig() *ProxyServerConfig
func (*ProxyServerConfig) AddFlags ¶
func (s *ProxyServerConfig) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific ProxyServer to the specified FlagSet.
Click to show internal directories.
Click to hide internal directories.