

package kops

type DockerConfig struct {
	Bridge   *string `json:"bridge,omitempty" flag:"bridge"`
	LogLevel *string `json:"logLevel,omitempty" flag:"log-level"`
	IPTables *bool   `json:"ipTables,omitempty" flag:"iptables"`
	IPMasq   *bool   `json:"ipMasq,omitempty" flag:"ip-masq"`

	LogDriver string   `json:"logDriver,omitempty" flag:"log-driver"`
	LogOpt    []string `json:"logOpt,omitempty" flag:"log-opt,repeat"`

	// Storage maps to the docker storage flag
	// But nodeup will also process a comma-separate list, selecting the first supported option
	Storage *string `json:"storage,omitempty" flag:"storage-driver"`

	InsecureRegistry *string `json:"insecureRegistry,omitempty" flag:"insecure-registry"`
	MTU              *int32  `json:"mtu,omitempty" flag:"mtu"`

	// The bridge cidr (--bip) flag
	BridgeIP *string `json:"bridgeIP,omitempty" flag:"bip"`

	// The version of docker to install
	// Be careful if changing this; not all docker versions are validated, and they will break in bad ways.
	Version *string `json:"version,omitempty"`
}
