Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 471 for dryrun (0.12 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. pkg/apis/admission/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.OldObject, &out.OldObject, s); err != nil {
    		return err
    	}
    	out.DryRun = (*bool)(unsafe.Pointer(in.DryRun))
    	if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Options, &out.Options, s); err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 9.4K bytes
    - Viewed (0)
  4. pkg/apis/admission/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.OldObject, &out.OldObject, s); err != nil {
    		return err
    	}
    	out.DryRun = (*bool)(unsafe.Pointer(in.DryRun))
    	if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Options, &out.Options, s); err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 9.7K bytes
    - Viewed (0)
  5. 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)
  6. cmd/kubeadm/app/cmd/phases/init/kubeconfig.go

    		if data.ExternalCA() {
    			fmt.Printf("[kubeconfig] External CA mode: Using user provided %s\n", kubeConfigFileName)
    			// If using an external CA while dryrun, copy kubeconfig files to dryrun dir for later use
    			if data.DryRun() {
    				err := kubeadmutil.CopyFile(filepath.Join(kubeadmconstants.KubernetesDir, kubeConfigFileName), filepath.Join(data.KubeConfigDir(), kubeConfigFileName))
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 04:36:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. 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)
  8. operator/cmd/mesh/operator-init.go

    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    	// If CR was passed, we must create a namespace for it and install CR into it.
    	customResource, istioNamespace, err := getCRAndNamespaceFromFile(oiArgs.inFilename, l)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/interfaces.go

    	AllocateNext() (net.IP, error)
    	Release(net.IP) error
    	ForEach(func(net.IP))
    	CIDR() net.IPNet
    	IPFamily() api.IPFamily
    	Has(ip net.IP) bool
    	Destroy()
    	EnableMetrics()
    
    	// DryRun offers a way to try operations without persisting them.
    	DryRun() Interface
    }
    
    var (
    	ErrFull              = errors.New("range is full")
    	ErrAllocated         = errors.New("provided IP is already allocated")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. pkg/apis/admission/zz_generated.deepcopy.go

    	in.UserInfo.DeepCopyInto(&out.UserInfo)
    	if in.Object != nil {
    		out.Object = in.Object.DeepCopyObject()
    	}
    	if in.OldObject != nil {
    		out.OldObject = in.OldObject.DeepCopyObject()
    	}
    	if in.DryRun != nil {
    		in, out := &in.DryRun, &out.DryRun
    		*out = new(bool)
    		**out = **in
    	}
    	if in.Options != nil {
    		out.Options = in.Options.DeepCopyObject()
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top