Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeRouterConfig ¶
type KubeRouterConfig struct {
HelpRequested bool
Kubeconfig string
Master string
ConfigSyncPeriod time.Duration
CleanupConfig bool
IPTablesSyncPeriod time.Duration
IpvsSyncPeriod time.Duration
RoutesSyncPeriod time.Duration
RunServiceProxy bool
RunFirewall bool
RunRouter bool
MasqueradeAll bool
ClusterCIDR string
EnablePodEgress bool
HostnameOverride string
AdvertiseClusterIp bool
AdvertiseExternalIp bool
PeerRouters []net.IP
PeerASNs []uint
PeerMultihopTtl uint8
ClusterAsn uint
FullMeshMode bool
BGPGracefulRestart bool
EnableiBGP bool
GlobalHairpinMode bool
NodePortBindOnAllIp bool
EnableOverlay bool
PeerPasswords []string
EnablePprof bool
}
func NewKubeRouterConfig ¶
func NewKubeRouterConfig() *KubeRouterConfig
func (*KubeRouterConfig) AddFlags ¶
func (s *KubeRouterConfig) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.