File tree Expand file tree Collapse file tree 1 file changed +24
-12
lines changed
ecs-cli/modules/cli/compose/containerconfig Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change 1
1
package containerconfig
2
2
3
+ import "github.com/aws/aws-sdk-go/service/ecs"
4
+
3
5
// ContainerConfig all compose fields supported by the ecs-cli
4
6
// TODO: finalize fields
5
7
type ContainerConfig struct {
6
8
Name string
7
9
8
- CapAdd []string
9
- CapDrop []string
10
- Command string // type TBD
11
- Devices []string
12
- DNS []string // StringList in docker/cli
13
- Entrypoint string // ShellCommand in docker/cli
14
- Environment []string // MappingWithEquals in docker/cli
15
- EnvFile []string // StringList in docker/cli
16
- ExtraHosts []string
17
- Hostname string
18
- HealthCheck interface {} // *HealthCheckConfig in docker/cli
19
- Image string
10
+ CapAdd []string
11
+ CapDrop []string
12
+ Command []string
13
+ Devices []string
14
+ DNSSearchDomains []string
15
+ DNSServers []string
16
+ DockerLabels map [string ]* string
17
+ DockerSecurityOptions []string
18
+ Entrypoint []string
19
+ Environment []* ecs.KeyValuePair
20
+ ExtraHosts []string
21
+ Hostname string
22
+ HealthCheck * ecs.HealthCheck
23
+ Image string
24
+ Links []string
25
+ LogConfiguration * ecs.LogConfiguration
26
+ PortMappings []* ecs.PortMapping
27
+ Privileged bool
28
+ ReadOnly bool
29
+ Tmpfs []string
30
+ User string
31
+ WorkingDirectory string
20
32
}
You can’t perform that action at this time.
0 commit comments