2014-10-06 23:06:33 +04:00
|
|
|
package config
|
|
|
|
|
|
|
|
type Flannel struct {
|
2014-11-22 02:01:23 +03:00
|
|
|
EtcdEndpoint string `yaml:"etcd_endpoint" env:"FLANNELD_ETCD_ENDPOINT"`
|
|
|
|
EtcdPrefix string `yaml:"etcd_prefix" env:"FLANNELD_ETCD_PREFIX"`
|
|
|
|
IPMasq string `yaml:"ip_masq" env:"FLANNELD_IP_MASQ"`
|
|
|
|
SubnetFile string `yaml:"subnet_file" env:"FLANNELD_SUBNET_FILE"`
|
2014-10-06 23:06:33 +04:00
|
|
|
Iface string `yaml:"interface" env:"FLANNELD_IFACE"`
|
|
|
|
}
|