Versions in this module Expand all Collapse all v0 v0.1441.2 Jan 13, 2016 Changes in this version + const ContainerAllocatedAtProperty + const ContainerCPUWeightProperty + const ContainerDiskMBProperty + const ContainerLogProperty + const ContainerMemoryMBProperty + const ContainerMetricsConfigProperty + const ContainerOwnerProperty + const ContainerResultProperty + const ContainerRootfsProperty + const ContainerStartTimeoutProperty + const ContainerStateProperty + var ErrIPRangeConversionFailed = errors.New("failed to convert destination to ip range") + type ContainerLookupError struct + Handle string + LookupErr error + func (err ContainerLookupError) Error() string + type EventEmitter interface + Emit func(executor.Event) + type Exchanger interface + CreateInGarden func(lager.Logger, GardenClient, executor.Container) (executor.Container, error) + Info func(lager.Logger, garden.Container) (executor.Container, error) + Infos func(lager.Logger, garden.Client, []garden.Container) ([]executor.Container, error) + func NewExchanger(containerOwnerName string, containerMaxCPUShares uint64, ...) Exchanger + type GardenClient interface + Containers func(garden.Properties) ([]garden.Container, error) + Create func(garden.ContainerSpec) (garden.Container, error) + Destroy func(handle string) error + Lookup func(handle string) (garden.Container, error) + type GardenStore struct + func NewGardenStore(gardenClient garden.Client, containerOwnerName string, ...) (*GardenStore, error) + func (store *GardenStore) Create(logger lager.Logger, container executor.Container) (executor.Container, error) + func (store *GardenStore) Destroy(logger lager.Logger, guid string) error + func (store *GardenStore) GetFiles(logger lager.Logger, guid, sourcePath string) (io.ReadCloser, error) + func (store *GardenStore) List(logger lager.Logger, tags executor.Tags) ([]executor.Container, error) + func (store *GardenStore) Lookup(logger lager.Logger, guid string) (executor.Container, error) + func (store *GardenStore) Metrics(logger lager.Logger, containerGuids []string) (map[string]executor.ContainerMetrics, error) + func (store *GardenStore) Ping() error + func (store *GardenStore) Run(logger lager.Logger, container executor.Container) error + func (store *GardenStore) Stop(logger lager.Logger, guid string) error + type InvalidJSONError struct + Property string + UnmarshalErr error + Value string + func (err InvalidJSONError) Error() string + type InvalidStateError struct + State string + func (err InvalidStateError) Error() string + type MalformedPropertyError struct + Property string + Value string + func (err MalformedPropertyError) Error() string