ing
This commit is contained in:
parent
4b700b6ecb
commit
b65ef6017d
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
type InfraHost struct {
|
||||
Infra
|
||||
InfraOS *InfraOS `json:"os,omitempty"`
|
||||
InfraOS *InfraOS `json:"infraOS,omitempty"`
|
||||
IP string `json:"ip,omitempty"`
|
||||
Mac string `json:"mac,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
type InfraOS struct {
|
||||
Infra
|
||||
InfraMachine *InfraMachine `json:"machine,omitempty"`
|
||||
InfraMachine *InfraMachine `json:"infraMachine,omitempty"`
|
||||
Meta string `json:"meta,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`
|
||||
|
|
|
@ -4,7 +4,7 @@ import "git.loafle.net/overflow/commons-go/core/util"
|
|||
|
||||
type InfraOSApplication struct {
|
||||
Infra
|
||||
InfraOS *InfraOS `json:"os,omitempty"`
|
||||
InfraOS *InfraOS `json:"infraOS,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
type InfraOSDaemon struct {
|
||||
Infra
|
||||
InfraOS *InfraOS `json:"os,omitempty"`
|
||||
InfraOS *InfraOS `json:"infraOS,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
type InfraOSPort struct {
|
||||
Infra
|
||||
InfraOS *InfraOS `json:"os,omitempty"`
|
||||
InfraOS *InfraOS `json:"infraOS,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Port json.Number `json:"port,omitempty"`
|
||||
PortType string `json:"portType,omitempty"`
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
type InfraServiceApplication struct {
|
||||
Infra
|
||||
InfraHost *InfraHost `json:"host,omitempty"`
|
||||
InfraHost *InfraHost `json:"infraHost,omitempty"`
|
||||
PortType string `json:"portType,omitempty"`
|
||||
Port json.Number `json:"port,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user