Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/events/kubernetesDeploy"

Index

Functions

Const HandleKubernetesDeploy

  • 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

  • failGoal(context: HandlerContext, goalEvent: SdmGoalEvent, message: string, log: ProgressLog): Promise<HandlerResult>
  • 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

  • goalEventString(goalEvent: SdmGoalEvent): string

kubernetesDeployHandler

Generated using TypeDoc