kubernetes-models
Version:
23 lines (22 loc) • 1.02 kB
TypeScript
import { Model } from "@kubernetes-models/base";
/**
* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
*/
export interface IHostPathVolumeSource {
/**
* path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
*/
"path": string;
/**
* type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
*/
"type"?: string;
}
/**
* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
*/
export declare class HostPathVolumeSource extends Model<IHostPathVolumeSource> implements IHostPathVolumeSource {
"path": string;
"type"?: string;
}
export { IHostPathVolumeSource as IIoK8sApiCoreV1HostPathVolumeSource, HostPathVolumeSource as IoK8sApiCoreV1HostPathVolumeSource };