Documentation
¶
Index ¶
Constants ¶
View Source
const UNKNOWN_ISOSEG_NAME = "UNKNOWN"
View Source
const UNKNOWN_STACK_GROUP_NAME = "UNKNOWN"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HeaderWidget ¶
type HeaderWidget struct {
HeaderSize int
// contains filtered or unexported fields
}
func NewHeaderWidget ¶
func NewHeaderWidget(masterUI masterUIInterface.MasterUIInterface, name string, router *eventrouting.EventRouter, commonData *dataCommon.CommonData) *HeaderWidget
func (*HeaderWidget) Name ¶
func (w *HeaderWidget) Name() string
func (*HeaderWidget) UpdateDisplay ¶
func (w *HeaderWidget) UpdateDisplay(g *gocui.Gui) error
type StackSummaryStats ¶
type StackSummaryStats struct {
IsolationSegmentGuid string
IsolationSegmentName string
StackGroupId string
StackGroupName string
TotalCells int
TotalApps int
TotalReportingAppInstances int
TotalActiveApps int
TotalMemoryUsedAppInstances int64
TotalDiskUsedAppInstances int64
TotalCpuPercentage float64
TotalCellCPUs int
// This is the hightest CPU percent of all the cells
CellMaxCpuPercentage float64
// This is the percent of CPU capacity of the hightest CPU percent cell
// E.g., If CellMaxCpuPercentage is 160.0 and our cell has 2 vCPUs
// then CellMaxCpuCapacity = (160 * 100) / (2 * 100) = 80 percent
// To simplify the above equation it would be (160 / 2) = 80 percent
CellMaxCpuCapacity float64
TotalCapacityMemory int64
TotalCapacityDisk int64
ReservedMem float64
ReservedDisk float64
}
type StackSummaryStatsArray ¶
type StackSummaryStatsArray []*StackSummaryStats
func (StackSummaryStatsArray) Len ¶
func (slice StackSummaryStatsArray) Len() int
func (StackSummaryStatsArray) Less ¶
func (slice StackSummaryStatsArray) Less(i, j int) bool
func (StackSummaryStatsArray) Swap ¶
func (slice StackSummaryStatsArray) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.