callgraph/rancher/types.go

19 lines
392 B
Go
Raw Normal View History

2016-04-13 12:17:46 +00:00
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"`
}
}