Skip to main content

Class: ContainerManager

Extends

Constructors

Constructor

new ContainerManager(transport, defaultFormat?): ContainerManager

Parameters

Returns

ContainerManager

Inherited from

BaseManager.constructor

Methods

events()

events(id, options?): Promise<any>

Parameters

Returns

Promise<any>

get()

get(id, include?, options?): Promise<any>

Parameters

Returns

Promise<any>

iterate()

iterate(filters?, options?): AsyncGenerator<Container, void, unknown>

Parameters

Returns

AsyncGenerator<Container, void, unknown>

list()

list(filters?, options?): Promise<any>
List containers. Filters the v2 API does not support (status, port, carrier, updatedAfter) are omitted from the request and reported back via unsupportedFilters. That field is only surfaced when options.format is 'mapped' or 'both'; the default 'raw' format returns the verbatim API response and does not carry it.

Parameters

Returns

Promise<any>

rawEvents()

rawEvents(id, options?): Promise<any>

Parameters

Returns

Promise<any>

refresh()

refresh(id, options?): Promise<any>

Parameters

Returns

Promise<any>

route()

route(id, options?): Promise<any>

Parameters

Returns

Promise<any>