-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.go
More file actions
28 lines (24 loc) · 718 Bytes
/
types.go
File metadata and controls
28 lines (24 loc) · 718 Bytes
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/aws/aws-sdk-go/aws/session"
)
type Statika struct {
services []*ServiceDescription
instanceID string
containerInstanceID string
configurationURL string
serviceDescriptionURL string
session *session.Session
region string
}
type ServiceDescription struct {
ServiceName string `json:"serviceName"`
Family string `json:"family"`
LoadBalancerName string `json:"loadBalancerName"`
ExposedContainerName string `json:"exposedContainerName"`
}
// Configuration holds the basic environment information for Statika including the name of the service description file
type Configuration struct {
Cluster string `json:"cluster"`
SleepTimeSeconds int64 `json:"sleepTimeSeconds"`
}