Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go

    	// protobuf uses 1 byte for the tag, a varint for the length of the array (at most 8 bytes - uint64 - here),
    	// and the size of the array.
    	size += 1 + 8 + byteSize
    	return size
    }
    
    // NewRawSerializer creates a Protobuf serializer that handles encoding versioned objects into the proper wire form. If typer
    // is not nil, the object has the group, version, and kind fields set. This serializer does not provide type information for the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:23 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    		mf, scheme, scheme,
    		json.SerializerOptions{Yaml: true, Pretty: false, Strict: true},
    	)
    	protoSerializer := protobuf.NewSerializer(scheme, scheme)
    	protoRawSerializer := protobuf.NewRawSerializer(scheme, scheme)
    
    	serializers := []serializerType{
    		jsonSerializerType,
    		{
    			AcceptContentTypes: []string{runtime.ContentTypeYAML},
    			ContentType:        runtime.ContentTypeYAML,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top