Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/k8s/deploy/deploy"

Index

Functions

deployAppId

deployApplication

  • Given an SdmGoalEvent with the appropriate Kubernetes application data, deploy an application to a Kubernetes cluster.

    Parameters

    • goalEvent: SdmGoalEvent

      The Kubernetes deployment goal

    • context: HandlerContext

      A standard handler context available from goal executions or event handlers

    • log: ProgressLog

      SDM goal progress log

    Returns Promise<ExecuteGoalResult>

    Goal success or failure, with endpoint URL(s) on success if ingress properties are set

destination

  • Create identifying deployment destination from goal environment and fulillment name using getCluster, application namespace, and application name.

    Parameters

    Returns string

    The cluster name, application namespace, and application name

llog

  • llog(message: string, ll: LeveledLogMethod, log: ProgressLog): void
  • Log to a specific log level method and a progress log.

    Parameters

    • message: string
    • ll: LeveledLogMethod

      Levelled log method like logger.debug

    • log: ProgressLog

      goal progress log

    Returns void

logAndFailDeploy

Generated using TypeDoc