vlocode-project - v2.4.3
    Preparing search index...

    Class DatapackDeploymentSpecRegistry

    Index

    Constructors

    Properties

    container: Container
    specs: SpecRegistryEntry[] = []

    Accessors

    Methods

    • Create a fresh (lazily instantiated) spec instance for every registered spec, paired with its filter.

      Each call constructs new instances for type-registered specs -- the registry does not cache them. Callers that invoke spec hooks repeatedly (e.g. across deployment events) should materialize the result once and reuse it so specs holding per-deployment state initialize a single time.

      Returns Generator<
          { filter: DatapackFilter; spec: DatapackDeploymentSpec },
          void,
          unknown,
      >

      Iterable of filter/spec pairs