Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for dryrun (0.27 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    		RESTClient:      client,
    		NamespaceScoped: mapping.Scope.Name() == meta.RESTScopeNameNamespace,
    	}
    }
    
    // DryRun, if true, will use server-side dry-run to not persist changes to storage.
    // Otherwise, changes will be persisted to storage.
    func (m *Helper) DryRun(dryRun bool) *Helper {
    	m.ServerDryRun = dryRun
    	return m
    }
    
    // WithFieldManager sets the field manager option to indicate the actor or entity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	patchnodephase "k8s.io/kubernetes/cmd/kubeadm/app/phases/patchnode"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    	dryrunutil "k8s.io/kubernetes/cmd/kubeadm/app/util/dryrun"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    )
    
    var (
    	kubeadmJoinFailMsg = dedent.Dedent(`
    		Unfortunately, an error has occurred:
    			%v
    
    		This error is likely caused by:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    func (in *ApplyOptions) DeepCopyInto(out *ApplyOptions) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	if in.DryRun != nil {
    		in, out := &in.DryRun, &out.DryRun
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyOptions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	}
    	return ""
    }
    
    func cleanDryRun(u *url.URL) string {
    	// avoid allocating when we don't see dryRun in the query
    	if !strings.Contains(u.RawQuery, "dryRun") {
    		return ""
    	}
    	dryRun := u.Query()["dryRun"]
    	if errs := validation.ValidateDryRun(nil, dryRun); len(errs) > 0 {
    		return "invalid"
    	}
    	// Since dryRun could be valid with any arbitrarily long length
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	BootstrapTokens []bootstraptokenv1.BootstrapToken `json:"bootstrapTokens,omitempty"`
    
    	// DryRun tells if the dry run mode is enabled, don't apply any change if it is and just output what would be done.
    	// +optional
    	DryRun bool `json:"dryRun,omitempty"`
    
    	// NodeRegistration holds fields that relate to registering the new control-plane node to the cluster
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token.go

    		// user knows that their command was invalid.
    		Run: cmdutil.SubCmdRun(),
    	}
    
    	options.AddKubeConfigFlag(tokenCmd.PersistentFlags(), &kubeConfigFile)
    	tokenCmd.PersistentFlags().BoolVar(&dryRun,
    		options.DryRun, dryRun, "Whether to enable dry-run mode or not")
    
    	cfg := &kubeadmapiv1.InitConfiguration{}
    
    	// Default values for the cobra help text
    	kubeadmscheme.Scheme.Default(cfg)
    
    	var cfgPath string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. operator/cmd/mesh/install.go

    	if err := InstallManifests(iop, iArgs.Force, rootArgs.DryRun, kubeClient, client, iArgs.ReadinessTimeout, l); err != nil {
    		return fmt.Errorf("failed to install manifests: %v", err)
    	}
    	opts := &helmreconciler.ProcessDefaultWebhookOptions{
    		Namespace: ns,
    		DryRun:    rootArgs.DryRun,
    	}
    	if processed, err := helmreconciler.ProcessDefaultWebhook(kubeClient, iop, exists, opts); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/ipallocator.go

    		a.lastAddress.Less(addr) { // the last address in the subnet is lower than the requested address
    		if !dryRun {
    			// update metrics
    			a.metrics.incrementAllocationErrors(a.metricLabel, "static")
    		}
    		return &ErrNotInRange{ip, a.prefix.String()}
    	}
    	if dryRun {
    		return nil
    	}
    	return a.createIPAddress(ip.String(), svc, "static")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. gorm.go

    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    	// DisableForeignKeyConstraintWhenMigrating
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

    		wasDeleted := true
    		userInfo, _ := request.UserFrom(ctx)
    		staticAdmissionAttrs := admission.NewAttributesRecord(nil, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Delete, options, dryrun.IsDryRun(options.DryRun), userInfo)
    		result, err := finisher.FinishRequest(ctx, func() (runtime.Object, error) {
    			obj, deleted, err := r.Delete(ctx, name, rest.AdmissionToValidateObjectDeleteFunc(admit, staticAdmissionAttrs, scope), options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top