Enforce some naming conventions (#4813)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-03-01 13:06:53 -05:00
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;
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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;