@@ -678,16 +678,17 @@ func (u *UlimitsConfig) MarshalJSON() ([]byte, error) {
678678
679679// NetworkConfig for a network
680680type NetworkConfig struct {
681- Name string `yaml:"name,omitempty" json:"name,omitempty"`
682- Driver string `yaml:"driver,omitempty" json:"driver,omitempty"`
683- DriverOpts Options `yaml:"driver_opts,omitempty" json:"driver_opts,omitempty"`
684- Ipam IPAMConfig `yaml:"ipam,omitempty" json:"ipam,omitempty"`
685- External External `yaml:"external,omitempty" json:"external,omitempty"`
686- Internal bool `yaml:"internal,omitempty" json:"internal,omitempty"`
687- Attachable bool `yaml:"attachable,omitempty" json:"attachable,omitempty"`
688- Labels Labels `yaml:"labels,omitempty" json:"labels,omitempty"`
689- EnableIPv6 * bool `yaml:"enable_ipv6,omitempty" json:"enable_ipv6,omitempty"`
690- Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
681+ Name string `yaml:"name,omitempty" json:"name,omitempty"`
682+ Driver string `yaml:"driver,omitempty" json:"driver,omitempty"`
683+ DriverOpts Options `yaml:"driver_opts,omitempty" json:"driver_opts,omitempty"`
684+ Ipam IPAMConfig `yaml:"ipam,omitempty" json:"ipam,omitempty"`
685+ External External `yaml:"external,omitempty" json:"external,omitempty"`
686+ Internal bool `yaml:"internal,omitempty" json:"internal,omitempty"`
687+ Attachable bool `yaml:"attachable,omitempty" json:"attachable,omitempty"`
688+ Labels Labels `yaml:"labels,omitempty" json:"labels,omitempty"`
689+ CustomLabels Labels `yaml:"-" json:"-"`
690+ EnableIPv6 * bool `yaml:"enable_ipv6,omitempty" json:"enable_ipv6,omitempty"`
691+ Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
691692}
692693
693694// IPAMConfig for a network
@@ -708,12 +709,13 @@ type IPAMPool struct {
708709
709710// VolumeConfig for a volume
710711type VolumeConfig struct {
711- Name string `yaml:"name,omitempty" json:"name,omitempty"`
712- Driver string `yaml:"driver,omitempty" json:"driver,omitempty"`
713- DriverOpts Options `yaml:"driver_opts,omitempty" json:"driver_opts,omitempty"`
714- External External `yaml:"external,omitempty" json:"external,omitempty"`
715- Labels Labels `yaml:"labels,omitempty" json:"labels,omitempty"`
716- Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
712+ Name string `yaml:"name,omitempty" json:"name,omitempty"`
713+ Driver string `yaml:"driver,omitempty" json:"driver,omitempty"`
714+ DriverOpts Options `yaml:"driver_opts,omitempty" json:"driver_opts,omitempty"`
715+ External External `yaml:"external,omitempty" json:"external,omitempty"`
716+ Labels Labels `yaml:"labels,omitempty" json:"labels,omitempty"`
717+ CustomLabels Labels `yaml:"-" json:"-"`
718+ Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
717719}
718720
719721// External identifies a Volume or Network as a reference to a resource that is
0 commit comments