top

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CpuResetAvg

func CpuResetAvg()

func CpuUsagePercent

func CpuUsagePercent() float64

func Round

func Round(d, r time.Duration) time.Duration

Types

type Client

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

func NewClient

func NewClient(cliConnection plugin.CliConnection, options *ClientOptions, ui terminal.UI) *Client

func (*Client) Start

func (c *Client) Start()

type ClientOptions

type ClientOptions struct {
	AppGUID        string
	Debug          bool
	Cygwin         bool
	NoFilter       bool
	Filter         string
	SubscriptionID string
}

type ConsoleDebugPrinter

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

func (ConsoleDebugPrinter) Print

func (p ConsoleDebugPrinter) Print(title, dump string)

type FooterWidget

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

func NewFooterWidget

func NewFooterWidget(name string, height int) *FooterWidget

func (*FooterWidget) Layout

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

func (*FooterWidget) Name added in v0.5.5

func (w *FooterWidget) Name() string

type HeaderWidget

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

func NewHeaderWidget

func NewHeaderWidget(masterUI *MasterUI, name string, height int) *HeaderWidget

func (*HeaderWidget) Layout

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

func (*HeaderWidget) Name added in v0.5.5

func (w *HeaderWidget) Name() string

type LayoutManager

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

func NewLayoutManager

func NewLayoutManager() *LayoutManager

func (*LayoutManager) Add

func (*LayoutManager) Contains

func (w *LayoutManager) Contains(managerToFind masterUIInterface.Manager) bool

func (*LayoutManager) Layout

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

func (*LayoutManager) Remove

func (*LayoutManager) Top added in v0.5.6

type MasterUI

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

func NewMasterUI

func NewMasterUI(cliConnection plugin.CliConnection) *MasterUI

func (*MasterUI) CliConnection

func (ui *MasterUI) CliConnection() plugin.CliConnection

func (*MasterUI) CloseView

func (ui *MasterUI) CloseView(m masterUIInterface.Manager) error

func (*MasterUI) GetCurrentView

func (ui *MasterUI) GetCurrentView(g *gocui.Gui) *gocui.View

func (*MasterUI) GetRouter

func (ui *MasterUI) GetRouter() *eventrouting.EventRouter

func (*MasterUI) LayoutManager

func (*MasterUI) RefeshNow

func (ui *MasterUI) RefeshNow()

func (*MasterUI) SetCurrentViewOnTop

func (ui *MasterUI) SetCurrentViewOnTop(g *gocui.Gui, name string) error

func (*MasterUI) Start

func (ui *MasterUI) Start()

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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