Class storage::FileLoader

class storage::FileLoader

Public Functions

FileLoader()
FileLoader(bool useLocalFsCacheIn)
void clearLocalCache()
std::string getHashFilePath(const std::string &path)
std::string getFunctionFile(const faabric::Message &msg)
std::vector<uint8_t> loadFunctionWasm(const faabric::Message &msg)
void uploadFunction(faabric::Message &msg)
std::string getFunctionObjectFile(const faabric::Message &msg)
std::vector<uint8_t> loadFunctionObjectFile(const faabric::Message &msg)
std::vector<uint8_t> loadFunctionObjectHash(const faabric::Message &msg)
void uploadFunctionObjectFile(const faabric::Message &msg, const std::vector<uint8_t> &objBytes)
void uploadFunctionObjectHash(const faabric::Message &msg, const std::vector<uint8_t> &hash)
std::string getFunctionAotFile(const faabric::Message &msg)
std::vector<uint8_t> loadFunctionWamrAotFile(const faabric::Message &msg)
std::vector<uint8_t> loadFunctionWamrAotHash(const faabric::Message &msg)
void uploadFunctionWamrAotFile(const faabric::Message &msg, const std::vector<uint8_t> &objBytes)
void uploadFunctionWamrAotHash(const faabric::Message &msg, const std::vector<uint8_t> &hash)
std::string getEncryptedFunctionFile(const faabric::Message &msg)
std::string getFunctionSymbolsFile(const faabric::Message &msg)
std::vector<uint8_t> loadSharedObjectWasm(const std::string &path)
std::string getSharedObjectObjectFile(const std::string &realPath)
std::vector<uint8_t> loadSharedObjectObjectFile(const std::string &path)
std::vector<uint8_t> loadSharedObjectObjectHash(const std::string &path)
void uploadSharedObjectObjectFile(const std::string &path, const std::vector<uint8_t> &objBytes)
void uploadSharedObjectObjectHash(const std::string &path, const std::vector<uint8_t> &hash)
std::string getSharedFileFile(const std::string &path)
std::vector<uint8_t> loadSharedFile(const std::string &path)
void deleteSharedFile(const std::string &path)
void uploadSharedFile(const std::string &path, const std::vector<uint8_t> &fileBytes)
std::string getPythonFunctionSharedFilePath(const faabric::Message &msg)
std::string getPythonFunctionRelativePath(const faabric::Message &msg)
std::string getPythonFunctionFile(const faabric::Message &msg)
void uploadPythonFunction(faabric::Message &msg)