wrench::Function

class Function

A class that implements the notion of a function that can be invoked at a serverless compute service.

Public Functions

std::shared_ptr<Image> getImage() const

Gets the image associated to the function.

Returns:

An image

std::shared_ptr<DataFile> getImageFile() const

Gets the image file associated to the function.

Returns:

A file

std::string getName() const

Gets the name of the function.

Returns:

The name of the function.