struct Kubernetes::PortworxVolumeSource

Overview

PortworxVolumeSource represents a Portworx volume resource.

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def 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.


def 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.


def read_only : Bool | Nil #

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


def read_only=(read_only : Bool | Nil) #

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


def volume_id : String | Nil #

volumeID uniquely identifies a Portworx volume


def volume_id=(volume_id : String | Nil) #

volumeID uniquely identifies a Portworx volume