Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 166 for dryrun (0.12 sec)

  1. pkg/kube/client.go

    		DryRun:       getDryRun(dryRun),
    		Force:        &force,
    		FieldManager: "istio-ci",
    	})
    	// If we are changing CRDs, invalidate the discovery client so future calls will not fail
    	if !dryRun && obj.GetKind() == gvk.CustomResourceDefinition.Kind {
    		c.InvalidateDiscovery()
    	}
    
    	return err
    }
    
    func (c *client) deleteYAMLFile(namespace string, dryRun bool, file string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. operator/pkg/helmreconciler/reconciler.go

    	countLock     *sync.Mutex
    	prunedKindSet map[schema.GroupKind]struct{}
    }
    
    // Options are options for HelmReconciler.
    type Options struct {
    	// DryRun executes all actions but does not write anything to the cluster.
    	DryRun bool
    	// Log is a console logger for user visible CLI output.
    	Log clog.Logger
    	// Wait determines if we will wait for resources to be fully applied. Only applies to components that have no
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. pkg/webhooks/validation/controller/controller.go

    		},
    		Spec: networking.Gateway{},
    	}
    
    	createOptions := metav1.CreateOptions{DryRun: []string{metav1.DryRunAll}}
    	istioClient := c.client.Istio().NetworkingV1alpha3()
    	_, err := istioClient.Gateways(c.o.WatchedNamespace).Create(context.TODO(), invalidGateway, createOptions)
    	if kerrors.IsAlreadyExists(err) {
    		updateOptions := metav1.UpdateOptions{DryRun: []string{metav1.DryRunAll}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/builder.go

    }
    
    func (b Builder) isDryRun(policy model.AuthorizationPolicy) bool {
    	dryRun := false
    	if val, ok := policy.Annotations[annotation.IoIstioDryRun.Name]; ok {
    		var err error
    		dryRun, err = strconv.ParseBool(val)
    		if err != nil {
    			b.logger.AppendError(fmt.Errorf("failed to parse the value of %s: %v", annotation.IoIstioDryRun.Name, err))
    		}
    	}
    	return dryRun
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    		Operation:          admissionv1.Operation(attr.GetOperation()),
    		UserInfo:           userInfo,
    		// Leave Object and OldObject unset since we don't provide access to them via request
    		DryRun: &dryRun,
    		Options: runtime.RawExtension{
    			Object: attr.GetOperationOptions(),
    		},
    	}
    }
    
    // CreateNamespaceObject creates a Namespace object that is suitable for the CEL evaluation.
    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. 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),
    				options,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    	name := "my-pod"
    
    	return newAttributesRecord(&object, &oldObject, kind, namespace, name, "pod", labels, dryRun)
    }
    
    // NewAttributeUnstructured returns static admission Attributes for testing with custom resources.
    func NewAttributeUnstructured(namespace string, labels map[string]string, dryRun bool) admission.Attributes {
    	// Set up a test object for the call
    	object := unstructured.Unstructured{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    func (er *erasureObjects) healObject(ctx context.Context, bucket string, object string, versionID string, opts madmin.HealOpts) (result madmin.HealResultItem, err error) {
    	dryRun := opts.DryRun
    	scanMode := opts.ScanMode
    
    	storageDisks := er.getDisks()
    	storageEndpoints := er.getEndpoints()
    
    	defer func() {
    		er.auditHealObject(ctx, bucket, object, versionID, result, err)
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            assertRunsDefaultTasks(parameter)
            parameter.excludedTaskNames.empty
            parameter.projectProperties.isEmpty()
            parameter.systemPropertiesArgs.isEmpty()
            !parameter.dryRun
            !parameter.continueOnFailure
            !parameter.rerunTasks
            !parameter.refreshDependencies
            !parameter.parallelProjectExecutionEnabled
            !parameter.buildCacheEnabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top