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})
-
The main constructor.
const
-
HostPathVolumeSource.fromJson(Map<
String, dynamic> json) - Creates a HostPathVolumeSource from JSON data.
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
Static Methods
-
listFromJson(
Iterable< Map< list) → List<String, dynamic> >HostPathVolumeSource> - Creates a list of HostPathVolumeSource from JSON data.