struct

Kubernetes::PortworxVolumeSource

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PortworxVolumeSource represents a Portworx volume 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 represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.

Source
fs_type=(fs_type : String | Nil)

fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.

Source
read_only

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source
read_only=(read_only : Bool | Nil)

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source
volume_id

volumeID uniquely identifies a Portworx volume

Source
volume_id=(volume_id : String | Nil)

volumeID uniquely identifies a Portworx volume

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source