Class: Microsandbox::ImagePruneReport
- Inherits:
-
Object
- Object
- Microsandbox::ImagePruneReport
- Defined in:
- lib/microsandbox/image.rb
Overview
The result of Microsandbox::Image.prune.
Instance Attribute Summary collapse
-
#bytes_reclaimed ⇒ Object
readonly
Returns the value of attribute bytes_reclaimed.
-
#fsmeta_removed ⇒ Object
readonly
Returns the value of attribute fsmeta_removed.
-
#image_refs_removed ⇒ Object
readonly
Returns the value of attribute image_refs_removed.
-
#layers_removed ⇒ Object
readonly
Returns the value of attribute layers_removed.
-
#manifests_removed ⇒ Object
readonly
Returns the value of attribute manifests_removed.
-
#vmdk_removed ⇒ Object
readonly
Returns the value of attribute vmdk_removed.
Instance Method Summary collapse
-
#initialize(data) ⇒ ImagePruneReport
constructor
A new instance of ImagePruneReport.
Constructor Details
#initialize(data) ⇒ ImagePruneReport
Returns a new instance of ImagePruneReport.
61 62 63 64 65 66 67 68 |
# File 'lib/microsandbox/image.rb', line 61 def initialize(data) @image_refs_removed = data["image_refs_removed"] @manifests_removed = data["manifests_removed"] @layers_removed = data["layers_removed"] @fsmeta_removed = data["fsmeta_removed"] @vmdk_removed = data["vmdk_removed"] @bytes_reclaimed = data["bytes_reclaimed"] end |
Instance Attribute Details
#bytes_reclaimed ⇒ Object (readonly)
Returns the value of attribute bytes_reclaimed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def bytes_reclaimed @bytes_reclaimed end |
#fsmeta_removed ⇒ Object (readonly)
Returns the value of attribute fsmeta_removed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def @fsmeta_removed end |
#image_refs_removed ⇒ Object (readonly)
Returns the value of attribute image_refs_removed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def image_refs_removed @image_refs_removed end |
#layers_removed ⇒ Object (readonly)
Returns the value of attribute layers_removed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def layers_removed @layers_removed end |
#manifests_removed ⇒ Object (readonly)
Returns the value of attribute manifests_removed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def manifests_removed @manifests_removed end |
#vmdk_removed ⇒ Object (readonly)
Returns the value of attribute vmdk_removed.
58 59 60 |
# File 'lib/microsandbox/image.rb', line 58 def vmdk_removed @vmdk_removed end |