This commit is contained in:
crusader 2018-06-05 19:58:02 +09:00
parent 4b700b6ecb
commit b65ef6017d
6 changed files with 6 additions and 6 deletions

View File

@ -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"`

View File

@ -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"`

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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"`

View File

@ -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"`