Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for myuid (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun_test.go

    		if !ok {
    			return input, nil, errors.New("Input object is not unstructured")
    		}
    		unstructured.SetNestedField(u.Object, "value", "field")
    		return u, nil, nil
    	}
    	wrongID := types.UID("wrong-uid")
    	myID := types.UID("my-uid")
    	err = s.GuaranteedUpdate(context.Background(), "key", obj, false, &storage.Preconditions{UID: &wrongID}, updateFunc, true, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top