Documentation ¶
Index ¶
Constants ¶
View Source
const ( State_w string = "1001" // 未管理 State_N string = "2002" // 正常 State_D string = "3003" // 处理中 MASTER_HOST_ID = "5f3761ed-008a-475b-ad37-8cc35c88402c" )
View Source
const Spec_cd_osName = "1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostAttrDto ¶
type HostDiskDto ¶
type HostDto ¶
type HostDto struct { dto.PageDto HostId string `json:"hostId" sql:"-"` GroupId string `json:"groupId" sql:"-"` GroupName string `json:"groupName" sql:"-"` Name string `json:"name" ` Ip string `json:"ip" ` Username string `json:"username" ` Passwd string `json:"passwd" ` Cpu string `json:"cpu" ` UseCpu string `json:"useCpu"` Mem string `json:"mem" ` UseMem string `json:"useMem"` Disk string `json:"disk" ` UseDisk string `json:"useDisk"` TenantId string `json:"tenantId" sql:"-"` CreateTime string `json:"createTime" sql:"-"` StatusCd string `json:"statusCd" sql:"-"` State string `json:"state"` HeartbeatTime string `json:"heartbeatTime" sql:"-"` CurPath string `json:"curPath" ` FileName string `json:"fileName"` FileGroupName string `json:"fileGroupName"` NewFileName string `json:"newFileName"` FileContext string `json:"fileContext"` Shell string `json:"shell"` OsName string `json:"osName" sql:"-"` Containers []docker.Container }
* 主机 实体
type HostGroupDto ¶
type HostGroupDto struct { dto.PageDto GroupId string `json:"groupId" sql:"-"` Name string `json:"name" ` Description string `json:"description" ` TenantId string `json:"tenantId" sql:"-"` CreateTime string `json:"createTime" sql:"-"` StatusCd string `json:"statusCd" sql:"-"` }
* 主机组实体
type HostPortDto ¶
Click to show internal directories.
Click to hide internal directories.