File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,12 @@ export class KubeConfig {
180
180
this . currentContext = obj [ 'current-context' ] ;
181
181
}
182
182
183
- public loadFromOptions ( options : any ) : void {
183
+ public loadFromOptions ( options : {
184
+ clusters : Cluster [ ] ;
185
+ contexts : Context [ ] ;
186
+ currentContext : Context [ 'name' ] ;
187
+ users : User [ ] ;
188
+ } ) : void {
184
189
this . clusters = options . clusters ;
185
190
this . contexts = options . contexts ;
186
191
this . users = options . users ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export interface Cluster {
21
21
readonly caData ?: string ;
22
22
caFile ?: string ;
23
23
readonly server : string ;
24
- readonly skipTLSVerify : boolean ;
24
+ readonly skipTLSVerify ? : boolean ;
25
25
readonly tlsServerName ?: string ;
26
26
}
27
27
You can’t perform that action at this time.
0 commit comments