- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for DeepHashObject (0.13 sec)
-
pkg/kubelet/container/helpers.go
// Note: remember to update hashValues in container_hash_test.go as well. func HashContainer(container *v1.Container) uint64 { hash := fnv.New32a() containerJSON, _ := json.Marshal(pickFieldsToHash(container)) hashutil.DeepHashObject(hash, containerJSON) return uint64(hash.Sum32()) } // pickFieldsToHash pick fields that will affect the running status of the container for hash, // currently this field range only contains `image` and `name`.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0)