Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSummary ¶
func SummarizeCluster ¶
func SummarizeCluster(nodes []torque.Node, jobs []torque.Job) ClusterSummary
type JobSummary ¶
type JobSummary struct { Name string Owner string State string Count int Occupancy int HostOccupancy map[string]int MinWalltime int MaxWalltime int CPUUsage float64 IDs []string }
func SummarizeJobs ¶
func SummarizeJobs(jobs []torque.Job) []JobSummary
type NodeOwnerSummary ¶ added in v0.2.0
type NodeSummary ¶
type NodeSummary struct { Name string Active bool AvailSlots int UsedSlots int Owners []NodeOwnerSummary }
func SummarizeNodes ¶
func SummarizeNodes(nodes []torque.Node, jobs []torque.Job) []NodeSummary
type Summary ¶
type Summary struct { Cluster ClusterSummary Nodes []NodeSummary Jobs []JobSummary }
Click to show internal directories.
Click to hide internal directories.