class K8S::Api::Storage::V1::StorageClass
- K8S::Api::Storage::V1::StorageClass
- K8S::Kubernetes::Resource
- Reference
- Object
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
- JSON::Serializable
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
Defined in:
versions/v1.18/api/storage/v1/storage_class.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, provisioner : String, 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, reclaim_policy : String? = nil, volume_binding_mode : String? = nil)
Class Method Summary
Instance Method Summary
- #allow_volume_expansion : Bool?
- #allow_volume_expansion=(allow_volume_expansion : Bool?)
- #allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)?
- #allowed_topologies=(allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)?)
- #api_version : String
- #kind : String
- #merge(other)
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #mount_options : Array(String)?
- #mount_options=(mount_options : Array(String)?)
- #parameters : Hash(String, String)?
- #parameters=(parameters : Hash(String, String)?)
- #provisioner : String
- #provisioner=(provisioner : String)
- #reclaim_policy : String?
- #reclaim_policy=(reclaim_policy : String?)
- #to_h
- #volume_binding_mode : String?
- #volume_binding_mode=(volume_binding_mode : String?)
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,
from_file(file)
from_file,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(*, provisioner : String, 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, reclaim_policy : String? = nil, volume_binding_mode : String? = nil)
#
Class Method Detail
Instance Method Detail
def allowed_topologies=(allowed_topologies : Array(Api::Core::V1::TopologySelectorTerm)?)
#