Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for FormatBool (0.12 sec)

  1. internal/config/notify/legacy.go

    		config.KV{
    			Key:   target.AmqpMandatory,
    			Value: config.FormatBool(cfg.Mandatory),
    		},
    		config.KV{
    			Key:   target.AmqpInternal,
    			Value: config.FormatBool(cfg.Immediate),
    		},
    		config.KV{
    			Key:   target.AmqpDurable,
    			Value: config.FormatBool(cfg.Durable),
    		},
    		config.KV{
    			Key:   target.AmqpNoWait,
    			Value: config.FormatBool(cfg.NoWait),
    		},
    		config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    	values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
    	values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart))
    	values.Set(peerRESTAccessKey, opts.creds.AccessKey)
    
    	respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    			storageRESTVolume:           volume,
    			storageRESTFilePath:         path,
    			storageRESTVersionID:        versionID,
    			storageRESTInclFreeVersions: strconv.FormatBool(opts.InclFreeVersions),
    			storageRESTHealing:          strconv.FormatBool(opts.Healing),
    		}))
    		if err != nil {
    			return fi, toStorageErr(err)
    		}
    		return *resp, nil
    	}
    
    	values := make(url.Values)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    	conn := client.gridConn()
    	if conn == nil {
    		return madmin.HealResultItem{}, nil
    	}
    
    	mss := grid.NewMSSWith(map[string]string{
    		peerS3Bucket:        bucket,
    		peerS3BucketDeleted: strconv.FormatBool(opts.Remove),
    	})
    
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	_, err := healBucketRPC.Call(ctx, conn, mss)
    
    	// Initialize heal result info
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/healthcheck-handler.go

    		DeploymentType: r.Form.Get("deployment-type"),
    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. logger/sql.go

    	var (
    		convertParams func(interface{}, int)
    		vars          = make([]string, len(avars))
    	)
    
    	convertParams = func(v interface{}, idx int) {
    		switch v := v.(type) {
    		case bool:
    			vars[idx] = strconv.FormatBool(v)
    		case time.Time:
    			if v.IsZero() {
    				vars[idx] = escaper + tmFmtZero + escaper
    			} else {
    				vars[idx] = escaper + v.Format(tmFmtWithMS) + escaper
    			}
    		case *time.Time:
    			if v != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. internal/config/dns/operator_dns.go

    func (c *OperatorDNS) endpoint(bucket string, delete bool) (string, error) {
    	u, err := url.Parse(c.Endpoint)
    	if err != nil {
    		return "", err
    	}
    	q := u.Query()
    	q.Add("bucket", bucket)
    	q.Add("delete", strconv.FormatBool(delete))
    	u.RawQuery = q.Encode()
    	return u.String(), nil
    }
    
    // Put - Adds DNS entries into operator webhook server
    func (c *OperatorDNS) Put(bucket string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. cmd/bucket-policy.go

    		authtype = "POST"
    	}
    
    	args := map[string][]string{
    		"CurrentTime":      {currTime.Format(time.RFC3339)},
    		"EpochTime":        {strconv.FormatInt(currTime.Unix(), 10)},
    		"SecureTransport":  {strconv.FormatBool(r.TLS != nil)},
    		"SourceIp":         {handlers.GetSourceIPRaw(r)},
    		"UserAgent":        {r.UserAgent()},
    		"Referer":          {r.Referer()},
    		"principaltype":    {principalType},
    		"userid":           {username},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    		// If version is a deleted marker, set this header as well
    		if objInfo.DeleteMarker && delete { // only returned during delete object
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    		}
    	}
    
    	if objInfo.Bucket != "" && objInfo.Name != "" {
    		if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil && !delete {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/generate.go

    		"profile=empty",
    		"components.pilot.enabled=true",
    		"revision=" + config.Revision,
    		"values.revisionTags.[0]=" + config.Tag,
    		"values.sidecarInjectorWebhook.enableNamespacesByDefault=" + strconv.FormatBool(opts.AutoInjectNamespaces),
    		"values.istiodRemote.injectionURL=" + config.URL,
    		"values.global.istioNamespace=" + config.IstioNamespace,
    	}
    	mfs, _, err := render.GenerateManifest(nil, flags, false, nil, nil)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top