UNPKG

@canonical/jujulib

Version:

Juju API client

54 lines (49 loc) 1.28 kB
/** Juju Bundle version 8. NOTE: This file was generated using the Juju schema from Juju 4.0.1 at the git SHA 22e0b6a. Do not manually edit this file. */ import { autoBind } from "../../utils.js"; /** */ class BundleV8 { constructor(transport, info) { this.NAME = "Bundle"; this.VERSION = 8; this._transport = transport; this._info = info; // Automatically bind all methods to instances. autoBind(this); } /** */ exportBundle(params) { return new Promise((resolve, reject) => { const req = { type: "Bundle", request: "ExportBundle", version: 8, params: params, }; this._transport.write(req, resolve, reject); }); } /** */ getChangesMapArgs(params) { return new Promise((resolve, reject) => { const req = { type: "Bundle", request: "GetChangesMapArgs", version: 8, params: params, }; this._transport.write(req, resolve, reject); }); } } BundleV8.NAME = "Bundle"; BundleV8.VERSION = 8; export default BundleV8; //# sourceMappingURL=BundleV8.js.map