mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 18:22:34 -05:00
Feature/bdc create (#4012)
* initial checkin * rename * wizard pages * target cluster radio button group * resource strings * existing cluster picker * revert changes to unwanted file * revert unwanted changes-2 * update cluster icon * settings page * fix group container * hyperlink component * address review comments * comments part 2
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import { IKubeConfigParser } from '../../data/kubeConfigParser';
|
||||
import { ClusterInfo, TargetClusterType } from '../../interfaces';
|
||||
|
||||
export class CreateClusterModel {
|
||||
|
||||
constructor(private _kubeConfigParser: IKubeConfigParser) {
|
||||
}
|
||||
|
||||
public loadClusters(configPath: string): ClusterInfo[] {
|
||||
return this._kubeConfigParser.parse(configPath);
|
||||
}
|
||||
|
||||
public targetClusterType: TargetClusterType;
|
||||
|
||||
public selectedCluster: ClusterInfo;
|
||||
|
||||
public adminUserName: string;
|
||||
|
||||
public adminPassword: string;
|
||||
}
|
||||
Reference in New Issue
Block a user