Documentation ¶
Index ¶
- type ApplicationInstance
- type ApplicationInstanceMapInfo
- type ApplicationInstanceNodeMapping
- type GetApplicationInstancesMappingRequest
- type GetApplicationMetrixRequest
- type GetNodeMetrixRequest
- type GetNodesMappingRequest
- type GetNodesRequest
- type Module
- type Node
- type NodeInstanceMapInfo
- type NodeMapInfo
- type PageInfo
- type Project
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationInstance ¶
type ApplicationInstance struct {
Name string `json:"name" bson:"name"`
}
* Application instance
type ApplicationInstanceMapInfo ¶
* Application instance using map to save info
func NewApplicationInstanceMapInfo ¶
func NewApplicationInstanceMapInfo() *ApplicationInstanceMapInfo
type ApplicationInstanceNodeMapping ¶
type ApplicationInstanceNodeMapping struct { Key string `json:"key" bson:"key"` Instance string `json:"instance" bson:"instance"` NodeIP string `json:"node_ip" bson:"node_ip"` }
* Application instance & node mapping
type GetApplicationInstancesMappingRequest ¶
type GetApplicationInstancesMappingRequest struct {
Instance string `json:"instance"`
}
type GetNodeMetrixRequest ¶
type GetNodesMappingRequest ¶
type GetNodesMappingRequest struct {
IP string `json:"ip"`
}
type Node ¶
type Node struct { NodeName string `json:"node_name" bson:"node_name"` NodeIP string `json:"node_ip" bson:"node_ip"` HostName string `json:"host_name" bson:"host_name"` Platform string `json:"platform" bson:"platform"` OS string `json:"os" bson:"os"` OSVersion string `json:"os_version" bson:"os_version"` OSRelease string `json:"os_release" bson:"os_release"` MaxCPUs string `json:"max_cpus" bson:"max_cpus"` NCPUs string `json:"ncpus" bson:"ncpus"` Bitwith string `json:"bitwidth" bson:"bitwidth"` Time string `json:"time" bson:"time"` }
* Node
type NodeInstanceMapInfo ¶
* Node instance using map to save info
func NewNodeInstanceMapInfo ¶
func NewNodeInstanceMapInfo() *NodeInstanceMapInfo
type NodeMapInfo ¶
* Node using map to save info
func NewNodeMapInfo ¶
func NewNodeMapInfo() *NodeMapInfo
Click to show internal directories.
Click to hide internal directories.