Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Updating the types used for volumes,networks and more
Browse files Browse the repository at this point in the history
  • Loading branch information
prachidamle authored and Alena Prokharchyk committed Oct 18, 2018
1 parent a6823c0 commit bb05ebc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ type ServiceConfig struct {
DNSOpt []string `yaml:"dns_opt,omitempty"`
DNSSearch []string `yaml:"dns_search,omitempty"`
DrainTimeoutMs string `yaml:"drain_timeout_ms,omitempty"`
Volumes map[string]interface{} `yaml:"volumes,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
VolumesFrom []string `yaml:"volumes_from,omitempty"`
VolumeDriver string `yaml:"volume_driver,omitempty"`
Networks map[string]interface{} `yaml:"networks,omitempty"`
Networks []string `yaml:"networks,omitempty"`
NetworkMode string `yaml:"network_mode,omitempty"`
Labels map[string]string `yaml:"labels,omitempty"`
Isolation string `yaml:"isolation,omitempty"`
Sysctls map[string]string `yaml:"sysctls,omitempty"`
Secrets map[string]interface{} `yaml:"secrets,omitempty"`
Secrets []string `yaml:"secrets,omitempty"`
SecurityOpt []string `yaml:"security_opt,omitempty"`
StopSignal string `yaml:"stop_signal,omitempty"`
Ulimits map[string]interface{} `yaml:"ulimits,omitempty"`
Expand Down

0 comments on commit bb05ebc

Please sign in to comment.