Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Sander (0.18 sec)

  1. cmd/build-constants.go

    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    	// MinioUAName - MinIO user agent name.
    	MinioUAName = "MinIO"
    
    	// MinioBannerName - MinIO banner name for startup message.
    	MinioBannerName = "MinIO Object Storage Server"
    
    	// MinioLicense - MinIO server license.
    	MinioLicense = "GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 12 00:54:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/crossdomain-xml-handler_test.go

    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. cmd/healthcheck-handler.go

    			}
    			return
    		}
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // LivenessCheckHandler checks whether MinIO is up. It differs from the
    // readiness handler since a failing liveness check causes pod restarts
    // in K8S environments. Therefore, it does not contact external systems.
    func LivenessCheckHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    				errorCodes.ToAPIErr(ErrTooManyRequests),
    				r.URL)
    			globalHTTPStats.addRequestsInQueue(-1)
    			return
    		case <-r.Context().Done():
    			// When the client disconnects before getting the S3 handler
    			// status code response, set the status code to 499 so this request
    			// will be properly audited and traced.
    			w.WriteHeader(499)
    			globalHTTPStats.addRequestsInQueue(-1)
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  6. cmd/auth-handler_test.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    	router.Handle(RoutePath, m.Handler())
    }
    
    // Handler returns a handler that can be used to serve grid requests.
    // This should be connected on RoutePath to the main server.
    func (m *Manager) Handler() http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		defer func() {
    			if debugPrint {
    				fmt.Printf("grid: Handler returning from: %v %v\n", req.Method, req.URL)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. cmd/main.go

    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    	fmt.Fprintln(banner, color.Blue("Runtime:")+color.Bold(" %s %s/%s", runtime.Version(), runtime.GOOS, runtime.GOARCH))
    	fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>"))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. internal/grid/errors.go

    package grid
    
    import (
    	"errors"
    	"fmt"
    )
    
    var (
    	// ErrUnknownHandler is returned when an unknown handler is requested.
    	ErrUnknownHandler = errors.New("unknown mux handler")
    
    	// ErrHandlerAlreadyExists is returned when a handler is already registered.
    	ErrHandlerAlreadyExists = errors.New("mux handler already exists")
    
    	// ErrIncorrectSequence is returned when an out-of-sequence item is received.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top