Options
All
  • Public
  • Public/Protected
  • All
Menu

Pod manager that uses an IdentifierGenerator and ResourcesGenerator to create the default resources and identifier for a new pod.

Hierarchy

  • GeneratedPodManager

Implements

Index

Constructors

constructor

Properties

Private Readonly idGenerator

idGenerator: IdentifierGenerator

Protected Readonly logger

logger: Logger = ...

Private Readonly resourcesGenerator

resourcesGenerator: ResourcesGenerator

Private Readonly store

Methods

createPod

  • Creates a new pod, pre-populating it with the resources created by the data generator. Pod identifiers are created based on the identifier generator. Will throw an error if the given identifier already has a resource.

    Parameters

    Returns Promise<ResourceIdentifier>