@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
42 lines (41 loc) • 1.79 kB
TypeScript
/**
* 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.
*/
/**
* VolumeError captures an error encountered during a volume operation.
* @export
* @interface IoK8sApiStorageV1VolumeError
*/
export interface IoK8sApiStorageV1VolumeError {
/**
* errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
*
* This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
* @type {number}
* @memberof IoK8sApiStorageV1VolumeError
*/
errorCode?: number;
/**
* message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
* @type {string}
* @memberof IoK8sApiStorageV1VolumeError
*/
message?: 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 IoK8sApiStorageV1VolumeError
*/
time?: string;
}
export declare function IoK8sApiStorageV1VolumeErrorFromJSON(json: any): IoK8sApiStorageV1VolumeError;
export declare function IoK8sApiStorageV1VolumeErrorFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiStorageV1VolumeError;
export declare function IoK8sApiStorageV1VolumeErrorToJSON(value?: IoK8sApiStorageV1VolumeError | null): any;