commons-go/model/infra/InfraHostOS.go

22 lines
798 B
Go
Raw Normal View History

2018-06-12 09:18:11 +00:00
package infra
import (
"encoding/json"
2018-06-12 13:13:22 +00:00
"git.loafle.net/overflow/commons-go/core/util"
2018-06-12 09:18:11 +00:00
)
type InfraHostOS struct {
2018-06-12 13:13:22 +00:00
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"`
PlatformFamily string `json:"platformFamily,omitempty"`
PlatformVersion string `json:"platformVersion,omitempty"`
KernelVersion string `json:"kernelVersion,omitempty"`
HostID string `json:"hostID,omitempty"`
Meta string `json:"meta,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
2018-06-12 09:18:11 +00:00
}