]> go.fuhry.dev Git - runtime.git/commit
[ephs] split server into servicer and low-level client
authorDan Fuhry <dan@fuhry.com>
Sat, 22 Nov 2025 03:01:18 +0000 (22:01 -0500)
committerDan Fuhry <dan@fuhry.com>
Sat, 22 Nov 2025 03:10:33 +0000 (22:10 -0500)
commit8f9f6e1bee05320f0f9d5091ce3fd77e4c07d41a
treeea7a9a6ea199794a7f07e621d53109136ccb5ef2
parente7865943e14fb306db366efb7d1a9d900da3b605
[ephs] split server into servicer and low-level client

Make the ephs servicer act as a front-end to the ephs low-level client library, which handles all direct interaction with etcd.

- Move all ephs etcd interaction from `ephs/servicer` to `ephs/ephsll`
- Add ephs.Path type to make ephs path transformations simpler
- Refactor grpc's `WithStaticAddress` option to support DNS names
15 files changed:
cmd/ephs_client/main.go
cmd/ephs_server/main.go
cmd/grpc_health_probe/main.go
ephs/BUILD.bazel
ephs/client.go
ephs/ephsll/BUILD.bazel [new file with mode: 0644]
ephs/ephsll/fs_object.go [moved from ephs/servicer/fs_object.go with 73% similarity]
ephs/ephsll/low_level_client.go [new file with mode: 0644]
ephs/ephsll/s3.go [moved from ephs/servicer/s3.go with 83% similarity]
ephs/path.go [new file with mode: 0644]
ephs/servicer/BUILD.bazel
ephs/servicer/servicer.go
ephs/servicer/writer.go
grpc/internal/client/BUILD.bazel
grpc/internal/client/client.go