mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-28 07:18:03 +00:00
Rename frontend directory (#472)
* Rename directory * Cleanup * Recover lost images * remove lint
This commit is contained in:
97
frontend/src/API/interfaces.ts
Normal file
97
frontend/src/API/interfaces.ts
Normal file
@@ -0,0 +1,97 @@
|
||||
export interface HelmRepository {
|
||||
name: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface ChartVersion {
|
||||
name: string;
|
||||
version: string;
|
||||
}
|
||||
|
||||
export interface K8sContext {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface K8sResource {
|
||||
kind: string;
|
||||
name: string;
|
||||
namespace: string;
|
||||
}
|
||||
|
||||
export interface Scanner {
|
||||
id: string;
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface ScanResult {
|
||||
scannerType: string;
|
||||
result: any;
|
||||
}
|
||||
|
||||
export interface ScannersList {
|
||||
scanners: Scanner[];
|
||||
}
|
||||
|
||||
export interface ScanResults {
|
||||
[scannerType: string]: ScanResult;
|
||||
}
|
||||
|
||||
export interface ApplicationStatus {
|
||||
Analytics: boolean;
|
||||
CacheHitRatio: number;
|
||||
ClusterMode: boolean;
|
||||
CurVer: string;
|
||||
LatestVer: string;
|
||||
}
|
||||
|
||||
export interface KubectlContexts {
|
||||
contexts: string[];
|
||||
}
|
||||
|
||||
export interface K8sResourceList {
|
||||
items: K8sResource[];
|
||||
}
|
||||
|
||||
export type HelmRepositories = Repository[];
|
||||
|
||||
export interface ChartList {
|
||||
charts: Chart[];
|
||||
}
|
||||
|
||||
export interface LatestChartVersion {
|
||||
name: string;
|
||||
version: string;
|
||||
app_version: string;
|
||||
description: string;
|
||||
installed_namespace: string;
|
||||
installed_name: string;
|
||||
repository: string;
|
||||
urls: string[];
|
||||
isSuggestedRepo: boolean;
|
||||
}
|
||||
|
||||
export interface ChartVersions {
|
||||
versions: string[];
|
||||
}
|
||||
|
||||
export interface ValuesYamlText {
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface Repository {
|
||||
name: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface Chart {
|
||||
name: string;
|
||||
repo: string;
|
||||
version: string;
|
||||
appVersion: string;
|
||||
description: string;
|
||||
created: string;
|
||||
digest: string;
|
||||
urls: string[];
|
||||
icon: string;
|
||||
}
|
||||
Reference in New Issue
Block a user