deployments

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPU

type CPU struct {
	Total *float64
	Sys   string
	User  string
	Wait  string
}

type DeploymentInfo

type DeploymentInfo struct {
	Name      string
	Instances []Instance
	Releases  []Release
	Stemcells []Stemcell
}

type Disk

type Disk struct {
	InodePercent string
	Percent      string
}

type Fetcher

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

func NewFetcher

func NewFetcher(deploymentsFilter filters.DeploymentsFilter) *Fetcher

func (*Fetcher) Deployments

func (f *Fetcher) Deployments() ([]DeploymentInfo, error)

type Instance

type Instance struct {
	AgentID            string
	Name               string
	ID                 string
	Index              string
	Bootstrap          bool
	IPs                []string
	AZ                 string
	VMType             string
	ResourcePool       string
	ResurrectionPaused bool
	Healthy            bool
	Processes          []Process
	Vitals             Vitals
}

type Mem

type Mem struct {
	KB      string
	Percent string
}

type MemInt

type MemInt struct {
	KB      *uint64
	Percent *float64
}

type Process

type Process struct {
	Name    string
	Uptime  *uint64
	Healthy bool
	CPU     CPU
	Mem     MemInt
}

type Release

type Release struct {
	Name    string
	Version string
}

type Stemcell

type Stemcell struct {
	Name    string
	Version string
	OSName  string
}

type Vitals

type Vitals struct {
	CPU            CPU
	Mem            Mem
	Swap           Mem
	Uptime         *uint64
	Load           []string
	SystemDisk     Disk
	EphemeralDisk  Disk
	PersistentDisk Disk
}

Jump to

Keyboard shortcuts

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