Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "internal/machine/configureSdm"

Index

Type aliases

SoftwareDeliveryMachineMaker

SoftwareDeliveryMachineMaker: function

Type that can create a fully configured SDM

Type declaration

Functions

attemptToRequire

  • attemptToRequire<T>(module: string, failOnError: boolean): T | null

configureGoalSigning

  • configureGoalSigning(mergedConfig: SoftwareDeliveryMachineConfiguration): void

configureJobLaunching

  • configureJobLaunching(mergedConfig: SoftwareDeliveryMachineConfiguration, machine: SoftwareDeliveryMachine): Promise<void>
  • Configure how this SDM is going to handle goals

    Parameters

    • mergedConfig: SoftwareDeliveryMachineConfiguration
    • machine: SoftwareDeliveryMachine

    Returns Promise<void>

configureSdm

configureSdmToRunExactlyOneGoal

  • configureSdmToRunExactlyOneGoal(mergedConfig: SoftwareDeliveryMachineConfiguration, sdm: SoftwareDeliveryMachine): void
  • Configure SDM to run only one goal

    Parameters

    • mergedConfig: SoftwareDeliveryMachineConfiguration
    • sdm: SoftwareDeliveryMachine

    Returns void

doWithSdmLocal

  • doWithSdmLocal<R>(callback: function): Promise<R | undefined>
  • Perform the given operation with the sdm-local module if it's available. If it isn't, silently continue without error.

    Type parameters

    • R

    Parameters

    • callback: function
        • (sdmLocal: any): any
        • Parameters

          • sdmLocal: any

          Returns any

    Returns Promise<R | undefined>

registerMetadata

  • registerMetadata(config: Configuration, machine: SoftwareDeliveryMachine): Promise<void>

Generated using TypeDoc