Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Decoder (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    }
    
    func (s unstructuredNegotiatedSerializer) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder {
    	return versioning.NewCodec(encoder, nil, s.converter, Scheme, Scheme, Scheme, gv, nil, "crdNegotiatedSerializer")
    }
    
    func (s unstructuredNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {
    	returnUnknownFieldPaths := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

    handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // or duplicate fields. Valid values are:
      // - Ignore: This will ignore any unknown fields that are silently
      // dropped from the object, and will ignore all but the last duplicate
      // field that the decoder encounters. This is the default behavior
      // prior to v1.23.
      // - Warn: This will send a warning via the standard warning response
      // header for each unknown field that is dropped from the object, and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // or duplicate fields. Valid values are:
      // - Ignore: This will ignore any unknown fields that are silently
      // dropped from the object, and will ignore all but the last duplicate
      // field that the decoder encounters. This is the default behavior
      // prior to v1.23.
      // - Warn: This will send a warning via the standard warning response
      // header for each unknown field that is dropped from the object, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    		// Read the file in as []byte
    		data, err := os.ReadFile(path)
    		if err != nil {
    			return err
    		}
    
    		decoder := utilyaml.NewYAMLOrJSONDecoder(bytes.NewReader(data), 4096)
    
    		// Split the data by YAML drame
    		for {
    			parsed := &unstructured.Unstructured{}
    			if err := decoder.Decode(parsed); err != nil {
    				if errors.Is(err, io.EOF) {
    					break
    				}
    				return err
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// or duplicate fields. Valid values are:
    	// - Ignore: This will ignore any unknown fields that are silently
    	// dropped from the object, and will ignore all but the last duplicate
    	// field that the decoder encounters. This is the default behavior
    	// prior to v1.23.
    	// - Warn: This will send a warning via the standard warning response
    	// header for each unknown field that is dropped from the object, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    			t.Fatalf("Unexpected err: %#v", err)
    		}
    		rec := httptest.NewRecorder()
    		apiRouter.ServeHTTP(rec, reqI)
    		checkRespErr(rec, http.StatusOK)
    		decoder := xml.NewDecoder(rec.Body)
    		multipartResponse := &InitiateMultipartUploadResponse{}
    		err = decoder.Decode(multipartResponse)
    		if err != nil {
    			t.Fatalf("Error decoding the recorded response Body")
    		}
    		upID := multipartResponse.UploadID
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    	errUnknown = fmt.Errorf("unknown instruction")
    )
    
    var decoderCover []bool
    
    func init() {
    	decoderCover = make([]bool, len(instFormats))
    }
    
    // Decode decodes the 4 bytes in src as a single instruction.
    func Decode(src []byte) (inst Inst, err error) {
    	if len(src) < 4 {
    		return Inst{}, errShort
    	}
    
    	x := binary.LittleEndian.Uint32(src)
    
    Search:
    	for i := range instFormats {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    		return 0
    	}
    	var sameDataDirCount int
    	var decoded xlMetaDataDirDecoder
    	for _, version := range x.versions {
    		if version.header.Type != ObjectType || version.header.VersionID == versionID || !version.header.UsesDataDir() {
    			continue
    		}
    		_, err := decoded.UnmarshalMsg(version.meta)
    		if err != nil || decoded.ObjectV2 == nil || decoded.ObjectV2.DataDir != dataDir {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top