Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/machine/yaml/configureYaml"

Index

Type aliases

CommandMaker

Type parameters

  • PARAMS = NoParameters

ConfigurationMaker

EventMaker

EventMaker<PARAMS>: (sdm: SoftwareDeliveryMachine) => Promise<YamlEventHandler<PARAMS>> | YamlEventHandler<PARAMS>

Type parameters

  • PARAMS = NoParameters

Type declaration

YamlCommandHandlerRegistration

YamlCommandHandlerRegistration: Omit<CommandHandlerRegistration, "name" | "paramsMaker" | "parameters">

YamlEventHandler

YamlEventHandler<PARAMS>: Omit<EventHandlerRegistration<PARAMS>, "name">

Type parameters

  • PARAMS = NoParameters

Functions

awaitIterable

  • awaitIterable<G>(elems: Record<string, G>, cb: (v: G, k: string) => Promise<any>): Promise<void>

configureYaml

createConfiguration

createExtensions

createGoalData

requireCommands

requireConfiguration

requireEvents

  • requireEvents(cwd: string, pattern?: string[]): Promise<Record<string, EventMaker>>

requireExtensions

  • requireExtensions<EXT>(cwd: string, pattern: string[], cb?: (v: EXT, k: string, e: Record<string, EXT>) => void): Promise<Record<string, EXT>>
  • Type parameters

    • EXT

    Parameters

    • cwd: string
    • pattern: string[]
    • Default value cb: (v: EXT, k: string, e: Record<string, EXT>) => void = () => {}
        • (v: EXT, k: string, e: Record<string, EXT>): void
        • Parameters

          • v: EXT
          • k: string
          • e: Record<string, EXT>

          Returns void

    Returns Promise<Record<string, EXT>>

requireGoals

  • requireGoals(cwd: string, pattern?: string[]): Promise<Record<string, GoalMaker>>

requireIngesters

  • requireIngesters(cwd: string, pattern?: string[]): Promise<string[]>

requireTests

resolvePaths

  • resolvePaths(cwd: string, patterns: string | string[], watch?: boolean): Promise<string[]>

Generated using TypeDoc