Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for Leader (0.2 sec)

  1. internal/auth/credentials.go

    	accessKey, err = GenerateAccessKey(accessKeyMaxLen, rand.Reader)
    	if err != nil {
    		return "", "", err
    	}
    	secretKey, err = GenerateSecretKey(secretKeyMaxLen, rand.Reader)
    	if err != nil {
    		return "", "", err
    	}
    	return accessKey, secretKey, nil
    }
    
    // GenerateAccessKey returns a new access key generated randomly using
    // the given io.Reader. If random is nil, crypto/rand.Reader is used.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    		contentType := r.Header.Get("Content-Type")
    		if contentType == "application/json" {
    			w.Header().Set("Content-Type", "application/json")
    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. maven-api-impl/pom.xml

                  </models>
                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params>
                    <param>forcedIOModelVersion=1.2.0</param>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			if fi.InlineData() {
    				// If written with header we are fine.
    				return fi, nil
    			}
    			if fi.Size == 0 || !(fi.VersionID != "" && fi.VersionID != nullVersionID) {
    				// If versioned we have no conflicts.
    				fi.SetInlineData()
    				return fi, nil
    			}
    
    			// For overwritten objects without header we might have a
    			// conflict with data written later. Check the data path
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    Stream, int) throws java.io.IOException; public static void copy(java.io.Reader, java.io.OutputStream) throws java.io.IOException; public static void copy(java.io.Reader, java.io.OutputStream, int) throws java.io.IOException; public static String toString(java.io.Reader) throws java.io.IOException; public static String toString(java.io.Reader, int) throws java.io.IOException; public static byte[] toByteArray(java.io.Reader) throws java.io.IOException; public static byte[] toByteArray(java.io.Reader,...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	},
    	ErrMissingContentLength: {
    		Code:           "MissingContentLength",
    		Description:    "You must provide the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    		Description:    "Missing required header for this request: Content-Md5.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSecurityHeader: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/sts-handlers.go

    	stsRouter.Methods(http.MethodPost).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {
    		ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
    		authOk := wildcard.MatchSimple(signV4Algorithm+"*", r.Header.Get(xhttp.Authorization))
    		noQueries := len(r.URL.RawQuery) == 0
    		return ctypeOk && authOk && noQueries
    	}).HandlerFunc(httpTraceAll(sts.AssumeRole))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cmd/erasure-multipart.go

    	closeBitrotWriters(writers)
    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Should return IncompleteBody{} error when reader has fewer bytes
    	// than specified in request header.
    	if n < data.Size() {
    		return pi, IncompleteBody{Bucket: bucket, Object: object}
    	}
    
    	for i := range writers {
    		if writers[i] == nil {
    			onlineDisks[i] = nil
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricCreateFile, volume, path)
    	if err != nil {
    		return err
    	}
    	defer done(&err)
    
    	return p.storage.CreateFile(ctx, origvolume, volume, path, size, io.NopCloser(reader))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. docs/en/mkdocs.yml

        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
        - tutorial/cookie-params.md
        - tutorial/header-params.md
        - tutorial/response-model.md
        - tutorial/extra-models.md
        - tutorial/response-status-code.md
        - tutorial/request-forms.md
        - tutorial/request-files.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top