wrench::RegisteredFunction

class RegisteredFunction

Represents a serverless function, encapsulating its metadata and behavior.

Public Functions

sg_size_t getDiskSpaceLimit() const

Get the registered function’s disk space limit.

Returns:

A RAN limit in bytes

std::shared_ptr<Function> getFunction() const

Get the registered function’s actual function implementation.

Returns:

A function

std::shared_ptr<Image> getImage() const

Get the registered function’s image.

Returns:

A file

std::shared_ptr<DataFile> getImageFile() const

Get the registered function’s image file.

Returns:

A file

std::string getName() const

Get the registered function’s name.

Returns:

A name

sg_size_t getRAMSpaceLimit() const

Get the registered function’s RAM limit.

Returns:

A RAN limit in bytes

double getTimeLimit() const

Get the registered function’s time limit.

Returns:

A time limit in seconds