@canonical/jujulib
Version:
Juju API client
61 lines (55 loc) • 1.39 kB
TypeScript
/**
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 { ConnectionInfo, Transport } from "../../client.js";
import { Facade } from "../../types.js";
export interface BundleChangesMapArgs {
args: AdditionalProperties;
id: string;
method: string;
requires: string[];
}
export interface BundleChangesMapArgsResults {
changes?: BundleChangesMapArgs[];
errors?: string[];
}
export interface BundleChangesParams {
bundleURL: string;
yaml: string;
}
export interface Error {
code: string;
info?: AdditionalProperties;
message: string;
}
export interface ExportBundleParams {
"include-charm-defaults"?: boolean;
}
export interface StringResult {
error?: Error;
result: string;
}
export interface AdditionalProperties {
[key: string]: any;
}
/**
*/
declare class BundleV8 implements Facade {
static NAME: string;
static VERSION: number;
NAME: string;
VERSION: number;
_transport: Transport;
_info: ConnectionInfo;
constructor(transport: Transport, info: ConnectionInfo);
/**
*/
exportBundle(params: ExportBundleParams): Promise<StringResult>;
/**
*/
getChangesMapArgs(params: BundleChangesParams): Promise<BundleChangesMapArgsResults>;
}
export default BundleV8;