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 { type InfraHost struct {
Infra Infra
InfraOS *InfraOS `json:"os,omitempty"` InfraOS *InfraOS `json:"infraOS,omitempty"`
IP string `json:"ip,omitempty"` IP string `json:"ip,omitempty"`
Mac string `json:"mac,omitempty"` Mac string `json:"mac,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"`

View File

@ -7,7 +7,7 @@ import (
type InfraOS struct { type InfraOS struct {
Infra Infra
InfraMachine *InfraMachine `json:"machine,omitempty"` InfraMachine *InfraMachine `json:"infraMachine,omitempty"`
Meta string `json:"meta,omitempty"` Meta string `json:"meta,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"`
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,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 { type InfraOSApplication struct {
Infra Infra
InfraOS *InfraOS `json:"os,omitempty"` InfraOS *InfraOS `json:"infraOS,omitempty"`
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"`
} }

View File

@ -6,7 +6,7 @@ import (
type InfraOSDaemon struct { type InfraOSDaemon struct {
Infra Infra
InfraOS *InfraOS `json:"os,omitempty"` InfraOS *InfraOS `json:"infraOS,omitempty"`
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"`
} }

View File

@ -9,7 +9,7 @@ import (
type InfraOSPort struct { type InfraOSPort struct {
Infra Infra
InfraOS *InfraOS `json:"os,omitempty"` InfraOS *InfraOS `json:"infraOS,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"`
Port json.Number `json:"port,omitempty"` Port json.Number `json:"port,omitempty"`
PortType string `json:"portType,omitempty"` PortType string `json:"portType,omitempty"`

View File

@ -9,7 +9,7 @@ import (
type InfraServiceApplication struct { type InfraServiceApplication struct {
Infra Infra
InfraHost *InfraHost `json:"host,omitempty"` InfraHost *InfraHost `json:"infraHost,omitempty"`
PortType string `json:"portType,omitempty"` PortType string `json:"portType,omitempty"`
Port json.Number `json:"port,omitempty"` Port json.Number `json:"port,omitempty"`
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"` MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`