Class: Microsandbox::ImagePruneReport

Inherits:
Object
  • Object
show all
Defined in:
lib/microsandbox/image.rb

Overview

The result of Microsandbox::Image.prune.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_reclaimedObject (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_removedObject (readonly)

Returns the value of attribute fsmeta_removed.



58
59
60
# File 'lib/microsandbox/image.rb', line 58

def fsmeta_removed
  @fsmeta_removed
end

#image_refs_removedObject (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_removedObject (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_removedObject (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_removedObject (readonly)

Returns the value of attribute vmdk_removed.



58
59
60
# File 'lib/microsandbox/image.rb', line 58

def vmdk_removed
  @vmdk_removed
end