- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for myUID (0.03 sec)
-
pkg/util/pod/pod_test.go
func(input v1.PodStatus) v1.PodStatus { return input }, true, []byte(fmt.Sprintf(`{"metadata":{"uid":"myuid"}}`)), }, { "message change", func(input v1.PodStatus) v1.PodStatus { input.Message = "random message" return input }, false, []byte(fmt.Sprintf(`{"metadata":{"uid":"myuid"},"status":{"message":"random message"}}`)), }, { "pod condition change",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go
versionedObjOld := &appsv1.Deployment{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "1", Name: "myname", Namespace: "myns"}} userInfo := &user.DefaultInfo{ Name: "myuser", Groups: []string{"mygroup"}, UID: "myuid", Extra: map[string][]string{"extrakey": {"value1", "value2"}}, } attrs := admission.NewAttributesRecord( internalObj.DeepCopyObject(), internalObjOld.DeepCopyObject(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) { pod := obj.(*example.Pod) pod.ObjectMeta.UID = "myUID" return pod, nil }), nil); err != nil { t.Errorf("Unexpected failure during updated: %v", err) } prec := storage.NewUIDPreconditions("myUID") out := &example.Pod{} if err := store.Delete(ctx, key, out, prec, storage.ValidateAllObjectFunc, originalPod); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
func verifyGraphInvariants(scenario string, uidToNode map[types.UID]*node, t *testing.T) { for myUID, node := range uidToNode { for dependentNode := range node.dependents { found := false for _, owner := range dependentNode.owners { if owner.UID == myUID { found = true break } } if !found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0)