struct Kubernetes::ScaleIOPersistentVolumeSource

Overview

ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

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 is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"


def fs_type=(fs_type : String | Nil) #

fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"


def gateway : String | Nil #

gateway is the host address of the ScaleIO API Gateway.


def gateway=(gateway : String | Nil) #

gateway is the host address of the ScaleIO API Gateway.


def protection_domain : String | Nil #

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.


def protection_domain=(protection_domain : String | Nil) #

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.


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 secret_ref : SecretReference | Nil #

secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.


def secret_ref=(secret_ref : SecretReference | Nil) #

secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.


def ssl_enabled : Bool | Nil #

sslEnabled is the flag to enable/disable SSL communication with Gateway, default false


def ssl_enabled=(ssl_enabled : Bool | Nil) #

sslEnabled is the flag to enable/disable SSL communication with Gateway, default false


def storage_mode : String | Nil #

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.


def storage_mode=(storage_mode : String | Nil) #

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.


def storage_pool : String | Nil #

storagePool is the ScaleIO Storage Pool associated with the protection domain.


def storage_pool=(storage_pool : String | Nil) #

storagePool is the ScaleIO Storage Pool associated with the protection domain.


def system : String | Nil #

system is the name of the storage system as configured in ScaleIO.


def system=(system : String | Nil) #

system is the name of the storage system as configured in ScaleIO.


def volume_name : String | Nil #

volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.


def volume_name=(volume_name : String | Nil) #

volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.