class K8S::Api::Storage::V1::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.

Included Modules

Defined in:

versions/v1.15/api/storage/v1/storage_class.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module K8S::Kubernetes::Resource::Object

api_version : String api_version, kind : String kind, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta metadata!

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

api_version : String api_version, kind : String kind

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

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

Class methods inherited from class K8S::Kubernetes::Resource

from_file(file) from_file, from_files(*paths) from_files

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

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

[View source]

Class Method Detail

def self.from_h(hash) #

[View source]

Instance Method Detail

def allow_volume_expansion : Bool? #

[View source]
def allow_volume_expansion=(allow_volume_expansion : Bool?) #

[View source]
def allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)? #

[View source]
def allowed_topologies=(allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)?) #

[View source]
def api_version : String #

[View source]
def kind : String #

[View source]
def merge(other) #

[View source]

[View source]
def metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) #

[View source]
def mount_options : Array(String)? #

[View source]
def mount_options=(mount_options : Array(String)?) #

[View source]
def parameters : Hash(String, String)? #

[View source]
def parameters=(parameters : Hash(String, String)?) #

[View source]
def provisioner : String #

[View source]
def provisioner=(provisioner : String) #

[View source]
def reclaim_policy : String? #

[View source]
def reclaim_policy=(reclaim_policy : String?) #

[View source]
def to_h #

[View source]
def volume_binding_mode : String? #

[View source]
def volume_binding_mode=(volume_binding_mode : String?) #

[View source]