@kubernetes-models/flux-cd
Version:
34 lines (33 loc) • 1.3 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HealthCheckExpressions defines the CEL expressions for determining the health status
* of custom resources.
*/
export interface IHealthCheckExpressions {
/**
* Current is the CEL expression that determines if the status
* of the custom resource has reached the desired state.
*/
"current": string;
/**
* Failed is the CEL expression that determines if the status
* of the custom resource has failed to reach the desired state.
*/
"failed"?: string;
/**
* InProgress is the CEL expression that determines if the status
* of the custom resource has not yet reached the desired state.
*/
"inProgress"?: string;
}
/**
* HealthCheckExpressions defines the CEL expressions for determining the health status
* of custom resources.
*/
export declare class HealthCheckExpressions extends Model<IHealthCheckExpressions> implements IHealthCheckExpressions {
"current": string;
"failed"?: string;
"inProgress"?: string;
constructor(data?: ModelData<IHealthCheckExpressions>);
}
export type { IHealthCheckExpressions as IComGithubFluxcdPkgApisKustomizeHealthCheckExpressions, HealthCheckExpressions as ComGithubFluxcdPkgApisKustomizeHealthCheckExpressions };