class Pyrite::Api::Storage::V1::StorageClass
- Pyrite::Api::Storage::V1::StorageClass
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- 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.
Defined in:
versions/v1.14/api/storage/v1/storage_class.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
-
.new(pull : JSON::PullParser)
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
- .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 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)?)
- #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?)
- #volume_binding_mode : String?
- #volume_binding_mode=(volume_binding_mode : String?)
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
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.
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.