issues
search
werf
/
lockgate
Lockgate is a cross-platform distributed locking library for Go. Supports distributed locks backed by Kubernetes or HTTP lock server. Supports conventional OS file locks.
Apache License 2.0
257
stars
16
forks
source link
Refactor and fix kubernetes cm key name
#12
Closed
distorhead
closed
4 years ago
distorhead
commented
4 years ago
Renamed LockHandle.ID to LockHandle.UUID to be more clear.
Use "lockgate.io/SHA3_224(lock-name)" for ConfigMap key names due to ConfigMap names restrictions.
Mv file_lock package into pkg/, add pkg/util.