]> go.fuhry.dev Git - runtime.git/commit
[ephs] split out low level client, add r/w permissions
authorDan Fuhry <dan@fuhry.com>
Sat, 14 Mar 2026 23:14:05 +0000 (19:14 -0400)
committerDan Fuhry <dan@fuhry.com>
Sat, 14 Mar 2026 23:22:17 +0000 (19:22 -0400)
commit34adbb4dad781821ad38b2a44a28e36508ca6b4d
treecfef85b5e2d6ca10844f5fcb4b8fab5b6435b796
parent759bd962178b3ef2cd2a993f5c253b91faee34d4
[ephs] split out low level client, add r/w permissions

ephsll contains the etcd interaction parts of ephs, and includes an `ephs.Client` implementation which can replace the default client for a process that has unrestricted access to the etcd prefix.

ACLs for ephs now also gain mode bits for read and write access separately, allowing subtrees or individual paths to be world-readable but writable only by the owner.
15 files changed:
cmd/ephs_client/BUILD.bazel
cmd/ephs_client/main.go
cmd/ephs_server/main.go
ephs/client.go
ephs/ephsll/BUILD.bazel
ephs/ephsll/all_test.go [new file with mode: 0644]
ephs/ephsll/client.go [new file with mode: 0644]
ephs/ephsll/errors.go [new file with mode: 0644]
ephs/ephsll/low_level_client.go
ephs/ephsll/low_level_client_test.go [new file with mode: 0644]
ephs/path.go
ephs/servicer/BUILD.bazel
ephs/servicer/acl.go
ephs/servicer/acl_test.go
ephs/servicer/servicer.go