Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 277 for patchtype (0.14 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.yaml

          - extraValue
        groups:
        - groupsValue
        uid: uidValue
        username: usernameValue
    response:
      allowed: true
      auditAnnotations:
        auditAnnotationsKey: auditAnnotationsValue
      patch: BA==
      patchType: patchTypeValue
      status:
        code: 6
        details:
          causes:
          - field: fieldValue
            message: messageValue
            reason: reasonValue
          group: groupValue
          kind: kindValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go

    		w.Header().Set("Content-Type", "application/json")
    		pt := v1beta1.PatchTypeJSONPatch
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    			Response: &v1beta1.AdmissionResponse{
    				Allowed:   true,
    				PatchType: &pt,
    				Patch:     []byte(`[{"op": "remove", "path": "/metadata/labels/remove"}]`),
    				AuditAnnotations: map[string]string{
    					"key1": "value1",
    				},
    			},
    		})
    	case "/addLabel":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 15 11:11:25 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/client.go

    }
    
    func genPatchBytes(oldRes, modRes runtime.Object, patchType types.PatchType) ([]byte, error) {
    	oldJSON, err := json.Marshal(oldRes)
    	if err != nil {
    		return nil, fmt.Errorf("failed marhsalling original resource: %v", err)
    	}
    	newJSON, err := json.Marshal(modRes)
    	if err != nil {
    		return nil, fmt.Errorf("failed marhsalling modified resource: %v", err)
    	}
    	switch patchType {
    	case types.JSONPatchType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/interfaces.go

    // RESTClient is a client helper for dealing with RESTful resources
    // in a generic way.
    type RESTClient interface {
    	Get() *rest.Request
    	Post() *rest.Request
    	Patch(types.PatchType) *rest.Request
    	Delete() *rest.Request
    	Put() *rest.Request
    }
    
    // RequestTransform is a function that is given a chance to modify the outgoing request.
    type RequestTransform func(*rest.Request)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/admission.k8s.io.v1.AdmissionReview.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/admission.k8s.io.v1beta1.AdmissionReview.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1.AdmissionReview.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/admission.k8s.io.v1.AdmissionReview.yaml

          - extraValue
        groups:
        - groupsValue
        uid: uidValue
        username: usernameValue
    response:
      allowed: true
      auditAnnotations:
        auditAnnotationsKey: auditAnnotationsValue
      patch: BA==
      patchType: patchTypeValue
      status:
        code: 6
        details:
          causes:
          - field: fieldValue
            message: messageValue
            reason: reasonValue
          group: groupValue
          kind: kindValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/admission.k8s.io.v1beta1.AdmissionReview.yaml

          - extraValue
        groups:
        - groupsValue
        uid: uidValue
        username: usernameValue
    response:
      allowed: true
      auditAnnotations:
        auditAnnotationsKey: auditAnnotationsValue
      patch: BA==
      patchType: patchTypeValue
      status:
        code: 6
        details:
          causes:
          - field: fieldValue
            message: messageValue
            reason: reasonValue
          group: groupValue
          kind: kindValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top