Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/deploy/goal"

Index

Type aliases

KubernetesApplicationDataCallback

KubernetesApplicationDataCallback: function

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

Type declaration

Functions

defaultDataSources

  • Populate data sources properrty of registration with all possible KubernetesGoalDataSources if it is not defined. Otherwise, leave it as is. The registration object is modified directly and returned.

    Parameters

    Returns KubernetesDeployRegistration

    registration with data sources

goalEventSlug

  • goalEventSlug(goalEvent: SdmGoalEvent): string
  • Return repository slug for SDM goal event.

    Parameters

    • goalEvent: SdmGoalEvent

    Returns string

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