callgraph/rancher/types.go
2016-04-13 14:17:46 +02:00

19 lines
392 B
Go

package rancher
type Api struct {
Links map[string]string `json:"links"`
Data []interface{} `json:"data"`
}
type Containers struct {
Data []Container `json:"data"`
}
type Container struct {
Name string `json:"name"`
PrimaryIpAddress string `json:"primaryIpAddress"`
Labels struct {
ProjectServiceName string `json:"io.rancher.project_service.name"`
}
}