Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for isDryRun (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DryRunBuildExecutionAction.java

            this.delegate = delegate;
        }
    
        @Override
        public ExecutionResult<Void> execute(GradleInternal gradle, FinalizedExecutionPlan plan) {
            if (gradle.getStartParameter().isDryRun()) {
                for (Task task : plan.getContents().getTasks()) {
                    textOutputFactory.create(DryRunBuildExecutionAction.class)
                        .append(((TaskInternal) task).getIdentityPath().getPath())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/admission.go

    		return nil
    	}
    
    	// ignore all requests that specify dry-run
    	// because they don't correspond to any calls to etcd,
    	// they should not be affected by the ratelimit
    	if attr.IsDryRun() {
    		return nil
    	}
    
    	var errors []error
    	// give each limit enforcer a chance to reject the event
    	for _, enforcer := range a.limitEnforcers {
    		if err := enforcer.accept(attr); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 14 15:26:57 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  3. plugin/pkg/admission/namespace/autoprovision/admission.go

    func (p *Provision) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	// Don't create a namespace if the request is for a dry-run.
    	if a.IsDryRun() {
    		return nil
    	}
    
    	// if we're here, then we've already passed authentication, so we're allowed to do what we're trying to do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go

    		Extra:    make(map[string]authenticationv1.ExtraValue),
    		Groups:   aUserInfo.GetGroups(),
    		UID:      aUserInfo.GetUID(),
    		Username: aUserInfo.GetName(),
    	}
    	dryRun := attr.IsDryRun()
    
    	// Convert the extra information in the user object
    	for key, val := range aUserInfo.GetExtra() {
    		userInfo.Extra[key] = authenticationv1.ExtraValue(val)
    	}
    
    	return &admissionv1.AdmissionReview{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	GetOperationOptions() runtime.Object
    	// IsDryRun indicates that modifications will definitely not be persisted for this request. This is to prevent
    	// admission controllers with side effects and a method of reconciliation from being overwhelmed.
    	// However, a value of false for this does not mean that the modification will be persisted, because it
    	// could still be rejected by a subsequent validation step.
    	IsDryRun() bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. pkg/registry/certificates/certificates/storage/metrics.go

    		return func(ctx context.Context, success bool) {
    			if !success {
    				return // ignore failures
    			}
    
    			if dryrun.IsDryRun(options.DryRun) {
    				return // ignore things that would not get persisted
    			}
    
    			oldCSR, ok := old.(*certificates.CertificateSigningRequest)
    			if !ok {
    				return
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

                        // Ignore
                        return;
                    }
                }
            } else if (allTestsFiltered(runner, filters)) {
                return;
            }
    
            if (spec.isDryRun()) {
                runner = new JUnitTestDryRunner(runner);
            }
    
            RunNotifier notifier = new RunNotifier();
            notifier.addListener(listener);
            runner.run(notifier);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/attributes.go

    	return record.operation
    }
    
    func (record *attributesRecord) GetOperationOptions() runtime.Object {
    	return record.options
    }
    
    func (record *attributesRecord) IsDryRun() bool {
    	return record.dryRun
    }
    
    func (record *attributesRecord) GetObject() runtime.Object {
    	return record.object
    }
    
    func (record *attributesRecord) GetOldObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 07 17:53:14 UTC 2019
    - 6.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go

    					Reason:  "InstanceDeletionPending",
    					Message: "CustomResourceDefinition marked for deletion; CustomResource deletion will begin soon",
    				})
    				return existingCRD, nil
    			}),
    			dryrun.IsDryRun(options.DryRun),
    			nil,
    		)
    
    		if err != nil {
    			err = storageerr.InterpretGetError(err, apiextensions.Resource("customresourcedefinitions"), name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top