Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Body (4.22 sec)

  1. istioctl/pkg/util/handlers/handlers_test.go

    			case p == "/namespaces/istio-system/deployments/foo" && m == "GET":
    				body := cmdtesting.ObjBody(codec, attachDeploy("istio-system"))
    				return &http.Response{StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: body}, nil
    			case p == "/namespaces/test/deployments/foo" && m == "GET":
    				body := cmdtesting.ObjBody(codec, attachDeploy("test"))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("request not successful %s", resp.Status)
    	}
    
    	err = json.NewDecoder(resp.Body).Decode(&scopeInfos)
    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return nil, err
    	}
    	var obj runtime.Object
    	var ar *kube.AdmissionReview
    	out, _, err := deserializer.Decode(body, nil, obj)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode body: %v", err)
    	}
    	ar, err = kube.AdmissionReviewKubeToAdapter(out)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

              },
              "name": "default.http.0"
             }
            ],
            "include_request_attempt_count": true
           }
          ],
          "validate_clusters": false,
          "max_direct_response_body_size_bytes": 1048576,
          "ignore_port_in_host_matching": true
         },
         "last_updated": "2023-11-29T09:58:27.570Z"
        }
       ]
      }
     ]
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 3.1K bytes
    - Viewed (1)
  5. cni/pkg/log/uds.go

    	if req.Body == nil {
    		return
    	}
    	defer req.Body.Close()
    	data, err := io.ReadAll(req.Body)
    	if err != nil {
    		log.Errorf("Failed to read log report from cni plugin: %v", err)
    		return
    	}
    	l.processLog(data)
    }
    
    func (l *UDSLogger) processLog(body []byte) {
    	cniLogs := make([]string, 0)
    	err := json.Unmarshal(body, &cniLogs)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus_test.go

    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // This field IS NOT consulted in any way if "Allowed" is "true".
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3;
    
      // The patch body. Currently we only support "JSONPatch" which implements RFC 6902.
      // +optional
      optional bytes patch = 4;
    
      // The type of Patch. Currently we only allow "JSONPatch".
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                            redirect or forward (default) traffic.
                          properties:
                            body:
                              description: Specifies the content of the response body.
                              oneOf:
                              - not:
                                  anyOf:
                                  - required:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 18:46:49 GMT 2024
    - 570.3K bytes
    - Viewed (0)
  9. manifests/charts/base/crds/crd-all.gen.yaml

                            redirect or forward (default) traffic.
                          properties:
                            body:
                              description: Specifies the content of the response body.
                              oneOf:
                              - not:
                                  anyOf:
                                  - required:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/mock_test.go

    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top