Kubernetes::PhotonPersistentDiskVolumeSource
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
Represents a Photon Controller persistent disk resource.
Constructors
new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
fs_type
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion