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.

interface PodGenerator {
    generate: ((settings: PodSettings) => Promise<ResourceStore>);
}

Implemented by

Properties

Properties

generate: ((settings: PodSettings) => Promise<ResourceStore>)

Creates a ResourceStore based on the given input. Should error if there already is a store for the given identifier.

Type declaration