appDetailView

package
v0.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 21 Imported by: 6

Documentation

Index

Constants

View Source
const HelpColumnsText = `` /* 2269-byte string literal not displayed */
View Source
const HelpLocalViewKeybindings = `` /* 194-byte string literal not displayed */
View Source
const HelpOverviewText = `` /* 689-byte string literal not displayed */
View Source
const HelpTextTips = `` /* 152-byte string literal not displayed */

Variables

This section is empty.

Functions

func AppDeletedMsg added in v0.9.0

func AppDeletedMsg(g *gocui.Gui, v *gocui.View)

func Column2XX added in v0.9.4

func Column2XX() *uiCommon.ListColumn

func Column3XX added in v0.9.4

func Column3XX() *uiCommon.ListColumn

func Column4XX added in v0.9.4

func Column4XX() *uiCommon.ListColumn

func Column5XX added in v0.9.4

func Column5XX() *uiCommon.ListColumn

func ColumnAppName

func ColumnAppName() *uiCommon.ListColumn

func ColumnAvgResponseTimeL60Info added in v0.9.4

func ColumnAvgResponseTimeL60Info() *uiCommon.ListColumn

func ColumnCellIp

func ColumnCellIp() *uiCommon.ListColumn

func ColumnCellLastStartMsgText added in v0.8.6

func ColumnCellLastStartMsgText() *uiCommon.ListColumn

func ColumnCellLastStartMsgTime added in v0.8.6

func ColumnCellLastStartMsgTime() *uiCommon.ListColumn

func ColumnContainerIndex

func ColumnContainerIndex() *uiCommon.ListColumn

func ColumnCrashCount added in v0.9.4

func ColumnCrashCount() *uiCommon.ListColumn

func ColumnCreateCount added in v0.8.6

func ColumnCreateCount() *uiCommon.ListColumn

func ColumnDiskFree

func ColumnDiskFree() *uiCommon.ListColumn

func ColumnDiskReserved

func ColumnDiskReserved() *uiCommon.ListColumn

func ColumnDiskUsed

func ColumnDiskUsed() *uiCommon.ListColumn

func ColumnLogStderr

func ColumnLogStderr() *uiCommon.ListColumn

func ColumnLogStdout

func ColumnLogStdout() *uiCommon.ListColumn

func ColumnMemoryFree

func ColumnMemoryFree() *uiCommon.ListColumn

func ColumnMemoryReserved

func ColumnMemoryReserved() *uiCommon.ListColumn

func ColumnMemoryUsed

func ColumnMemoryUsed() *uiCommon.ListColumn

func ColumnOrgName

func ColumnOrgName() *uiCommon.ListColumn

func ColumnReq1 added in v0.9.4

func ColumnReq1() *uiCommon.ListColumn

func ColumnReq10 added in v0.9.4

func ColumnReq10() *uiCommon.ListColumn

func ColumnReq60 added in v0.9.4

func ColumnReq60() *uiCommon.ListColumn

func ColumnSpaceName

func ColumnSpaceName() *uiCommon.ListColumn

func ColumnStartupDuration added in v0.8.6

func ColumnStartupDuration() *uiCommon.ListColumn

func ColumnState added in v0.8.6

func ColumnState() *uiCommon.ListColumn

func ColumnStateDuration added in v0.8.6

func ColumnStateDuration() *uiCommon.ListColumn

func ColumnStateTime added in v0.8.6

func ColumnStateTime() *uiCommon.ListColumn

func ColumnTotalCpuPercentage

func ColumnTotalCpuPercentage() *uiCommon.ListColumn

func ColumnTotalReq added in v0.9.4

func ColumnTotalReq() *uiCommon.ListColumn

Types

type AppDetailView

type AppDetailView struct {
	*dataView.DataListView

	Crash10mCount int
	Crash1hCount  int
	Crash24hCount int
	LastCrashInfo *crashData.ContainerCrashInfo
	// contains filtered or unexported fields
}

func NewAppDetailView

func NewAppDetailView(masterUI masterUIInterface.MasterUIInterface,
	parentView dataView.DataListViewInterface,
	name string, bottomMargin int,
	eventProcessor *eventdata.EventProcessor,
	appId string) *AppDetailView

