This commit is contained in:
geek 2018-06-15 13:10:12 +09:00
parent 73692449c5
commit fc4a5e60d0
5 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,5 @@ type InfraHost struct {
InfraHostMachine *InfraHostMachine `json:"infraHostMachine,omitempty"`
InfraHostOS *InfraHostOS `json:"infraHostOS,omitempty"`
InfraHostIPs []*InfraHostIP `json:"infraHostIPs,omitempty"`
InfraHostPorts []*InfraHostPort `json:"infraHostPorts,omitempty"`
InfraHostApplications []*InfraHostApplication `json:"infraHostApplications,omitempty"`
InfraHostDaemons []*InfraHostDaemon `json:"infraHostDaemons,omitempty"`
ContainerInfraHost *InfraHost `json:"containerInfraHost,omitempty"`
}

View File

@ -8,7 +8,6 @@ import (
type InfraHostMachine struct {
ID json.Number `json:"id,Number,omitempty"`
InfraHost *InfraHost `json:"infraHost,omitempty"`
Meta string `json:"meta,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
}

View File

@ -8,7 +8,6 @@ import (
type InfraHostOS struct {
ID json.Number `json:"id,Number,omitempty"`
InfraHost *InfraHost `json:"infraHost,omitempty"`
Name string `json:"name,omitempty"`
OS string `json:"os,omitempty"`
Platform string `json:"platform,omitempty"`

View File

@ -9,7 +9,7 @@ import (
type InfraHostPort struct {
ID json.Number `json:"id,Number,omitempty"`
InfraHost *InfraHost `json:"infraHost,omitempty"`
InfraHostIP *InfraHostIP `json:"infraHostIP,omitempty"`
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`

View File

@ -5,7 +5,6 @@ import "git.loafle.net/overflow/commons-go/model/meta"
type InfraService struct {
Infra
MetaTargetServiceType *meta.MetaTargetServiceType `json:"metaTargetServiceType,omitempty"`
InfraHostIP *InfraHostIP `json:"infraHostIP,omitempty"`
InfraHostPort *InfraHostPort `json:"infraHostPort,omitempty"`
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
}