Skip to main content
Module

x/pipelight/mod.ts>Container

Typescript helpers for pipelight
Latest
class Container
implements ContainerParams
Re-export
import { Container } from "https://deno.land/x/pipelight@v0.3.0/mod.ts";

Constructors

new
Container(params: ContainerParams)

Properties

optional
args: Record<string, string>[]
optional
envs: string[]
optional
globals: Globals
id: string
image: Pick<ImageParams, "name">
name: string
optional
networks: MountNetworkParams[]
optional
ports: Port[]
optional
volumes: MountVolumeParams[]

Methods

create(): string[]
exec(cmds: () => string[]): string[]
remove(): string[]
restart(): string[]

Constructors

new
Container(params: ContainerParams)

Properties

optional
args: Record<string, string>[]
optional
envs: string[]
optional
globals: Globals
id: string
image: Pick<ImageParams, "name">
name: string
optional
networks: MountNetworkParams[]
optional
ports: Port[]
optional
volumes: MountVolumeParams[]

Methods

create(): string[]
exec(cmds: () => string[]): string[]
remove(): string[]
restart(): string[]