import { ObjectMeta } from '../../meta/v1/ObjectMeta'; import { RuntimeClassSpec } from '../../node/v1alpha1/RuntimeClassSpec'; /** * RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md * @interface RuntimeClass * @see io.k8s.api.node.v1alpha1.RuntimeClass */ export interface RuntimeClass { /** * 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: "node/v1alpha1" | 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; /** * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @type ObjectMeta */ metadata?: ObjectMeta; /** * Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @type RuntimeClassSpec */ spec: RuntimeClassSpec; }