Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_APPS_TO_MONITOR = 50
Maximum number of app streams to open if non-privileged user
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
}
Client struct
func NewClient ¶
func NewClient(cliConnection plugin.CliConnection, options *ClientOptions, ui terminal.UI, pluginMetadata *plugin.PluginMetadata) *Client
NewClient instantiating the top client
type ClientOptions ¶
ClientOptions needed to start the Client
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)
Click to show internal directories.
Click to hide internal directories.