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