NFSVolumeSource class

Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.

Constructors

NFSVolumeSource({required String path, bool? readOnly, required String server})
Default constructor.
const
NFSVolumeSource.fromJson(Map<String, dynamic> json)
Creates a NFSVolumeSource from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.
final
readOnly bool?
readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server String
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a NFSVolumeSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited