@alauda-fe/common
Version:
Alauda frontend team common codes.
20 lines (19 loc) • 770 B
TypeScript
import { Observable } from 'rxjs';
import { K8sApiService } from './k8s-api.service';
import * as i0 from "@angular/core";
export declare class ClusterVersionService {
private readonly k8sApi;
private store;
private readonly platformVersion$;
constructor(k8sApi: K8sApiService);
/**
* @deprecated
*/
isPrevLTS(cluster: string): Observable<boolean>;
isOldCluster: (cluster: string) => Observable<boolean>;
clusterOldThan(cluster: string, version: string): Observable<boolean>;
platformVersion(): Observable<string>;
getClusterVersion(cluster: string): Observable<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<ClusterVersionService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ClusterVersionService>;
}