mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 01:25:36 -05:00
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
declare module 'bdc' {
|
|
|
|
export const enum constants {
|
|
extensionName = 'Microsoft.big-data-cluster'
|
|
}
|
|
|
|
export interface IExtension {
|
|
getClusterController(url: string, authType: AuthType, username?: string, password?: string): IClusterController;
|
|
}
|
|
|
|
export type AuthType = 'integrated' | 'basic';
|
|
|
|
export interface IClusterController {
|
|
getClusterConfig(): Promise<any>;
|
|
getKnoxUsername(clusterUsername: string): Promise<string>;
|
|
}
|
|
}
|