Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for boolean (0.22 sec)

  1. cmd/api-response.go

    type PostResponse struct {
    	Bucket   string
    	Key      string
    	ETag     string
    	Location string
    }
    
    // returns "https" if the tls boolean is true, "http" otherwise.
    func getURLScheme(tls bool) string {
    	if tls {
    		return httpsScheme
    	}
    	return httpScheme
    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. internal/config/api/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    			Description: "turn 'off' root credential access for all API calls including s3, admin operations" + defaultHelpPostfix(apiRootAccess),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiSyncEvents,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/config/README.md

    odirect                         (boolean)   set to enable or disable O_DIRECT for read and writes under special conditions. NOTE: do not disable O_DIRECT without prior testing (default: 'on')
    root_access                     (boolean)   turn 'off' root credential access for all API calls including s3, admin operations (default: 'on')
    sync_events                     (boolean)   set to enable synchronous bucket notifications (default: 'off')
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  4. docs/debugging/s3-verify/main.go

    	flag.StringVar(&targetPrefix, "target-prefix", "", "Select a prefix")
    
    	flag.StringVar(&minimumObjectAge, "minimum-object-age", "0s", "Ignore objects younger than the specified age")
    	flag.BoolVar(&debug, "debug", false, "Prints HTTP network calls to S3 endpoint")
    	flag.BoolVar(&insecure, "insecure", false, "Disable TLS verification")
    	flag.Parse()
    
    	if sourceEndpoint == "" {
    		log.Fatalln("source Endpoint is not provided")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  5. docs/debugging/hash-set/main.go

    	flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'")
    	flag.IntVar(&setCount, "set-count", 0, "Total set count")
    	flag.IntVar(&shards, "shards", 0, "Total shards count")
    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    		log.Fatalln("set count cannot be zero")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    	}
    
    	strV, ok1s := v.ToString()
    	strA, ok2s := a.ToString()
    	if ok1s && ok2s {
    		return stringCompare(op, strV, strA), nil
    	}
    
    	boolV, ok1b := v.ToBool()
    	boolA, ok2b := a.ToBool()
    	if ok1b && ok2b {
    		return boolCompare(op, boolV, boolA)
    	}
    
    	timestampV, ok1t := v.ToTimestamp()
    	timestampA, ok2t := a.ToTimestamp()
    	if ok1t && ok2t {
    		return timestampCompare(op, timestampV, timestampA), nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    		}
    		return FromFloat(*e.Int), nil
    	case e.Float != nil:
    		return FromFloat(*e.Float), nil
    	case e.String != nil:
    		return FromString(string(*e.String)), nil
    	case e.Boolean != nil:
    		return FromBool(bool(*e.Boolean)), nil
    	case e.Missing:
    		return FromMissing(), nil
    	}
    	return FromNull(), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser.go

    	"github.com/alecthomas/participle/lexer"
    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration.go

    }
    
    // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element.
    type ExpireDeleteMarker struct {
    	Boolean
    }
    
    // Boolean signifies a boolean XML struct with custom marshaling
    type Boolean struct {
    	val    bool
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // Expiration - expiration actions for a rule in lifecycle configuration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  10. internal/config/browser/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         browserHSTSPreload,
    			Description: `turn 'on' to set Strict-Transport-Security 'preload' directive` + defaultHelpPostfix(browserHSTSPreload),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         browserReferrerPolicy,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top