Package io.fabric8.kubernetes.api.model
Class HostPathVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.HostPathVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HostPathVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HostPathVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<HostPathVolumeSourceBuilder>, KubernetesResource
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostPathVolumeSource()No args constructor for use in serializationHostPathVolumeSource(String path, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostPathVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetPath()path of the directory on the host.StringgetType()type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpathvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPath(String path)path of the directory on the host.voidsetType(String type)type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpathHostPathVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getPath
public String getPath()
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
-
setPath
public void setPath(String path)
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
-
getType
public String getType()
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
setType
public void setType(String type)
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
edit
public HostPathVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HostPathVolumeSourceBuilder>
-
toBuilder
public HostPathVolumeSourceBuilder toBuilder()
-
-