import { IDevKnativePkgApisVolatileTime } from "./VolatileTime.js"; import { IDevKnativePkgApisConditionSeverity } from "./ConditionSeverity.js"; import { IDevKnativePkgApisConditionType } from "./ConditionType.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Condition defines a readiness condition for a Knative resource. * See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties */ export interface ICondition { /** * LastTransitionTime is the last time the condition transitioned from one status to another. * We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic * differences (all other things held constant). */ "lastTransitionTime"?: IDevKnativePkgApisVolatileTime; /** * A human readable message indicating details about the transition. */ "message"?: string; /** * The reason for the condition's last transition. */ "reason"?: string; /** * Severity with which to treat failures of this type of condition. * When this is not specified, it defaults to Error. */ "severity"?: IDevKnativePkgApisConditionSeverity; "status": string; /** * Type of condition. */ "type": IDevKnativePkgApisConditionType; } /** * Condition defines a readiness condition for a Knative resource. * See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties */ export declare class Condition extends Model implements ICondition { "lastTransitionTime"?: IDevKnativePkgApisVolatileTime; "message"?: string; "reason"?: string; "severity"?: IDevKnativePkgApisConditionSeverity; "status": string; "type": IDevKnativePkgApisConditionType; constructor(data?: ModelData); } export type { ICondition as IDevKnativePkgApisCondition, Condition as DevKnativePkgApisCondition };