Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 693 for true (0.16 sec)

  1. internal/bucket/object/lock/lock_test.go

    	}{
    		{
    			value:       DefaultRetention{Mode: "retain"},
    			expectedErr: fmt.Errorf("unknown retention mode retain"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance},
    			expectedErr: fmt.Errorf("either Days or Years must be specified"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &days},
    			expectedErr: nil,
    			expectErr:   false,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/config/policy/plugin/help.go

    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "authorization header for plugin hook endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    			v.Add(mgmtForceStop, "")
    		}
    		return v
    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    		mkParams("", true, true),
    		mkParams("111", true, true),
    		mkParams("111", true, false),
    		mkParams("111", false, true),
    		// Valid cases follow
    		mkParams("", true, false),
    		mkParams("", false, true),
    		mkParams("", false, false),
    		mkParams("111", false, false),
    	}
    	varsArr := []map[string]string{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. istioctl/cmd/root_test.go

    	if err := parent.Execute(); err != nil {
    		t.Fatal(err)
    	}
    	got := out.String()
    	out.Reset()
    	checkHelpForFlag(t, got, parentFlag0, true)
    	checkHelpForFlag(t, got, parentFlag1, true)
    	checkHelpForFlag(t, got, parentFlag2, true)
    	checkHelpForFlag(t, got, childFlag2, true)
    
    	// verify the hidden parent flag is not visible in help text
    	hideInheritedFlags(child, parentFlag1, parentFlag2)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    	path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/'
    	for _, p := range strings.Split(path, SlashSeparator) {
    		switch strings.TrimSpace(p) {
    		case dotdotComponent:
    			return true
    		case dotComponent:
    			return true
    		}
    	}
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. internal/config/compress/help.go

    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         AllowEncrypted,
    			Description: `enable 'encryption' along with compression`,
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    	}{
    		{
    			name:             "returns expected secret summary onto Stdout",
    			callPrime:        true,
    			wantOutputSecret: "testdata/secretsummary.txt",
    		},
    		{
    			name:    "errors if config dump is not primed",
    			wantErr: true,
    		},
    		{
    			name:               "returns expected workload summary onto Stdout",
    			callPrime:          true,
    			wantOutputWorkload: "testdata/workloadsummary.txt",
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	DeletePrefix                        bool      // set true to enforce a prefix deletion, only application for DeleteObject API,
    	DeletePrefixObject                  bool      // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
    
    	Speedtest bool // object call specifically meant for SpeedTest code, set to 'true' when invoked by SpeedtestHandler.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. gorm.go

    		txConfig.PrepareStmt = true
    	}
    
    	if config.SkipHooks {
    		tx.Statement.SkipHooks = true
    	}
    
    	if config.DisableNestedTransaction {
    		txConfig.DisableNestedTransaction = true
    	}
    
    	if !config.NewDB {
    		tx.clone = 2
    	}
    
    	if config.DryRun {
    		tx.Config.DryRun = true
    	}
    
    	if config.QueryFields {
    		tx.Config.QueryFields = true
    	}
    
    	if config.Logger != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    }
    
    // IsObjectLockRetentionRequested returns true if object lock retention headers are set.
    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    	if _, ok := h[AmzObjectLockRetainUntilDate]; ok {
    		return true
    	}
    	return false
    }
    
    // IsObjectLockLegalHoldRequested returns true if object lock legal hold header is set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top