allocationstore

package
v0.1441.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationStore

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

func NewAllocationStore

func NewAllocationStore(clock clock.Clock, eventEmitter EventEmitter) *AllocationStore

func (*AllocationStore) Allocate

func (*AllocationStore) Deallocate

func (a *AllocationStore) Deallocate(logger lager.Logger, guid string) bool

func (*AllocationStore) Fail

func (a *AllocationStore) Fail(logger lager.Logger, guid string, reason string) (executor.Container, error)

func (*AllocationStore) Initialize

func (a *AllocationStore) Initialize(logger lager.Logger, req *executor.RunRequest) error

func (*AllocationStore) List

func (a *AllocationStore) List() []executor.Container

func (*AllocationStore) Lookup

func (a *AllocationStore) Lookup(guid string) (executor.Container, error)

func (*AllocationStore) RegistryPruner

func (a *AllocationStore) RegistryPruner(logger lager.Logger, expirationTime time.Duration) ifrit.Runner

type EventEmitter

type EventEmitter interface {
	Emit(executor.Event)
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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