struct Kubernetes::CSIPersistentVolumeSource

Overview

Represents storage that is managed by an external CSI volume driver

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

controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def controller_expand_secret_ref=(controller_expand_secret_ref : SecretReference | Nil) #

controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def controller_publish_secret_ref : SecretReference | Nil #

controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def controller_publish_secret_ref=(controller_publish_secret_ref : SecretReference | Nil) #

controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def driver : String | Nil #

driver is the name of the driver to use for this volume. Required.


def driver=(driver : String | Nil) #

driver is the name of the driver to use for this volume. Required.


def fs_type : String | Nil #

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


def fs_type=(fs_type : String | Nil) #

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


def node_expand_secret_ref : SecretReference | Nil #

nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def node_expand_secret_ref=(node_expand_secret_ref : SecretReference | Nil) #

nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def node_publish_secret_ref : SecretReference | Nil #

nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def node_publish_secret_ref=(node_publish_secret_ref : SecretReference | Nil) #

nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def node_stage_secret_ref : SecretReference | Nil #

nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def node_stage_secret_ref=(node_stage_secret_ref : SecretReference | Nil) #

nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.


def read_only : Bool | Nil #

readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).


def read_only=(read_only : Bool | Nil) #

readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).


def volume_attributes : Hash(String, String) | Nil #

volumeAttributes of the volume to publish.


def volume_attributes=(volume_attributes : Hash(String, String) | Nil) #

volumeAttributes of the volume to publish.


def volume_handle : String | Nil #

volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.


def volume_handle=(volume_handle : String | Nil) #

volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.