import { NodeSpec } from '../../core/v1/NodeSpec'; import { NodeStatus } from '../../core/v1/NodeStatus'; import { ObjectMeta } from '../../meta/v1/ObjectMeta'; /** * Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). * @interface Node * @see io.k8s.api.core.v1.Node */ export interface Node { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @type string */ apiVersion: "core/v1" | string; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @type string */ kind?: string; /** * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @type ObjectMeta */ metadata?: ObjectMeta; /** * Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @type NodeSpec */ spec?: NodeSpec; /** * Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @type NodeStatus */ status?: NodeStatus; }