19 lines
392 B
Go
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"`
|
||
|
}
|
||
|
}
|