forked from josmo/drone-ecs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.go
28 lines (26 loc) · 1.34 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main
import (
"github.com/drone/drone-go/drone"
)
type Params struct {
AccessKey string `json:"access_key"`
SecretKey string `json:"secret_key"`
Region string `json:"region"`
Family string `json:"family"`
Image string `json:"image_name"`
Tag string `json:"image_tag"`
Service string `json:"service"`
Cluster string `json:"cluster"`
ContainerName string `json:"container_name"`
DeploymentConfiguration string `json:"deployment_configuration"`
NetworkMode string `json:"network_mode"`
CPU int64 `json:"cpu"`
DesiredCount int64 `json:"desired_count"`
Memory int64 `json:"memory"`
MemoryReservation int64 `json:"memoryReservation"`
Environment drone.StringSlice `json:"environment_variables"`
PortMappings drone.StringSlice `json:"port_mappings"`
LogDriver string `json:"log_driver"`
LogDriverOptions drone.StringSlice `json:"log_driver_options"`
DockerLabels drone.StringSlice `json:"docker_labels"`
}