Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for dryrun (0.37 sec)

  1. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	out.BootstrapTokens = *(*[]bootstraptokenv1.BootstrapToken)(unsafe.Pointer(&in.BootstrapTokens))
    	out.DryRun = in.DryRun
    	if err := Convert_v1beta4_NodeRegistrationOptions_To_kubeadm_NodeRegistrationOptions(&in.NodeRegistration, &out.NodeRegistration, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// persisted. An invalid or unrecognized dryRun directive will
    	// result in an error response and no further processing of the
    	// request. Valid values are:
    	// - All: all dry run stages will be processed
    	// +optional
    	// +listType=atomic
    	DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,5,rep,name=dryRun"`
    }
    
    const (
    	// FieldValidationIgnore ignores unknown/duplicate fields
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	ctx := t.TestContext()
    
    	foo := obj.DeepCopyObject()
    	t.setObjectMeta(foo, t.namer(1))
    	if err := createFn(ctx, foo); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	defer t.delete(ctx, foo)
    	objectMeta := t.getObjectMetaOrFail(foo)
    	opts := metav1.NewDeleteOptions(10)
    	if dryRun {
    		opts.DryRun = []string{metav1.DryRunAll}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    	"dryRun":       "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    message ApplyOptions {
      // When present, indicates that modifications should not be
      // persisted. An invalid or unrecognized dryRun directive will
      // result in an error response and no further processing of the
      // request. Valid values are:
      // - All: all dry run stages will be processed
      // +optional
      repeated string dryRun = 1;
    
      // Force is going to "force" Apply requests. It means user will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // When present, indicates that modifications should not be
      // persisted. An invalid or unrecognized dryRun directive will
      // result in an error response and no further processing of the
      // request. Valid values are:
      // - All: all dry run stages will be processed
      // +optional
      // +listType=atomic
      repeated string dryRun = 1;
    
      // Force is going to "force" Apply requests. It means user will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

            {
              "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
              "in": "query",
              "name": "dryRun",
              "schema": {
                "type": "string",
                "uniqueItems": true
              }
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    	// created when the disk was down.
    	err = os.RemoveAll(path.Join(fsDirs[0], bucket))
    	if err != nil {
    		t.Fatal(err)
    	}
    	// This would create the bucket.
    	_, err = obj.HealBucket(ctx, bucket, madmin.HealOpts{
    		DryRun: false,
    		Remove: false,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Stat the bucket to make sure that it was created.
    	_, err = er.getDisks()[0].StatVol(context.Background(), bucket)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top