2 Copyright 2020 TATA ELXSI
4 Licensed under the Apache License, Version 2.0 (the 'License');
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
19 * @file Model for K8s related information.
22 /** Interface for K8SCLUSTERDATA */
23 export interface K8SCLUSTERDATA {
24 credentials: Credentials;
30 schema_version: string;
35 /** Interface for K8SCLUSTERDATA */
36 export interface K8SREPODATA {
39 schema_version: string;
46 /** Interface for the Credentials */
47 interface Credentials{
51 'current-context': string;
56 /** Interface for the Clusters */
61 /** Interface for the Cluster */
63 'certificate-authority-data': string;
66 /** Interface for the Contexts */
71 /** Interface for the Contexts */
76 /** Interface for the Users */
81 /** Interface for the Users */
83 'client-certificate-data': string;
84 'client-key-data': string;
86 /** Interface for the K8SCLUSTERDATA nets */
90 /** Interface for the K8SCLUSTERDATA _admin */
93 current_operation: number;
94 'helm-chart': HelmChart;
95 'juju-bundle': JujuBundle;
96 operationalState: string;
99 /** Interface for the K8SCLUSTERDATA _admin Helm chart */
100 interface HelmChart {
104 /** Interface for the K8SCLUSTERDATA _admin Juju Bundle */
105 interface JujuBundle {
108 /** Interface for the K8SCLUSTERDATA Return to Display */
109 export interface K8SCLUSTERDATADISPLAY{
112 operationalState: string;
118 /** Interface for the K8SCLUSTERDATA Return to Display */
119 export interface K8SREPODATADISPLAY {