- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NamedCreater (0.45 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go
"k8s.io/apiserver/pkg/util/dryrun" "k8s.io/component-base/tracing" "k8s.io/klog/v2" ) var namespaceGVR = schema.GroupVersionResource{Group: "", Version: "v1", Resource: "namespaces"} func createHandler(r rest.NamedCreater, scope *RequestScope, admit admission.Interface, includeName bool) http.HandlerFunc { return func(w http.ResponseWriter, req *http.Request) { ctx := req.Context() // For performance tracking purposes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go
Create(ctx context.Context, obj runtime.Object, createValidation ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error) } // NamedCreater is an object that can create an instance of a RESTful object using a name parameter. type NamedCreater interface { // New returns an empty object that can be used with Create after request data has been put into it.
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
} namespaceScoped = scoper.NamespaceScoped() } // what verbs are supported by the storage, used to know what verbs we support per path creater, isCreater := storage.(rest.Creater) namedCreater, isNamedCreater := storage.(rest.NamedCreater) lister, isLister := storage.(rest.Lister) getter, isGetter := storage.(rest.Getter) getterWithOptions, isGetterWithOptions := storage.(rest.GetterWithOptions)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/token.go
issuer token.TokenGenerator auds authenticator.Audiences audsSet sets.String maxExpirationSeconds int64 extendExpiration bool } var _ = rest.NamedCreater(&TokenREST{}) var _ = rest.GroupVersionKindProvider(&TokenREST{}) var gvk = schema.GroupVersionKind{ Group: authenticationapiv1.SchemeGroupVersion.Group, Version: authenticationapiv1.SchemeGroupVersion.Version,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 10K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage.go
} // Destroy cleans up resources on shutdown. func (r *BindingREST) Destroy() { // Given that underlying store is shared with REST, // we don't destroy it here explicitly. } var _ = rest.NamedCreater(&BindingREST{}) var _ = rest.SubresourceObjectMetaPreserver(&BindingREST{}) // Create ensures a pod is bound to a specific host.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/registry/apps/deployment/storage/storage.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 16.8K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction.go
type EvictionREST struct { store rest.StandardStorage podDisruptionBudgetClient policyclient.PodDisruptionBudgetsGetter } var _ = rest.NamedCreater(&EvictionREST{}) var _ = rest.GroupVersionKindProvider(&EvictionREST{}) var _ = rest.GroupVersionAcceptor(&EvictionREST{}) var v1Eviction = schema.GroupVersionKind{Group: "policy", Version: "v1", Kind: "Eviction"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 11:58:48 UTC 2023 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
go func() { response, err = client.Do(request) wg.Done() }() wg.Wait() if err != nil { t.Errorf("unexpected error: %v", err) } // empty name is not allowed for NamedCreater if response.StatusCode != http.StatusBadRequest { t.Errorf("Unexpected response %#v", response) } } type namePopulatorAdmissionControl struct { t *testing.T populateName string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0)