- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSetNestedStringSlice (0.27 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers_test.go
assert.False(t, exists) assert.NoError(t, err) assert.Nil(t, res) } func TestCacheableObject(t *testing.T) { runtimetesting.CacheableObjectTest(t, UnstructuredJSONScheme) } func TestSetNestedStringSlice(t *testing.T) { obj := map[string]interface{}{ "x": map[string]interface{}{ "y": 1, "a": "foo", }, } err := SetNestedStringSlice(obj, []string{"bar"}, "x", "z")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 24 07:53:28 UTC 2021 - 5.9K bytes - Viewed (0)