- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ProducesObject (0.15 sec)
-
pkg/registry/core/pod/rest/log.go
// the "produces" section for pods/{name}/log return []string{ "text/plain", } } // ProducesObject returns an object the specified HTTP verb respond with. It will overwrite storage object if // it is not nil. Only the type of the return object matters, the value will be ignored. func (r *LogREST) ProducesObject(verb string) interface{} { return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 24 10:50:43 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/registry/apps/deployment/storage/storage.go
func (r *RollbackREST) ProducesMIMETypes(verb string) []string { return nil } // ProducesObject returns an object the specified HTTP verb respond with. It will overwrite storage object if // it is not nil. Only the type of the return object matters, the value will be ignored. func (r *RollbackREST) ProducesObject(verb string) interface{} { return metav1.Status{} } var _ = rest.StorageMetadata(&RollbackREST{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 16.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go
// PATCH) can respond with. ProducesMIMETypes(verb string) []string // ProducesObject returns an object the specified HTTP verb respond with. It will overwrite storage object if // it is not nil. Only the type of the return object matters, the value will be ignored. ProducesObject(verb string) interface{} } // StorageVersionProvider is an optional interface that a storage object can
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 18.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
subresource, resetFields, ) if err != nil { return nil, nil, fmt.Errorf("failed to create field manager: %v", err) } for _, action := range actions { producedObject := storageMeta.ProducesObject(action.Verb) if producedObject == nil { producedObject = defaultVersionedObject } reqScope.Namer = action.Namer requestScope := "cluster" var namespaced string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
type MetadataRESTStorage struct { *SimpleRESTStorage types []string } func (m *MetadataRESTStorage) ProducesMIMETypes(method string) []string { return m.types } func (m *MetadataRESTStorage) ProducesObject(verb string) interface{} { return nil } var _ rest.StorageMetadata = &MetadataRESTStorage{} type GetWithOptionsRESTStorage struct { *SimpleRESTStorage optionsReceived runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0)