|
1 | 1 | /* auto-generated by NAPI-RS */
|
2 | 2 | /* eslint-disable */
|
3 |
| -export declare function plus100(input: number): number |
| 3 | +export declare class Client { |
| 4 | + static connect(): Client |
| 5 | + listDeployments(): Promise<Array<Deployment>> |
| 6 | +} |
| 7 | + |
| 8 | +export declare const enum BindingType { |
| 9 | + Loopback = 'Loopback', |
| 10 | + AnyInterface = 'AnyInterface', |
| 11 | + Specific = 'Specific', |
| 12 | +} |
| 13 | + |
| 14 | +export interface CreationSource { |
| 15 | + type: CreationSourceType |
| 16 | + source: string |
| 17 | +} |
| 18 | + |
| 19 | +export declare const enum CreationSourceType { |
| 20 | + AtlasCLI = 'AtlasCLI', |
| 21 | + Container = 'Container', |
| 22 | + Other = 'Other', |
| 23 | +} |
| 24 | + |
| 25 | +export interface Deployment { |
| 26 | + containerId: string |
| 27 | + name?: string |
| 28 | + state: State |
| 29 | + portBindings?: MongoDBPortBinding |
| 30 | + mongodbType: MongodbType |
| 31 | + mongodbVersion: string |
| 32 | + creationSource?: CreationSource |
| 33 | + localSeedLocation?: string |
| 34 | + mongodbInitdbDatabase?: string |
| 35 | + mongodbInitdbRootPasswordFile?: string |
| 36 | + mongodbInitdbRootPassword?: string |
| 37 | + mongodbInitdbRootUsernameFile?: string |
| 38 | + mongodbInitdbRootUsername?: string |
| 39 | + mongotLogFile?: string |
| 40 | + runnerLogFile?: string |
| 41 | + doNotTrack?: string |
| 42 | + telemetryBaseUrl?: string |
| 43 | +} |
| 44 | + |
| 45 | +export interface MongoDbPortBinding { |
| 46 | + type: BindingType |
| 47 | + ip: string |
| 48 | + port: number |
| 49 | +} |
| 50 | + |
| 51 | +export declare const enum MongodbType { |
| 52 | + Community = 'Community', |
| 53 | + Enterprise = 'Enterprise', |
| 54 | +} |
| 55 | + |
| 56 | +export declare const enum State { |
| 57 | + Created = 'Created', |
| 58 | + Dead = 'Dead', |
| 59 | + Exited = 'Exited', |
| 60 | + Paused = 'Paused', |
| 61 | + Removing = 'Removing', |
| 62 | + Restarting = 'Restarting', |
| 63 | + Running = 'Running', |
| 64 | +} |
0 commit comments