CharmDownloaderAPI implements an API for watching the charms collection for any entries that have not been yet downloaded to the blobstore and for triggering their download.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "CharmDownloader"
VERSION: number = 1
_transport: Transport
NAME: string = "CharmDownloader"
VERSION: number = 1

Methods

  • DownloadApplicationCharms iterates the list of provided applications and downloads any referenced charms that have not yet been persisted to the blob store.

    Parameters

    Returns Promise<ErrorResults>

  • WatchApplicationsWithPendingCharms registers and returns a watcher instance that reports the ID of applications that reference a charm which has not yet been downloaded.

    Parameters

    • params: any

    Returns Promise<StringsWatchResult>

Generated using TypeDoc