UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

46 lines (45 loc) 2.01 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. * @export * @interface IoK8sApiResourceV1beta2DeviceTaint */ export interface IoK8sApiResourceV1beta2DeviceTaint { /** * The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. * @type {string} * @memberof IoK8sApiResourceV1beta2DeviceTaint */ effect: string; /** * The taint key to be applied to a device. Must be a label name. * @type {string} * @memberof IoK8sApiResourceV1beta2DeviceTaint */ key: string; /** * Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. * @type {string} * @memberof IoK8sApiResourceV1beta2DeviceTaint */ timeAdded?: string; /** * The taint value corresponding to the taint key. Must be a label value. * @type {string} * @memberof IoK8sApiResourceV1beta2DeviceTaint */ value?: string; } export declare function IoK8sApiResourceV1beta2DeviceTaintFromJSON(json: any): IoK8sApiResourceV1beta2DeviceTaint; export declare function IoK8sApiResourceV1beta2DeviceTaintFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta2DeviceTaint; export declare function IoK8sApiResourceV1beta2DeviceTaintToJSON(value?: IoK8sApiResourceV1beta2DeviceTaint | null): any;