wrench::Image

class Image

A class that implements the notion of an image for containers.

Public Functions

sg_size_t getDiskFootprint() const

Get the image’s disk footprint.

Returns:

a number of bytes

const std::set<std::shared_ptr<ImageLayer>> &getLayers() const

Get the image’s layers.

Returns:

a list of layers

std::string getName() const

Get the image’s name.

Returns:

a name

sg_size_t getRAMFootprint() const

Get the image’s RAM footprint.

Returns:

a number of bytes