mirror of
https://github.com/harness/drone.git
synced 2025-05-19 02:20:03 +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 {
|
||||
ID string
|
||||
Name string
|
||||
IPAddress string
|
||||
Port int64
|
||||
OS string
|
||||
Arch string
|
||||
Provider string
|
||||
PoolName string
|
||||
Zone string
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
IPAddress string `json:"ip_address"`
|
||||
Port int64 `json:"port"`
|
||||
OS string `json:"os"`
|
||||
Arch string `json:"arch"`
|
||||
Provider string `json:"provider"`
|
||||
PoolName string `json:"pool_name"`
|
||||
Zone string `json:"zone"`
|
||||
StorageIdentifier string `json:"storage_identifier"`
|
||||
}
|
||||
|
||||
type Infrastructure struct {
|
||||
|
Loading…
Reference in New Issue
Block a user