diff --git a/metadata/types.go b/metadata/types.go index d078226..628d2a9 100644 --- a/metadata/types.go +++ b/metadata/types.go @@ -38,6 +38,7 @@ type Service struct { HealthCheck HealthCheck `json:"health_check"` PrimaryServiceName string `json:"primary_service_name"` LBConfig LBConfig `json:"lb_config"` + EnvironmentUUID string `json:"environment_uuid"` } type Container struct { @@ -66,6 +67,7 @@ type Container struct { NetworkUUID string `json:"network_uuid"` Links map[string]string `json:"links"` System bool `json:"system"` + EnvironmentUUID string `json:"environment_uuid"` } type Network struct { @@ -77,15 +79,16 @@ type Network struct { } type Host struct { - Name string `json:"name"` - AgentIP string `json:"agent_ip"` - HostId int `json:"host_id"` - Labels map[string]string `json:"labels"` - UUID string `json:"uuid"` - Hostname string `json:"hostname"` - Memory int64 `json:"memory"` - MilliCPU int64 `json:"milli_cpu"` - LocalStorageMb int64 `json:"local_storage_mb"` + Name string `json:"name"` + AgentIP string `json:"agent_ip"` + HostId int `json:"host_id"` + Labels map[string]string `json:"labels"` + UUID string `json:"uuid"` + Hostname string `json:"hostname"` + Memory int64 `json:"memory"` + MilliCPU int64 `json:"milli_cpu"` + LocalStorageMb int64 `json:"local_storage_mb"` + EnvironmentUUID string `json:"environment_uuid"` } type PortRule struct {