Interface PodGenerator

Generates an empty resource store to be used as a new pod. It is also responsible for storing any relevant variables needed to instantiate this resource store. These can then be used when the server is restarted to re-instantiate those stores.

Hierarchy

  • PodGenerator

Implemented by

Properties

Properties

generate: ((identifier, settings) => Promise<ResourceStore>)

Type declaration

    • (identifier, settings): Promise<ResourceStore>
    • Creates a ResourceStore based on the given input. Should error if there already is a store for the given identifier.

      Parameters

      Returns Promise<ResourceStore>

      A new ResourceStore to be used for the new pod.