func (*AppDetailView) FindLastCrash added in v0.8.3

func (asUI *AppDetailView) FindLastCrash(appStats *eventApp.AppStats) *crashData.ContainerCrashInfo

func (*AppDetailView) GetAppId added in v0.8.8

func (asUI *AppDetailView) GetAppId() string

func (*AppDetailView) GetListData

func (asUI *AppDetailView) GetListData() []uiCommon.IData

type AppInfoWidget

type AppInfoWidget struct {
	// contains filtered or unexported fields
}

func NewAppInfoWidget

func NewAppInfoWidget(masterUI masterUIInterface.MasterUIInterface, parentView dataView.DataListViewInterface, name string, width, height int, detailView *AppDetailView) *AppInfoWidget

func (*AppInfoWidget) Layout

func (w *AppInfoWidget) Layout(g *gocui.Gui) error

func (*AppInfoWidget) Name

func (w *AppInfoWidget) Name() string

func (*AppInfoWidget) RefreshDisplay added in v0.8.3

func (w *AppInfoWidget) RefreshDisplay(g *gocui.Gui) error

func (*AppInfoWidget) UpdateDisplay

func (w *AppInfoWidget) UpdateDisplay(g *gocui.Gui) error

type CopyMenu added in v0.8.8

type CopyMenu struct {
	//*dataView.DataListView
	CopyMenuViewInterface
}

func NewCopyMenu added in v0.8.8

func (*CopyMenu) CopyAction added in v0.8.8

func (asUI *CopyMenu) CopyAction(g *gocui.Gui, v *gocui.View) error

type CopyMenuViewInterface added in v0.8.8

type CopyMenuViewInterface interface {
	dataView.DataListViewInterface
	GetAppId() string
}

type CrashInfoWidget added in v0.8.3

type CrashInfoWidget struct {
	// contains filtered or unexported fields
}

func NewCrashInfoWidget added in v0.8.3

func NewCrashInfoWidget(masterUI masterUIInterface.MasterUIInterface, parentView dataView.DataListViewInterface, name string, height int, detailView *AppDetailView) *CrashInfoWidget

func (*CrashInfoWidget) Layout added in v0.8.3

func (w *CrashInfoWidget) Layout(g *gocui.Gui) error

func (*CrashInfoWidget) Name added in v0.8.3

func (w *CrashInfoWidget) Name() string

type DisplayContainerStats

type DisplayContainerStats struct {
	*eventApp.ContainerStats
	*eventApp.AppStats

	AppName   string
	OrgName   string
	SpaceName string

	FreeMemory     uint64
	ReservedMemory uint64
	FreeDisk       uint64
	ReservedDisk   uint64

	State           string
	StateTime       *time.Time
	StateDuration   *time.Duration
	StartupDuration *time.Duration

	CrashCount int

	AvgResponseL60Time float64
	EventL60Rate       int
	//AvgResponseL10Time float64
	EventL10Rate int
	//AvgResponseL1Time float64
	EventL1Rate int

	HttpAllCount int64
	Http2xxCount int64
	Http3xxCount int64
	Http4xxCount int64
	Http5xxCount int64
	// contains filtered or unexported fields
}

func NewDisplayContainerStats

func NewDisplayContainerStats(containerStats *eventApp.ContainerStats, appStats *eventApp.AppStats) *DisplayContainerStats

func (*DisplayContainerStats) Id

func (cs *DisplayContainerStats) Id() string

type RequestsInfoWidget

type RequestsInfoWidget struct {
	// contains filtered or unexported fields
}

func NewRequestsInfoWidget

func NewRequestsInfoWidget(masterUI masterUIInterface.MasterUIInterface, parentView dataView.DataListViewInterface, name string, height int, detailView *AppDetailView) *RequestsInfoWidget

func (*RequestsInfoWidget) Layout

func (w *RequestsInfoWidget) Layout(g *gocui.Gui) error

func (*RequestsInfoWidget) Name

func (w *RequestsInfoWidget) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL