API is the concrete implementation of the Pruner endpoint.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "StatusHistory"
VERSION: number = 2
_transport: Transport
NAME: string = "StatusHistory"
VERSION: number = 2

Methods

  • ModelConfig returns the current model's configuration.

    Parameters

    • params: any

    Returns Promise<ModelConfigResult>

  • Prune endpoint removes status history entries until only the ones newer than now - p.MaxHistoryTime remain and the history is smaller than p.MaxHistoryMB.

    Parameters

    Returns Promise<any>

  • WatchForModelConfigChanges returns a NotifyWatcher that observes changes to the model configuration. Note that although the NotifyWatchResult contains an Error field, it's not used because we are only returning a single watcher, so we use the regular error return.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

Generated using TypeDoc