class

Cl8r::Model::ResolvedStoragePool

Inherits YAML::Serializable < JSON::Serializable < Reference < Object

Fully resolved, immutable storage pool representation with calculated capacities.

Constructors

new(name : String, type : String, raw_capacity_gb : UInt64, usable_capacity_gb : UInt64, parity_overhead_gb : UInt64, member_disks : Array(DiskSpec), node : String | Nil = nil, filesystem : String | Nil = nil, mount_point : String | Nil = nil, consumer : String | Nil = nil, failure_domain : String | Nil = nil, device_class : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

consumer
Source
device_class
Source
failure_domain
Source
filesystem
Source
member_devices

Returns the list of device paths associated with this storage pool.

Source
member_disks
Source
mount_point
Source
name
Source
node
Source
parity_overhead_gb
Source
raw_capacity_gb
Source
type
Source
usable_capacity_gb
Source