-
- Downloads
storage/kubernetes: allow arbitrary client IDs
Use a hash algorithm to match client IDs to Kubernetes object names. Because cryptographic hash algorithms produce sums larger than a Kubernetes name can fit, a non-cryptographic hash is used instead. Hash collisions are checked and result in errors.
Showing
- storage/kubernetes/client.go 24 additions, 0 deletionsstorage/kubernetes/client.go
- storage/kubernetes/client_test.go 28 additions, 1 deletionstorage/kubernetes/client_test.go
- storage/kubernetes/storage.go 52 additions, 13 deletionsstorage/kubernetes/storage.go
- storage/kubernetes/types.go 8 additions, 18 deletionsstorage/kubernetes/types.go
Please register or sign in to comment