blameplugin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStat

type AppStat struct {
	State string `json:"state"`
	Stats Stats  `json:"stats"`
}

type Apps

type Apps struct {
	Total      float64    `json:"total_results"`
	TotalPages float64    `json:"total_pages"`
	NextURL    string     `json:"next_url"`
	Resources  []Resource `json:"resources"`
}

type DiegoBlame

type DiegoBlame struct {
	Version string
}

func (*DiegoBlame) GetMetadata

func (c *DiegoBlame) GetMetadata() plugin.PluginMetadata

func (*DiegoBlame) GetVersionType

func (c *DiegoBlame) GetVersionType() plugin.VersionType

func (*DiegoBlame) Run

func (c *DiegoBlame) Run(cli plugin.CliConnection, args []string)

type Metadata

type Metadata struct {
	GUID string `json:"guid"`
}

type Resource

type Resource struct {
	Metadata Metadata `json:"metadata"`
}

type Stats

type Stats struct {
	Usage     Usage    `json:"usage"`
	Name      string   `json:"name"`
	URIs      []string `json:"uris"`
	Host      string   `json:"host"`
	Port      float64  `json:"port"`
	Uptime    float64  `json:"uptime"`
	MemQuota  float64  `json:"mem_quota"`
	DiskQuota float64  `json:"disk_quota"`
	FDSQuota  float64  `json:"fds_quota"`
}

type Usage

type Usage struct {
	Disk float64   `json:"disk"`
	Mem  float64   `json:"mem"`
	CPU  float64   `json:"cpu"`
	Time time.Time `json:"time"`
}

Jump to

Keyboard shortcuts

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