Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for FormatBool (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/object-handlers.go

    		if objInfo.VersionID != "" && objInfo.DeleteMarker {
    			w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// filter object lock metadata if permission does not permit
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    	}
    
    	// TODO the defaults should be controlled by meshConfig/proxyConfig; if flags not given to the command proxyCOnfig takes precedence
    	if dnsCapture {
    		md["ISTIO_META_DNS_CAPTURE"] = strconv.FormatBool(dnsCapture)
    	}
    	if autoRegister {
    		md["ISTIO_META_AUTO_REGISTER_GROUP"] = wg.Name
    	}
    
    	proxyConfig, err := protomarshal.ToJSONMap(meshConfig.DefaultConfig)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    			if gr.ObjInfo.VersionID != "" && gr.ObjInfo.DeleteMarker {
    				w.Header()[xhttp.AmzVersionID] = []string{gr.ObjInfo.VersionID}
    				w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(gr.ObjInfo.DeleteMarker)}
    			}
    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	defer gr.Close()
    	srcInfo := gr.ObjInfo
    
    	actualPartSize, err := srcInfo.GetActualSize()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top