Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/k8s/deploy/goal"

Index

Type aliases

KubernetesApplicationDataCallback

KubernetesApplicationDataCallback: (a: KubernetesApplication, p: GitProject, g: KubernetesDeploy, e: SdmGoalEvent, ctx: HandlerContext) => Promise<KubernetesApplication>

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

Type declaration

Functions

defaultDataSources

goalEventSlug

initiateKubernetesDeploy

  • If in SDM team mode, this goal executor generates and stores the Kubernetes application data for deploying an application to Kubernetes. It returns the augmented SdmGoalEvent with the Kubernetes application information in the data property and the state of the SdmGoalEvent set to "requested". The actual deployment is done by the kubernetesDeployHandler event handler.

    It will call defaultDataSources to populate the default repository data sources if none are provided in the registration.

    If in SDM local mode, generate the Kubernetes application data and deploy the application.

    Parameters

    Returns ExecuteGoal

    An ExecuteGoal result that is not really a result, but an intermediate state.

Generated using TypeDoc