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()
Get the registered function’s actual function implementation.
- Returns:
A function
-
std::shared_ptr<DataFile> getImageFile() const
Get the registered function’s image file.
- Returns:
A file
-
std::shared_ptr<FileLocation> getOriginalImageLocation() const
Get the authoritative (i.e., in a repo) location of the registered function’s image.
- Returns:
A file location
-
sg_size_t getRAMLimit() 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
-
sg_size_t getDiskSpaceLimit() const