Versions in this module Expand all Collapse all v0 v0.4.1 Aug 22, 2018 v0.4.0 Aug 20, 2018 Changes in this version + type BoolOrTemplate struct + Value bool + ValueTemplate string + type Config struct + Configs map[string]types.ConfigObjConfig + Filename string + Networks map[string]types.NetworkConfig + Secrets map[string]types.SecretConfig + Services Services + Version string + Volumes map[string]types.VolumeConfig + type DeployConfig struct + EndpointMode string + Labels types.Labels + Mode string + Placement types.Placement + Replicas UInt64OrTemplate + Resources Resources + RestartPolicy *types.RestartPolicy + RollbackConfig *UpdateConfig + UpdateConfig *UpdateConfig + type DurationOrTemplate struct + Value *time.Duration + ValueTemplate string + type FileReferenceConfig struct + GID string + Mode UInt64OrTemplate + Source string + Target string + UID string + type HealthCheckConfig struct + Disable bool + Interval DurationOrTemplate + Retries UInt64OrTemplate + StartPeriod *time.Duration + Test types.HealthCheckTest + Timeout DurationOrTemplate + type Resource struct + GenericResources []types.GenericResource + MemoryBytes UnitBytesOrTemplate + NanoCPUs string + type Resources struct + Limits *Resource + Reservations *Resource + type ServiceConfig struct + Build types.BuildConfig + CapAdd []string + CapDrop []string + CgroupParent string + Command types.ShellCommand + Configs []ServiceConfigObjConfig + ContainerName string + CredentialSpec types.CredentialSpecConfig + DNS types.StringList + DNSSearch types.StringList + DependsOn []string + Deploy DeployConfig + Devices []string + DomainName string + Entrypoint types.ShellCommand + EnvFile types.StringList + Environment types.MappingWithEquals + Expose types.StringOrNumberList + ExternalLinks []string + ExtraHosts types.HostsList + Extras map[string]interface{} + HealthCheck *HealthCheckConfig + Hostname string + Image string + Init *BoolOrTemplate + Ipc string + Isolation string + Labels types.Labels + Links []string + Logging *types.LoggingConfig + MacAddress string + Name string + NetworkMode string + Networks map[string]*types.ServiceNetworkConfig + Pid string + Ports []ServicePortConfig + Privileged BoolOrTemplate + ReadOnly BoolOrTemplate + Restart string + Secrets []ServiceSecretConfig + SecurityOpt []string + StdinOpen BoolOrTemplate + StopGracePeriod DurationOrTemplate + StopSignal string + Sysctls types.StringList + Tmpfs types.StringList + Tty BoolOrTemplate + Ulimits map[string]*types.UlimitsConfig + User string + UserNSMode string + Volumes []ServiceVolumeConfig + WorkingDir string + type ServiceConfigObjConfig FileReferenceConfig + type ServicePortConfig struct + Mode string + Protocol string + Published UInt64OrTemplate + Target UInt64OrTemplate + type ServiceSecretConfig FileReferenceConfig + type ServiceVolumeConfig struct + Bind *types.ServiceVolumeBind + Consistency string + ReadOnly BoolOrTemplate + Source string + Target string + Tmpfs *types.ServiceVolumeTmpfs + Type string + Volume *types.ServiceVolumeVolume + type Services []ServiceConfig + func (s Services) MarshalYAML() (interface{}, error) + type UInt64OrTemplate struct + Value *uint64 + ValueTemplate string + type UnitBytesOrTemplate struct + Value int64 + ValueTemplate string + type UpdateConfig struct + Delay time.Duration + FailureAction string + MaxFailureRatio float32 + Monitor time.Duration + Order string + Parallelism UInt64OrTemplate