class Pyrite::Api::Storage::V1beta1::StorageClass

Overview

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

Defined in:

versions/v1.14/api/storage/v1beta1/storage_class.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pyrite::Kubernetes::Object

metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) metadata=

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

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

Instance methods inherited from class Pyrite::Kubernetes::Resource

api_version : String api_version, kind : String kind

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

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

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) #

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.


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

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.


def self.new(*, allow_volume_expansion : Bool? = nil, allowed_topologies : Array? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, mount_options : Array? = nil, parameters : Hash(String, String)? = nil, provisioner : String, reclaim_policy : String? = nil, volume_binding_mode : String? = nil) #

Instance Method Detail

def allow_volume_expansion : Bool? #

def allow_volume_expansion=(allow_volume_expansion : Bool?) #

def allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)? #

def allowed_topologies=(allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)?) #

def mount_options : Array(String)? #

def mount_options=(mount_options : Array(String)?) #

def parameters : Hash(String, String)? #

def parameters=(parameters : Hash(String, String)?) #

def provisioner : String #

def provisioner=(provisioner : String) #

def reclaim_policy : String? #

def reclaim_policy=(reclaim_policy : String?) #

def volume_binding_mode : String? #

def volume_binding_mode=(volume_binding_mode : String?) #