@kubernetes-models/argo-cd
Version:
33 lines (32 loc) • 1.54 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojGitopsEnginePkgHealthHealthStatusCode } from "../../github.com/argoproj/gitops-engine/pkg/health/HealthStatusCode.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HealthStatus contains information about the currently observed health state of a resource
*/
export interface IHealthStatus {
/**
* LastTransitionTime is the time the HealthStatus was set or updated
*
* Deprecated: this field is not used and will be removed in a future release.
*/
"lastTransitionTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* Message is a human-readable informational message describing the health status
*/
"message"?: string;
/**
* Status holds the status code of the resource
*/
"status"?: IComGithubArgoprojGitopsEnginePkgHealthHealthStatusCode;
}
/**
* HealthStatus contains information about the currently observed health state of a resource
*/
export declare class HealthStatus extends Model<IHealthStatus> implements IHealthStatus {
"lastTransitionTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
"message"?: string;
"status"?: IComGithubArgoprojGitopsEnginePkgHealthHealthStatusCode;
constructor(data?: ModelData<IHealthStatus>);
}
export type { IHealthStatus as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HealthStatus, HealthStatus as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HealthStatus };