16 #ifndef TENSORFLOW_SERVING_SOURCES_STORAGE_PATH_STATIC_STORAGE_PATH_SOURCE_H_
17 #define TENSORFLOW_SERVING_SOURCES_STORAGE_PATH_STATIC_STORAGE_PATH_SOURCE_H_
21 #include "tensorflow/core/lib/core/status.h"
22 #include "tensorflow/core/platform/macros.h"
23 #include "tensorflow/core/platform/types.h"
24 #include "tensorflow_serving/core/source.h"
25 #include "tensorflow_serving/core/storage_path.h"
26 #include "tensorflow_serving/sources/storage_path/static_storage_path_source.pb.h"
28 namespace tensorflow {
36 static Status Create(
const StaticStoragePathSourceConfig& config,
37 std::unique_ptr<StaticStoragePathSource>* result);
45 StaticStoragePathSourceConfig config_;
std::function< void(const StringPiece servable_name, std::vector< ServableData< StoragePath > > versions)> AspiredVersionsCallback