Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/goal/container/container"

Index

Type aliases

ContainerScheduler

ContainerScheduler: (goal: Container, registration: ContainerRegistration) => void

Container goal scheduler implementation. The goal execution is handled as part of the execution of the container.

Type declaration

ContainerSpecCallback

ContainerSpecCallback: (r: ContainerRegistration, p: GitProject, g: Container, e: SdmGoalEvent, c: RepoContext) => Promise<GoalContainerSpec>

Function signature for callback that can modify and return the ContainerRegistration object.

Type declaration

Variables

Const ContainerInput

ContainerInput: "/atm/input" = "/atm/input"

File system location for goal container input.

Const ContainerOutput

ContainerOutput: "/atm/output" = "/atm/output"

File system location for goal container output.

Const ContainerProgressReporter

ContainerProgressReporter: ReportProgress = testProgressReporter({test: /docker 'network' 'create'/i,phase: "starting up",},{test: /docker 'network' 'rm'/i,phase: "shutting down",},{test: /docker 'run' .* '--workdir=[a-zA-Z\/]*' .* '--network-alias=([a-zA-Z \-_]*)'/i,phase: "running $1",},{test: /atm:phase=(.*)/i,phase: "$1",},)

Const ContainerProjectHome

ContainerProjectHome: "/atm/home" = "/atm/home"

File system location of goal project in containers.

Const ContainerRegistrationGoalDataKey

ContainerRegistrationGoalDataKey: "@atomist/sdm/container" = "@atomist/sdm/container"

Const ContainerResult

ContainerResult: string = `${ContainerOutput}/result.json`

Goal execution result file

Functions

container

Generated using TypeDoc