Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for nilable (6.35 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    	for _, wh := range whs {
    		nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
    		podMatched, podLabel := extractMatchedSelectorInfo(wh.ObjectSelector, podLabels)
    		if nsMatched && podMatched {
    			if nsLabel != "" && podLabel != "" {
    				return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true
    			} else if nsLabel != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. migrator/migrator.go

    				alterColumn = true
    			}
    		}
    	}
    
    	// check nullable
    	if nullable, ok := columnType.Nullable(); ok && nullable == field.NotNull {
    		// not primary key & database is nullable
    		if !field.PrimaryKey && nullable {
    			alterColumn = true
    		}
    	}
    
    	// check default value
    	if !field.PrimaryKey {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    	apiStaleUploadsCleanupInterval = "stale_uploads_cleanup_interval"
    	apiStaleUploadsExpiry          = "stale_uploads_expiry"
    	apiDeleteCleanupInterval       = "delete_cleanup_interval"
    	apiDisableODirect              = "disable_odirect"
    	apiODirect                     = "odirect"
    	apiGzipObjects                 = "gzip_objects"
    	apiRootAccess                  = "root_access"
    	apiSyncEvents                  = "sync_events"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  4. internal/hash/reader.go

    // used by the FanOut API call mostly to disable expensive md5sum
    // calculation repeatedly under hash.Reader.
    type Options struct {
    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    	ActualSize int64
    	DisableMD5 bool
    	ForceMD5   []byte
    }
    
    // NewReaderWithOpts is like NewReader but takes `Options` as argument, allowing
    // callers to indicate if they want to disable md5sum checksum.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    // isMinioBucket returns true if given bucket is a MinIO internal
    // bucket and false otherwise.
    func isMinioMetaBucketName(bucket string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. cmd/test-utils_test.go

    		SecretKey: auth.DefaultSecretKey,
    	}
    
    	// disable ENVs which interfere with tests.
    	for _, env := range []string{
    		crypto.EnvKMSAutoEncryption,
    		config.EnvAccessKey,
    		config.EnvSecretKey,
    		config.EnvRootUser,
    		config.EnvRootPassword,
    	} {
    		os.Unsetenv(env)
    	}
    
    	// Set as non-distributed.
    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    	}
    	h.ignoreNilConn = true
    	return h
    }
    
    // WithSharedResponse indicates it is unsafe to reuse the response
    // when it has been returned on a handler.
    // This will disable automatic response recycling/pooling.
    // Typically this is used when the response sharing part of its data structure.
    func (h *SingleHandler[Req, Resp]) WithSharedResponse() *SingleHandler[Req, Resp] {
    	h.sharedResp = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    				return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("Endpoint %s does not belong to deployment expected: %s (found %s) ", peer.Endpoint, v.DeploymentID, info.DeploymentID))
    			}
    		}
    	}
    
    	// if disable/enable ILM expiry replication, deployment id not needed.
    	// check for below error only if other options being updated (e.g. endpoint, sync, bandwidth)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/bucket-replication.go

    	// object layer not initialized we return with no decision.
    	if newObjectLayerFn() == nil {
    		return
    	}
    
    	// Disable server-side replication on object prefixes which are excluded
    	// from versioning via the MinIO bucket versioning extension.
    	if !globalBucketVersioningSys.PrefixEnabled(bucket, object) {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. internal/logger/target/testlogger/testlogger.go

    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    // SetErrorTB will set the logger to output to tb.Error.
    // Call the returned function to disable logging.
    func (t *testLogger) SetErrorTB(tb testing.TB) func() {
    	return t.setTB(tb, errorMessage)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top