Module: wcBase


new (require("wcBase"))()

Base class for all docker classes

Source:

Methods


function docker() -> module:wcDocker

Retrieves the main docker instance.

Source:
Returns:
- The top level docker object.
Type
module:wcDocker

function getOptions() -> Object | null

Returns this or the docker's options

Source:
Returns:
Type
Object | null

function instanceOf(what [, who]) -> boolean

Class eq function

Parameters:
Name Type Argument Description
what string
who object <optional>
Source:
Returns:
Type
boolean

function option(name, _default) -> Object | null

Return an option found in this or in the docker.

Parameters:
Name Type Description
name
_default Object | null
Source:
Returns:
Type
Object | null