Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BridgeConfig ¶
type BridgeConfig struct { Type string `json:"type"` Bridge string `json:"bridge"` IsGateway bool `json:"isGateway,omitempty"` IsDefaultGateway bool `json:"isDefaultGateway,omitempty"` ForceAddress bool `json:"forceAddress,omitempty"` HairpinMode bool `json:"hairpinMode,omitempty"` MTU int `json:"mtu,omitempty"` IPAM IPAMConfig `json:"ipam"` }
type CNINetConf ¶
type CNINetConf struct { CNIVersion string `json:"cniVersion,omitempty"` Name string `json:"name,omitempty"` Plugins []interface{} `json:"plugins"` }
CNINetConf describes a network.
type CapbilitiesConfig ¶
type Config ¶
type Config struct { LocalCerts []string SyncPeriod time.Duration DebounceDuration time.Duration TunnelsConfPath string MASQOutgoing bool DummyInterfaceName string EnableHairpinMode bool NetworkPluginMTU int CNI struct { Version string ConfDir string NetworkName string BridgeName string } DNS struct { Enabled bool BindIP string ClusterDomain string Debug bool Probe bool } Proxy struct { Enabled bool // Mode string // clusterCIDR is the CIDR range of the pods in the cluster, // this is a CIDR list seperated by comma, like "10.234.64.0/18,10.235.64.0/18". // I use clusterCIDR as name because kube-proxy use this name ClusterCIDR string } EnableAutoNetworking bool MulticastAddress string MulticastToken string MulticastInterval time.Duration EndpointTTL time.Duration BackupInterval time.Duration Workdir string TunnelInitTimeout uint }
type IPAMConfig ¶
Click to show internal directories.
Click to hide internal directories.