Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dryRun (0.08 sec)

  1. tests/query_test.go

    	result := DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&simpleUsers, user.ID)
    
    	if !regexp.MustCompile("SELECT .*id.*name.*updated_at.*created_at.* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&User{}, user.ID)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	case serviceRestart, serviceStop:
    		dryRun := vars.Get("dry-run") == "true" // This is only supported for `restart/stop`
    
    		waitingDisks := waitingDrivesNode()
    		if len(waitingDisks) > 0 {
    			buf, err := json.Marshal(waitingDisks)
    			if err != nil {
    				return np, grid.NewRemoteErr(err)
    			}
    			return np, grid.NewRemoteErrString(string(buf))
    		}
    		if !dryRun {
    			globalServiceSignalCh <- signal
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    			if err == nil {
    				buckets[i].Created = createdAt
    			}
    		}
    	}
    	return buckets, nil
    }
    
    func (z *erasureServerPools) HealFormat(ctx context.Context, dryRun bool) (madmin.HealResultItem, error) {
    	// Acquire lock on format.json
    	formatLock := z.NewNSLock(minioMetaBucket, formatConfigFile)
    	lkctx, err := formatLock.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/testdata/config_dump.json

                                "value": 100
                              },
                              "custom_tags": [
                                {
                                  "tag": "istio.authorization.dry_run.allow_policy.name",
                                  "metadata": {
                                    "kind": {
                                      "request": {}
                                    },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 54.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/testdata/configdump.json

                                "value": 100
                              },
                              "custom_tags": [
                                {
                                  "tag": "istio.authorization.dry_run.allow_policy.name",
                                  "metadata": {
                                    "kind": {
                                      "request": {}
                                    },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                "value": 100
                              },
                              "custom_tags": [
                                {
                                  "tag": "istio.authorization.dry_run.allow_policy.name",
                                  "metadata": {
                                    "kind": {
                                      "request": {}
                                    },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top