Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for implicit (0.45 sec)

  1. cmd/config-current.go

    				key, subSys)
    		}
    		h = config.HelpKVS{value}
    	}
    
    	help := config.HelpKVS{}
    
    	// Only for multiple targets, make sure
    	// to list the ENV, for regular k/v EnableKey is
    	// implicit, for ENVs we cannot make it implicit.
    	if subSysHelp.MultipleTargets {
    		key := madmin.EnableKey
    		if envOnly {
    			key = config.EnvPrefix + strings.ToTitle(subSys) + config.EnvWordDelimiter + strings.ToTitle(madmin.EnableKey)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    		if err != nil || len(contentSHA256) == 0 {
    			return ErrContentSHA256Mismatch
    		}
    	}
    
    	// Verify 'Content-Md5' and/or 'X-Amz-Content-Sha256' if present.
    	// The verification happens implicit during reading.
    	reader, err := hash.NewReader(ctx, r.Body, -1, clientETag.String(), hex.EncodeToString(contentSHA256), -1)
    	if err != nil {
    		return toAPIErrorCode(ctx, err)
    	}
    	r.Body = reader
    	return ErrNone
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    
    	_, ok := kvs.Lookup(Enable)
    	// Check if state is required
    	_, enableRequired := defaultKVS[subSys].Lookup(Enable)
    	if !ok && enableRequired {
    		// implicit state "on" if not specified.
    		kvs.Set(Enable, EnableOn)
    	}
    
    	var currKVS KVS
    	ck, ok := c[subSys][tgt]
    	if !ok {
    		currKVS = defaultKVS[subSys].Clone()
    	} else {
    		currKVS = ck.Clone()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    	ErrBadReadCount    = errors.New("bufio.Scanner: Read returned impossible count")
    )
    
    const (
    	// MaxScanTokenSize is the maximum size used to buffer a token
    	// unless the user provides an explicit buffer with [Scanner.Buffer].
    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    		return false
    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    	for _, v := range list {
    		if v == "*" {
    			return true
    		}
    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/peer-s3-client.go

    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    				globalMRFState.addPartialOp(partialOperation{
    					bucket: bktName,
    					queued: time.Now(),
    				})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has an explicit opt-out label, should not be added to ambient mesh
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAddPodEnabledNamespaceDisabled(t *testing.T) {
    	url, serverClose := setupCNIEventClientWithMockServer(false)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/common-main.go

    		if err != nil {
    			logger.Fatal(err, "Unable to initialize a connection to KES as specified by the shell environment")
    		}
    		// Try to generate a data encryption key. Only try to create key if this fails.
    		// This implicitly checks that we can communicate to KES.
    		// We don't treat a policy error as failure condition since MinIO may not have the permission
    		// to create keys - just to generate/decrypt data encryption keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. src/archive/tar/writer.go

    // Flush finishes writing the current file's block padding.
    // The current file must be fully written before Flush can be called.
    //
    // This is unnecessary as the next call to [Writer.WriteHeader] or [Writer.Close]
    // will implicitly flush out the file's padding.
    func (tw *Writer) Flush() error {
    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    		return fmt.Errorf("archive/tar: missed writing %d bytes", nb)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. internal/config/identity/openid/openid.go

    	for _, kvsrc := range kvsrcs {
    		// skip returning default config values.
    		if kvsrc.Src == config.ValueSourceDef {
    			if kvsrc.Key != madmin.EnableKey {
    				continue
    			}
    			// for EnableKey we set an explicit on/off from live configuration
    			// if it is present.
    			if _, ok := r.ProviderCfgs[cfgName]; !ok {
    				// No live config is present
    				continue
    			}
    			if r.Enabled {
    				kvsrc.Value = "on"
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top