kubernetes-models
Version:
24 lines (23 loc) • 1.18 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
*/
export interface IFlockerVolumeSource {
/**
* datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
*/
"datasetName"?: string;
/**
* datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
*/
"datasetUUID"?: string;
}
/**
* Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
*/
export declare class FlockerVolumeSource extends Model<IFlockerVolumeSource> implements IFlockerVolumeSource {
"datasetName"?: string;
"datasetUUID"?: string;
constructor(data?: ModelData<IFlockerVolumeSource>);
}
export { IFlockerVolumeSource as IIoK8sApiCoreV1FlockerVolumeSource, FlockerVolumeSource as IoK8sApiCoreV1FlockerVolumeSource };