Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResourceCondition

import type { ResourceCondition } from "https://googleapis.deno.dev/v1/gkeonprem:v1.ts";

ResourceCondition provides a standard mechanism for higher-level status reporting from controller.

interface ResourceCondition {
lastTransitionTime?: Date;
message?: string;
reason?: string;
state?:
| "STATE_UNSPECIFIED"
| "STATE_TRUE"
| "STATE_FALSE"
| "STATE_UNKNOWN";
type?: string;
}

§Properties

§
lastTransitionTime?: Date
[src]

Last time the condition transit from one status to another.

§
message?: string
[src]

Human-readable message indicating details about last transition.

§
reason?: string
[src]

Machine-readable message indicating details about last transition.

§
state?: "STATE_UNSPECIFIED" | "STATE_TRUE" | "STATE_FALSE" | "STATE_UNKNOWN"
[src]

state of the condition.

§
type?: string
[src]

Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)