mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
33 lines
880 B
TypeScript
33 lines
880 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
import type { ItemObject } from "../../item.store";
|
|
import type { HelmReleaseDetails } from "./helm-releases.api/get-details.injectable";
|
|
|
|
export interface HelmReleaseUpdateDetails {
|
|
log: string;
|
|
release: HelmReleaseDetails;
|
|
}
|
|
|
|
export interface HelmReleaseDto {
|
|
appVersion: string;
|
|
name: string;
|
|
namespace: string;
|
|
chart: string;
|
|
status: string;
|
|
updated: string;
|
|
revision: string;
|
|
}
|
|
|
|
export interface HelmRelease extends HelmReleaseDto, ItemObject {
|
|
getNs: () => string;
|
|
getChart: (withVersion?: boolean) => string;
|
|
getRevision: () => number;
|
|
getStatus: () => string;
|
|
getVersion: () => string;
|
|
getUpdated: (humanize?: boolean, compact?: boolean) => string | number;
|
|
getRepo: () => Promise<string>;
|
|
}
|