kubernetes-models
Version:
40 lines (39 loc) • 1.47 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* FlowSchemaCondition describes conditions for a FlowSchema.
*/
export interface IFlowSchemaCondition {
/**
* `lastTransitionTime` is the last time the condition transitioned from one status to another.
*/
"lastTransitionTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* `message` is a human-readable message indicating details about last transition.
*/
"message"?: string;
/**
* `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
*/
"reason"?: string;
/**
* `status` is the status of the condition. Can be True, False, Unknown. Required.
*/
"status"?: string;
/**
* `type` is the type of the condition. Required.
*/
"type"?: string;
}
/**
* FlowSchemaCondition describes conditions for a FlowSchema.
*/
export declare class FlowSchemaCondition extends Model<IFlowSchemaCondition> implements IFlowSchemaCondition {
"lastTransitionTime"?: IIoK8sApimachineryPkgApisMetaV1Time;
"message"?: string;
"reason"?: string;
"status"?: string;
"type"?: string;
constructor(data?: ModelData<IFlowSchemaCondition>);
}
export { IFlowSchemaCondition as IIoK8sApiFlowcontrolV1FlowSchemaCondition, FlowSchemaCondition as IoK8sApiFlowcontrolV1FlowSchemaCondition };