mirror of
https://github.com/harness/drone.git
synced 2025-05-19 10:29:55 +08:00
feat: [CDE-585]: Add json tags for InstanceInfo (#3331)
* feat: [CDE-585]: Add json tags for InstanceInfo
This commit is contained in:
parent
c8a1e128b8
commit
d194dc1446
@ -38,15 +38,16 @@ type PortMapping struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InstanceInfo struct {
|
type InstanceInfo struct {
|
||||||
ID string
|
ID string `json:"id"`
|
||||||
Name string
|
Name string `json:"name"`
|
||||||
IPAddress string
|
IPAddress string `json:"ip_address"`
|
||||||
Port int64
|
Port int64 `json:"port"`
|
||||||
OS string
|
OS string `json:"os"`
|
||||||
Arch string
|
Arch string `json:"arch"`
|
||||||
Provider string
|
Provider string `json:"provider"`
|
||||||
PoolName string
|
PoolName string `json:"pool_name"`
|
||||||
Zone string
|
Zone string `json:"zone"`
|
||||||
|
StorageIdentifier string `json:"storage_identifier"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Infrastructure struct {
|
type Infrastructure struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user