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
PeerRouters []net.IP
PeerASNs []uint
ClusterAsn uint
FullMeshMode bool
GlobalHairpinMode bool
NodePortBindOnAllIp bool
EnableOverlay bool
PeerPasswords []string
}
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.