deployments

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 6

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