Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for isDryRun (0.29 sec)

  1. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

                TestExecutionListener executionListener = new JUnitPlatformTestExecutionListener(resultProcessor, clock, idGenerator);
                Launcher launcher = launcherSession.getLauncher();
                if (spec.isDryRun()) {
                    TestPlan testPlan = launcher.discover(discoveryRequest);
                    executeDryRun(testPlan, executionListener);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/delete.go

    			staticAttributes.GetName(),
    			staticAttributes.GetResource(),
    			staticAttributes.GetSubresource(),
    			staticAttributes.GetOperation(),
    			staticAttributes.GetOperationOptions(),
    			staticAttributes.IsDryRun(),
    			staticAttributes.GetUserInfo(),
    		)
    		if mutating {
    			if err := mutatingAdmission.Admit(ctx, finalAttributes, objInterfaces); err != nil {
    				return err
    			}
    		}
    		if validating {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 07 17:43:41 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/rest/create.go

    			name,
    			staticAttributes.GetResource(),
    			staticAttributes.GetSubresource(),
    			staticAttributes.GetOperation(),
    			staticAttributes.GetOperationOptions(),
    			staticAttributes.IsDryRun(),
    			staticAttributes.GetUserInfo(),
    		)
    		if !validatingAdmission.Handles(finalAttributes.GetOperation()) {
    			return nil
    		}
    		return validatingAdmission.Validate(ctx, finalAttributes, o)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go

    			}
    		}
    
    		span.AddEvent("About to store object in database")
    		admissionAttributes := admission.NewAttributesRecord(obj, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Create, options, dryrun.IsDryRun(options.DryRun), userInfo)
    		requestFunc := func() (runtime.Object, error) {
    			return r.Create(
    				ctx,
    				name,
    				obj,
    				rest.AdmissionToValidateObjectFunc(admit, admissionAttributes, scope),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    		}
    		// Convert the extra information in the user object
    		for key, val := range aUserInfo.GetExtra() {
    			userInfo.Extra[key] = authenticationv1.ExtraValue(val)
    		}
    	}
    
    	dryRun := attr.IsDryRun()
    
    	return &admissionv1.AdmissionRequest{
    		Kind: metav1.GroupVersionKind{
    			Group:   gvk.Group,
    			Kind:    gvk.Kind,
    			Version: gvk.Version,
    		},
    		Resource: metav1.GroupVersionResource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. pkg/registry/core/namespace/storage/storage.go

    					for f := range currentFinalizers {
    						newFinalizers = append(newFinalizers, f)
    					}
    					existingNamespace.Finalizers = newFinalizers
    				}
    				return existingNamespace, nil
    			}),
    			dryrun.IsDryRun(options.DryRun),
    			nil,
    		)
    
    		if err != nil {
    			err = storageerr.InterpretGetError(err, api.Resource("namespaces"), name)
    			err = storageerr.InterpretUpdateError(err, api.Resource("namespaces"), name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    		}
    	}
    	return errs[0]
    }
    
    func (d *validatingDispatcher) callHook(ctx context.Context, h *v1.ValidatingWebhook, invocation *generic.WebhookInvocation, attr *admission.VersionedAttributes) error {
    	if attr.Attributes.IsDryRun() {
    		if h.SideEffects == nil {
    			return &webhookutil.ErrCallingWebhook{WebhookName: h.Name, Reason: fmt.Errorf("Webhook SideEffects is nil"), Status: apierrors.NewBadRequest("Webhook SideEffects is nil")}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    			staticAttributes.GetName(),
    			staticAttributes.GetResource(),
    			staticAttributes.GetSubresource(),
    			staticAttributes.GetOperation(),
    			staticAttributes.GetOperationOptions(),
    			staticAttributes.IsDryRun(),
    			staticAttributes.GetUserInfo(),
    		)
    		if !validatingAdmission.Handles(finalAttributes.GetOperation()) {
    			return nil
    		}
    		return validatingAdmission.Validate(ctx, finalAttributes, o)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			if err != nil {
    				t.Fatalf("couldn't run CreateInitStaticPodManifestFiles: %v", err)
    			}
    			err = etcdphase.CreateLocalEtcdStaticPodManifestFile(pathMgr.RealManifestDir(), pathMgr.PatchesDir(), oldcfg.NodeRegistration.Name, &oldcfg.ClusterConfiguration, &oldcfg.LocalAPIEndpoint, false /* isDryRun */)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/storage/storage.go

    			return nil, err
    		}
    	}
    
    	err = r.assignPod(ctx, binding.UID, binding.ResourceVersion, binding.Name, binding.Target.Name, binding.Annotations, dryrun.IsDryRun(options.DryRun))
    	out = &metav1.Status{Status: metav1.StatusSuccess}
    	return
    }
    
    // PreserveRequestObjectMetaSystemFieldsOnSubresourceCreate indicates to a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top