Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "goal/container/k8s"

Index

Type aliases

K8sContainerSpecCallback

K8sContainerSpecCallback: function

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

Type declaration

Functions

containerStarted

  • containerStarted(container: K8sContainer, attempts?: number): Promise<void>
  • Wait for container in pod to start, return when it does.

    Parameters

    • container: K8sContainer

      Information about container to check

    • Default value attempts: number = 120

      Maximum number of attempts, waiting 500 ms between

    Returns Promise<void>

containerWatch

  • containerWatch(container: K8sContainer): Promise<V1PodStatus>
  • Watch pod until container container.name exits. Resolve promise with status if container container.name exits with status 0. Reject promise otherwise, including pod status in the podStatus property of the error.

    Parameters

    • container: K8sContainer

      Information about container to watch

    Returns Promise<V1PodStatus>

    Status of pod after container terminates

executeK8sJob

followK8sLog

Const k8sContainerScheduler

k8sFulfillmentCallback

Generated using TypeDoc