Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,788 for Creater (0.1 sec)

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

    			strict:         true,
    		},
    
    		// missing metadata without into, unstructured creater
    		{
    			data:    []byte("{}"),
    			typer:   &mockTyper{gvk: &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"}},
    			creater: &mockCreater{obj: &unstructured.Unstructured{}},
    
    			expectedGVK: &schema.GroupVersionKind{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    					t.Errorf("expected MissingVersion, got: %v", err)
    				}
    			},
    		},
    		{
    			name:        "creater error",
    			gvk:         &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
    			metaFactory: stubMetaFactory{gvk: &schema.GroupVersionKind{}},
    			creater:     stubCreater{err: errors.New("test")},
    			expectedObj: nil,
    			expectedGVK: &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go

    func NewSerializerWithOptions(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, options SerializerOptions) *Serializer {
    	return &Serializer{
    		meta:       meta,
    		creater:    creater,
    		typer:      typer,
    		options:    options,
    		identifier: identifier(options),
    	}
    }
    
    // identifier computes Identifier of Encoder based on the given options.
    func identifier(options SerializerOptions) runtime.Identifier {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 16:08:07 UTC 2022
    - 12K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go

    func NewRawSerializer(creater runtime.ObjectCreater, typer runtime.ObjectTyper) *RawSerializer {
    	return &RawSerializer{
    		creater: creater,
    		typer:   typer,
    	}
    }
    
    // RawSerializer encodes and decodes objects without adding a runtime.Unknown wrapper (objects are encoded without identifying
    // type).
    type RawSerializer struct {
    	creater runtime.ObjectCreater
    	typer   runtime.ObjectTyper
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:23 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go

    // CreateResource returns a function that will handle a resource creation.
    func CreateResource(r rest.Creater, scope *RequestScope, admission admission.Interface) http.HandlerFunc {
    	return createHandler(&namedCreaterAdapter{r}, scope, admission, false)
    }
    
    type namedCreaterAdapter struct {
    	rest.Creater
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    			Verb:            "create",
    			APIGroup:        scope.Resource.Group,
    			APIVersion:      scope.Resource.Version,
    			Resource:        scope.Resource.Resource,
    			Subresource:     scope.Subresource,
    			Namespace:       namespace,
    			Name:            name,
    		}
    
    		p := patcher{
    			namer:               scope.Namer,
    			creater:             scope.Creater,
    			defaulter:           scope.Defaulter,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go

    }
    
    // Creater is an object that can create an instance of a RESTful object.
    type Creater interface {
    	// New returns an empty object that can be used with Create after request data has been put into it.
    	// This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)
    	New() runtime.Object
    
    	// Create creates a new version of a resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go

    	decodable1 := &testDecodable{}
    	decodable2 := &testDecodable{}
    	decodable3 := &testDecodable{}
    
    	testCases := []struct {
    		serializer runtime.Serializer
    		convertor  runtime.ObjectConvertor
    		creater    runtime.ObjectCreater
    		typer      runtime.ObjectTyper
    		defaulter  runtime.ObjectDefaulter
    		yaml       bool
    		pretty     bool
    
    		encodes, decodes runtime.GroupVersioner
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 17:04:19 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

            apiserver_request_body_size_bytes_bucket{resource="resource.group",verb="create",le="550000"} 1
            apiserver_request_body_size_bytes_bucket{resource="resource.group",verb="create",le="650000"} 1
            apiserver_request_body_size_bytes_bucket{resource="resource.group",verb="create",le="750000"} 1
            apiserver_request_body_size_bytes_bucket{resource="resource.group",verb="create",le="850000"} 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    	// we aren't transforming the output (into Table or PartialObjectMetadata).
    	// Used only by CRDs which do not yet support Protobuf.
    	StandardSerializers []runtime.SerializerInfo
    
    	Creater         runtime.ObjectCreater
    	Convertor       runtime.ObjectConvertor
    	Defaulter       runtime.ObjectDefaulter
    	Typer           runtime.ObjectTyper
    	UnsafeConvertor runtime.ObjectConvertor
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top