class Pyrite::Api::Core::V1::AWSElasticBlockStoreVolumeSource

Overview

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as [read/write once. AWS EBS volumes support ownership management and SELinux relabeling.](read/write once. AWS EBS volumes support ownership management and SELinux relabeling.)

Defined in:

versions/v1.14/api/core/v1/aws_elastic_block_store_volume_source.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as [read/write once. AWS EBS volumes support ownership management and SELinux relabeling.](read/write once. AWS EBS volumes support ownership management and SELinux relabeling.)


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

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as [read/write once. AWS EBS volumes support ownership management and SELinux relabeling.](read/write once. AWS EBS volumes support ownership management and SELinux relabeling.)


def self.new(*, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil, volume_id : String) #

Instance Method Detail

def fs_type : String? #

def fs_type=(fs_type : String?) #

def partition : Int32? #

def partition=(partition : Int32?) #

def read_only : Bool? #

def read_only=(read_only : Bool?) #

def volume_id : String #

def volume_id=(volume_id : String) #