Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 261 for dryrun (0.15 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/admission.k8s.io.v1beta1.AdmissionReview.json

        },
        "oldObject": {
          "apiVersion": "example.com/v1",
          "kind": "CustomType",
          "spec": {
            "replicas": 1
          },
          "status": {
            "available": 1
          }
        },
        "dryRun": true,
        "options": {
          "apiVersion": "example.com/v1",
          "kind": "CustomType",
          "spec": {
            "replicas": 1
          },
          "status": {
            "available": 1
          }
        }
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admission/v1/types.go

    	// +optional
    	OldObject runtime.RawExtension `json:"oldObject,omitempty" protobuf:"bytes,10,opt,name=oldObject"`
    	// DryRun indicates that modifications will definitely not be persisted for this request.
    	// Defaults to false.
    	// +optional
    	DryRun *bool `json:"dryRun,omitempty" protobuf:"varint,11,opt,name=dryRun"`
    	// Options is the operation option structure of the operation being performed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.Eviction.yaml

    apiVersion: policy/v1beta1
    deleteOptions:
      dryRun:
      - dryRunValue
      gracePeriodSeconds: 1
      orphanDependents: true
      preconditions:
        resourceVersion: resourceVersionValue
        uid: uidValue
      propagationPolicy: propagationPolicyValue
    kind: Eviction
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. operator/pkg/util/k8s.go

    		}
    	}
    	return nil
    }
    
    // CreateNamespace creates a namespace using the given k8s interface.
    func CreateNamespace(cs kubernetes.Interface, namespace string, network string, dryRun bool) error {
    	if dryRun {
    		scope.Infof("Not applying Namespace %s because of dry run.", namespace)
    		return nil
    	}
    	if namespace == "" {
    		// Setup default namespace
    		namespace = constants.IstioSystemNamespace
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/capture/run_test.go

    				cfg.EnableIPv6 = true
    			},
    		},
    		{
    			"ip-range",
    			func(cfg *config.Config) {
    				cfg.OutboundIPRangesExclude = "1.1.0.0/16"
    				cfg.OutboundIPRangesInclude = "9.9.0.0/16"
    				cfg.DryRun = true
    				cfg.RedirectDNS = true
    				cfg.EnableIPv6 = false
    				cfg.ProxyGID = "1,2"
    				cfg.ProxyUID = "3,4"
    				cfg.DNSServersV4 = []string{"127.0.0.53"}
    			},
    		},
    		{
    			"tproxy",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    		*out = new(bool)
    		**out = **in
    	}
    	if in.CertificateRenewal != nil {
    		in, out := &in.CertificateRenewal, &out.CertificateRenewal
    		*out = new(bool)
    		**out = **in
    	}
    	if in.DryRun != nil {
    		in, out := &in.DryRun, &out.DryRun
    		*out = new(bool)
    		**out = **in
    	}
    	if in.EtcdUpgrade != nil {
    		in, out := &in.EtcdUpgrade, &out.EtcdUpgrade
    		*out = new(bool)
    		**out = **in
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. 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)
  8. cmd/kubeadm/app/cmd/phases/join/data.go

    	InitCfg() (*kubeadmapi.InitConfiguration, error)
    	Client() (clientset.Interface, error)
    	IgnorePreflightErrors() sets.Set[string]
    	OutputWriter() io.Writer
    	PatchesDir() string
    	DryRun() bool
    	KubeConfigDir() string
    	KubeletDir() string
    	ManifestDir() string
    	CertificateWriteDir() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tests/query_test.go

    func TestSearchWithStruct(t *testing.T) {
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	result := dryRunDB.Where(User{Name: "jinzhu"}).Find(&User{})
    	if !regexp.MustCompile(`WHERE .users.\..name. = .{1,3} AND .users.\..deleted_at. IS NULL`).MatchString(result.Statement.SQL.String()) {
    		t.Errorf("invalid query SQL, got %v", result.Statement.SQL.String())
    	}
    
    	result = dryRunDB.Where(User{Name: "jinzhu", Age: 18}).Find(&User{})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	ttl, err := e.calculateTTL(obj, 0, false)
    	if err != nil {
    		return nil, err
    	}
    	out := e.NewFunc()
    	if err := e.Storage.Create(ctx, key, obj, out, ttl, dryrun.IsDryRun(options.DryRun)); err != nil {
    		err = storeerr.InterpretCreateError(err, qualifiedResource, name)
    		err = rest.CheckGeneratedNameError(ctx, e.CreateStrategy, err, obj)
    		if !apierrors.IsAlreadyExists(err) {
    			return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
Back to top