Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for dryrun (0.15 sec)

  1. tests/sql_builder_test.go

    		t.Errorf("The first join condition is over written instead of combining")
    	}
    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    func (er *erasureObjects) healObject(ctx context.Context, bucket string, object string, versionID string, opts madmin.HealOpts) (result madmin.HealResultItem, err error) {
    	dryRun := opts.DryRun
    	scanMode := opts.ScanMode
    
    	storageDisks := er.getDisks()
    	storageEndpoints := er.getEndpoints()
    
    	defer func() {
    		er.auditHealObject(ctx, bucket, object, versionID, result, err)
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	updateStatus := madmin.ServerUpdateStatusV2{
    		DryRun:  dryRun,
    		Results: make([]madmin.ServerPeerUpdateStatus, 0, len(globalNotificationSys.allPeerClients)),
    	}
    	peerResults := make(map[string]madmin.ServerPeerUpdateStatus, len(globalNotificationSys.allPeerClients))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                                }));
                            } else {
                                postcard.addTo(fessConfig.getMailFromAddress());
                                postcard.dryrun();
                            }
                            postcard.setHostname(systemHelper.getHostname());
                            postcard.setClustername(ping.getClusterName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admission/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
    
      // DryRun indicates that modifications will definitely not be persisted for this request.
      // Defaults to false.
      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
    
      // DryRun indicates that modifications will definitely not be persisted for this request.
      // Defaults to false.
      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. cni/pkg/plugin/sidecar_iptables_linux.go

    	cfg.OutboundPortsExclude = rdrct.excludeOutboundPorts
    	cfg.OutboundPortsInclude = rdrct.includeOutboundPorts
    	cfg.OutboundIPRangesExclude = rdrct.excludeIPCidrs
    	cfg.KubeVirtInterfaces = rdrct.kubevirtInterfaces
    	cfg.DryRun = dependencies.DryRunFilePath.Get() != ""
    	cfg.RedirectDNS = rdrct.dnsRedirect
    	cfg.CaptureAllDNS = rdrct.dnsRedirect
    	cfg.DropInvalid = rdrct.invalidDrop
    	cfg.DualStack = rdrct.dualStack
    
    	netNs, err := getNs(netns)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jun 29 01:24:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. 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)
Back to top