Documentation ¶
Index ¶
Constants ¶
View Source
const AppNotFoundErrorMessage = "App not found."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppExaminer ¶
type AppExaminer interface { ListApps() ([]AppInfo, error) ListCells() ([]CellInfo, error) AppStatus(appName string) (AppInfo, error) AppExists(name string) (bool, error) RunningAppInstancesInfo(name string) (int, bool, error) }
func New ¶
func New(receptorClient receptor.Client, noaaConsumer NoaaConsumer) AppExaminer
type AppInfo ¶
type AppInfo struct { ProcessGuid string RootFS string DesiredInstances int ActualRunningInstances int EnvironmentVariables []EnvironmentVariable StartTimeout uint DiskMB int MemoryMB int CPUWeight uint Ports []uint16 Routes route_helpers.Routes LogGuid string LogSource string Annotation string ActualInstances []InstanceInfo Monitor Monitor }
type EnvironmentVariable ¶
type InstanceInfo ¶
type InstanceMetrics ¶ added in v0.4.2
type NoaaConsumer ¶ added in v0.4.2
type NoaaConsumer interface {
GetContainerMetrics(appGuid, token string) ([]*events.ContainerMetric, error)
}
func NewNoaaConsumer ¶ added in v0.4.2
func NewNoaaConsumer(consumer *noaa.Consumer) NoaaConsumer
type PortMapping ¶
Directories ¶
Path | Synopsis |
---|---|
fake_terminal
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
graphical/fake_graphical_visualizer
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.