mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce some naming conventions (#4813)
This commit is contained in:
1 parent
dc6615f98f
commit
0b32775d40
197 files changed
+630
-634
No files matched your search
@@ -7,10 +7,10 @@ import type { RequestPromiseOptions } from "request-promise-native";
|
||||
import type { Cluster } from "../../common/cluster/cluster";
|
||||
import { k8sRequest } from "../k8s-request";
|
||||
|
||||
export type ClusterDetectionResult = {
|
||||
export interface ClusterDetectionResult {
|
||||
value: string | number | boolean;
|
||||
accuracy: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class BaseClusterDetector {
|
||||
key: string;
|
||||
|
||||
@@ -11,13 +11,13 @@ import * as tar from "tar";
|
||||
import { isWindows } from "../common/vars";
|
||||
import type winston from "winston";
|
||||
|
||||
export type LensBinaryOpts = {
|
||||
export interface LensBinaryOpts {
|
||||
version: string;
|
||||
baseDir: string;
|
||||
originalBinaryName: string;
|
||||
newBinaryName?: string;
|
||||
requestOpts?: request.Options;
|
||||
};
|
||||
}
|
||||
|
||||
export class LensBinary {
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@ import type { CoreV1Api } from "@kubernetes/client-node";
|
||||
import { inspect } from "util";
|
||||
import { Singleton } from "../../common/utils";
|
||||
|
||||
export type PrometheusService = {
|
||||
export interface PrometheusService {
|
||||
id: string;
|
||||
namespace: string;
|
||||
service: string;
|
||||
port: number;
|
||||
};
|
||||
}
|
||||
|
||||
export abstract class PrometheusProvider {
|
||||
abstract readonly id: string;
|
||||
|
||||
Reference in new issue
Block a user