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 CellKeyNumeric ¶
type CellKeyNumericSort ¶
type CellKeyNumericSort []CellKeyNumeric
func (CellKeyNumericSort) Len ¶
func (c CellKeyNumericSort) Len() int
func (CellKeyNumericSort) Less ¶
func (c CellKeyNumericSort) Less(i, j int) bool
func (CellKeyNumericSort) Swap ¶
func (c CellKeyNumericSort) Swap(i, j int)
type EnvironmentVariable ¶
type InstanceInfo ¶
type InstanceMetrics ¶
type NoaaConsumer ¶
type NoaaConsumer interface {
GetContainerMetrics(appGuid, token string) ([]*events.ContainerMetric, error)
}
func NewNoaaConsumer ¶
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.