Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
udnay committed Feb 16, 2025
1 parent 7218974 commit 1f4b4f1
Show file tree
Hide file tree
Showing 8 changed files with 387 additions and 27 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ tmp/*

.vscode/*
!.vscode/settings.example.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

Expand Down
154 changes: 143 additions & 11 deletions internal/pb/cache.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions internal/pb/cache.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ option go_package = "github.com/gadget-inc/dateilager/pkg/pb";

service Cached {
rpc PopulateDiskCache(PopulateDiskCacheRequest) returns (PopulateDiskCacheResponse);
rpc BindMountCacheDir(BindMountCacheDirRequest) returns (BindMountCacheDirResponse);
}

message PopulateDiskCacheRequest { string path = 1; }

message PopulateDiskCacheResponse { int64 version = 1; };

message BindMountCacheDirRequest {
string src = 1;
string dst = 2;
}

message BindMountCacheDirResponse { };
37 changes: 37 additions & 0 deletions internal/pb/cache_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1f4b4f1

Please sign in to comment.