Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/k8s/events/kubernetesDeploy"

Index

Functions

Const HandleKubernetesDeploy

  • HandleKubernetesDeploy(ef: EventFired<Subscription>, context: HandlerContext): Promise<HandlerResult>
  • Event handler for deploying an application to a Kubernetes cluster. The definition of the application to be deployed is handled by the KubernetesDeploy goal of this or another SDM. This SDM will execute deployments configured for it, see [[eligibleDeployGoal]] and [[verifyKubernetesApplicationDeploy]] for details.

    Parameters

    Returns Promise<HandlerResult>

failGoal

  • Fail the provided goal using the message to set the description and error message.

    Parameters

    • context: HandlerContext

      handler context to use to send the update

    • goalEvent: SdmGoalEvent

      SDM goal to update

    • message: string

      informative error message

    • log: ProgressLog

    Returns Promise<HandlerResult>

    a failure handler result using the provided error message

goalEventString

kubernetesDeployHandler

Generated using TypeDoc