]> go.fuhry.dev Git - runtime.git/commit
[ephs] split server into servicer and low-level client main
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)
commita3fc1829b7392502e680589fbc2cab14bc2570f8
tree0e0733826189755e5b577607b314eaeadb76cdb1
parent228b5ada800f4513b5e4b77aa83d5e02e9eed1ad
[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