- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 138 for createActions (0.22 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go
return errors.NewForbidden(gr, name, err) } } // updateToCreateOptions creates a CreateOptions with the same field values as the provided UpdateOptions. func updateToCreateOptions(uo *metav1.UpdateOptions) *metav1.CreateOptions { if uo == nil { return nil } co := &metav1.CreateOptions{ DryRun: uo.DryRun, FieldManager: uo.FieldManager, FieldValidation: uo.FieldValidation, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 11.5K bytes - Viewed (0) -
pkg/volume/csi/csi_block_test.go
attachment := makeTestAttachment(attachID, nodeName, pvName) attachment.Status.Attached = true _, err = csiMapper.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{}) if err != nil { t.Fatalf("failed to setup VolumeAttachment: %v", err) } t.Log("created attachment ", attachID) stagingPath, err := csiMapper.SetUpDevice() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 09:26:37 UTC 2024 - 40K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go
if errs := validation.ValidateCreateOptions(options); len(errs) > 0 { err := errors.NewInvalid(schema.GroupKind{Group: metav1.GroupName, Kind: "CreateOptions"}, "", errs) scope.err(err, w, req) return } options.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions")) defaultGVK := scope.Kind original := r.New() validationDirective := fieldValidation(options.FieldValidation)
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/plugin/pkg/authorizer/webhook/webhook.go
var _ authorizer.Authorizer = (*WebhookAuthorizer)(nil) type subjectAccessReviewer interface { Create(context.Context, *authorizationv1.SubjectAccessReview, metav1.CreateOptions) (*authorizationv1.SubjectAccessReview, int, error) } type WebhookAuthorizer struct { subjectAccessReview subjectAccessReviewer responseCache *cache.LRUExpireCache authorizedTTL time.Duration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
marker, err := ctc.versionedClient("marker", "v1beta1").Create(context.TODO(), newConversionMultiVersionFixture("marker", "marker", "v1beta1"), metav1.CreateOptions{}) if err != nil { t.Fatal(err) } for _, test := range tests { t.Run(test.group, func(t *testing.T) { upCh, handler := closeOnCall(test.handler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go
unstructured.SetNestedField(foo.Object, "bar", "metadata", "unspecified") unstructured.SetNestedField(foo.Object, "bar", "metadata", "labels", "foo") foo, err = fooClient.Create(context.TODO(), foo, metav1.CreateOptions{}) if err != nil { t.Fatalf("Unable to create CR: %v", err) } t.Logf("CR created: %#v", foo.UnstructuredContent()) if _, found, _ := unstructured.NestedFieldNoCopy(foo.Object, "unspecified"); found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 19.6K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
pod := goodPod(strconv.Itoa(rand.Intn(1000))) attr := admission.NewAttributesRecord(pod, nil, api.Kind("Pod").WithVersion("version"), "namespace", "", api.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, &user.DefaultInfo{}) // Allow all and see if we get an error. service.Allow() err = wh.Validate(context.TODO(), attr, nil) if tt.wantAllowed { if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
case *v1alpha3.Gateway: client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) case *v1alpha3.VirtualService: client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) } } for i := range c.k8sConfigs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:54:01 UTC 2024 - 30.4K bytes - Viewed (0)