Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Montes (0.47 sec)

  1. cmd/healthcheck-router.go

    	healthCheckClusterReadPath = "/cluster/read"
    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. cmd/routers.go

    	// returned early by any other middleware (but after the middleware that
    	// sets the amz request id).
    	httpTracerMiddleware,
    	// Auth middleware verifies incoming authorization headers and routes them
    	// accordingly. Client receives a HTTP error for invalid/unsupported
    	// signatures.
    	//
    	// Validates all incoming requests to have a valid date header.
    	setAuthMiddleware,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  3. internal/config/heal/heal.go

    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    	}
    
    	months, err := strconv.Atoi(strings.TrimSuffix(s, "m"))
    	if err != nil {
    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    		return -1, fmt.Errorf("minimum bitrot cycle is %d month(s)", minimumBitrotCycleInMonths)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/timestampfuncs.go

    	}
    	return FromTimestamp(t.Add(duration)), nil
    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) {
    	if ts2.Before(ts1) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		// -- Health API --
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/healthinfo").
    			HandlerFunc(adminMiddleware(adminAPI.HealthInfoHandler))
    	}
    
    	// If none of the routes match add default error handler routes
    	adminRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	adminRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("Admin"))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/api-router.go

    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// If none of the routes match add default error handler routes
    	apiRouter.NotFoundHandler = collectAPIStats("notfound", httpTraceAll(errorResponseHandler))
    	apiRouter.MethodNotAllowedHandler = collectAPIStats("methodnotallowed", httpTraceAll(methodNotAllowedHandler("S3")))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    	// initialize a new mux router.
    	// goriilla/mux is the library used to register all the routes and handle them.
    	muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	if len(apiFunctions) > 0 {
    		// Iterate the list of API functions requested for and register them in mux HTTP handler.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses_test.go

    		t.Run("", func(t *testing.T) {
    			gotEs, err := parseEndpointSet(0, testCase.arg)
    			if err != nil && testCase.success {
    				t.Errorf("Expected success but failed instead %s", err)
    			}
    			if err == nil && !testCase.success {
    				t.Errorf("Expected failure but passed instead")
    			}
    			if !reflect.DeepEqual(testCase.es, gotEs) {
    				t.Errorf("Expected %v, got %v", testCase.es, gotEs)
    			}
    		})
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  9. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version+"/identity/list").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSListIdentitiesHandler))).Queries("pattern", "{pattern:.*}")
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  10. internal/grid/README.md

    and other connections will be blocked while the large payload is being sent.
    
    ## Handlers & Routes
    
    Handlers have a predefined Handler ID. 
    In addition, there can be several *static* subroutes used to differentiate between different handlers of the same ID.
    A subroute on a client must match a subroute on the server. So routes cannot be used for dynamic routing, unlike HTTP.
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top