top

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: Apache-2.0 Imports: 18 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

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) Ask added in v0.7.1

func (c *Client) Ask(prompt string) string

Created mine own Ask func instead of the CF provided one because the CF version adds a call to PromptColor(">") which does not work cleanly on MS-Windows

func (*Client) Start

func (c *Client) Start()

type ClientOptions

type ClientOptions struct {
	AppGUID    string
	Debug      bool
	NoTopCheck bool
	Cygwin     bool
	Nozzles    int
}

type TokenRefresher added in v0.7.6

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

func NewTokenRefresher added in v0.7.6

func NewTokenRefresher(cliConnection plugin.CliConnection, nozzleInstanceId int) *TokenRefresher

func (*TokenRefresher) RefreshAuthToken added in v0.7.6

func (tr *TokenRefresher) RefreshAuthToken() (string, error)

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