appfixture

package
v0.0.0-...-25601a8 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2014 License: Apache-2.0, BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppFixture

type AppFixture struct {
	AppGuid    string
	AppVersion string

	DeaGuid string
	// contains filtered or unexported fields
}

func NewAppFixture

func NewAppFixture() AppFixture

func (AppFixture) CrashedInstanceHeartbeatAtIndex

func (app AppFixture) CrashedInstanceHeartbeatAtIndex(index int) InstanceHeartbeat

func (AppFixture) DesiredState

func (app AppFixture) DesiredState(numberOfInstances int) DesiredAppState

func (AppFixture) DropletUpdated

func (app AppFixture) DropletUpdated() DropletUpdatedMessage

func (AppFixture) Heartbeat

func (app AppFixture) Heartbeat(instances int) Heartbeat

func (AppFixture) InstanceAtIndex

func (app AppFixture) InstanceAtIndex(index int) Instance

type DeaFixture

type DeaFixture struct {
	DeaGuid string
	// contains filtered or unexported fields
}

func NewDeaFixture

func NewDeaFixture() DeaFixture

func (DeaFixture) GetApp

func (dea DeaFixture) GetApp(index int) AppFixture

func (DeaFixture) Heartbeat

func (dea DeaFixture) Heartbeat(numApps int) models.Heartbeat

func (DeaFixture) HeartbeatWith

func (dea DeaFixture) HeartbeatWith(instanceHeartbeats ...models.InstanceHeartbeat) models.Heartbeat

type Instance

type Instance struct {
	InstanceGuid  string
	InstanceIndex int
	AppGuid       string
	AppVersion    string
	DeaGuid       string
}

func (Instance) DropletExited

func (instance Instance) DropletExited(reason DropletExitedReason) DropletExited

func (Instance) Heartbeat

func (instance Instance) Heartbeat() InstanceHeartbeat

Jump to

Keyboard shortcuts

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