@kubernetes-models/flux-cd
Version:
28 lines (27 loc) • 1.05 kB
TypeScript
import { IComGithubFluxcdPkgApisKustomizeHealthCheckExpressions } from "./HealthCheckExpressions.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* CustomHealthCheck defines the health check for custom resources.
*/
export interface ICustomHealthCheck extends IComGithubFluxcdPkgApisKustomizeHealthCheckExpressions {
/**
* APIVersion of the custom resource under evaluation.
*/
"apiVersion": string;
/**
* Kind of the custom resource under evaluation.
*/
"kind": string;
}
/**
* CustomHealthCheck defines the health check for custom resources.
*/
export declare class CustomHealthCheck extends Model<ICustomHealthCheck> implements ICustomHealthCheck {
"current": string;
"failed"?: string;
"inProgress"?: string;
"apiVersion": string;
"kind": string;
constructor(data?: ModelData<ICustomHealthCheck>);
}
export type { ICustomHealthCheck as IComGithubFluxcdPkgApisKustomizeCustomHealthCheck, CustomHealthCheck as ComGithubFluxcdPkgApisKustomizeCustomHealthCheck };