Class: DockerImageMap::ImageInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/docker_image_map/image_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ ImageInfo

Returns a new instance of ImageInfo.



7
8
9
10
11
# File 'lib/docker_image_map/image_info.rb', line 7

def initialize(id)
  @id = id
  @tags = Set.new
  @children = []
end

Instance Attribute Details

#childrenObject (readonly)

Returns the value of attribute children.



17
18
19
# File 'lib/docker_image_map/image_info.rb', line 17

def children
  @children
end

#dateObject

Returns the value of attribute date.



15
16
17
# File 'lib/docker_image_map/image_info.rb', line 15

def date
  @date
end

#idObject (readonly)

Returns the value of attribute id.



13
14
15
# File 'lib/docker_image_map/image_info.rb', line 13

def id
  @id
end

#parentObject

Returns the value of attribute parent.



16
17
18
# File 'lib/docker_image_map/image_info.rb', line 16

def parent
  @parent
end

#sizeObject

Returns the value of attribute size.



14
15
16
# File 'lib/docker_image_map/image_info.rb', line 14

def size
  @size
end

#tagsObject (readonly)

Returns the value of attribute tags.



18
19
20
# File 'lib/docker_image_map/image_info.rb', line 18

def tags
  @tags
end