HostPathVolumeSource class
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
Constructors
- HostPathVolumeSource({required String path, String? type})
-
Default constructor.
const
-
HostPathVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a HostPathVolumeSource from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a HostPathVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited