Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Moutier (0.17 sec)

  1. cmd/crossdomain-xml-handler_test.go

    	"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 May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/dsync/dsync-server_test.go

    		lsrv := &lockServer{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string]int64),
    		}
    		lockServer := lockServerHandler{
    			lsrv: lsrv,
    		}
    		lockServers[i] = lsrv
    
    		router := mux.NewRouter().SkipClean(true)
    		subrouter := router.PathPrefix("/").Subrouter()
    		subrouter.Methods(http.MethodPost).Path("/v1/health").HandlerFunc(lockServer.HealthHandler)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    		})
    	}
    	if !found {
    		return nil, fmt.Errorf("grid: local host not found")
    	}
    
    	return m, nil
    }
    
    // AddToMux will add the grid manager to the given mux.
    func (m *Manager) AddToMux(router *mux.Router) {
    	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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    //
    // Any updates to this must be serialized via globalLocalDrivesMu (locker)
    var globalLocalSetDrives [][][]StorageAPI
    
    // registerStorageRESTHandlers - register storage rpc router.
    func registerStorageRESTHandlers(router *mux.Router, endpointServerPools EndpointServerPools, gm *grid.Manager) {
    	h := func(f http.HandlerFunc) http.HandlerFunc {
    		return collectInternodeStats(httpTraceHdrs(f))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	DB.Select("users.*, user_speaks.*,  languages.*, pets.*").Table("users").Joins("JOIN user_speaks ON user_speaks.user_id = users.id").
    		Joins("JOIN languages ON languages.code = user_speaks.language_code").
    		Joins("LEFT OUTER JOIN pets ON pets.user_id = users.id").Find(&results)
    
    	if len(results) == 0 {
    		t.Fatalf("no record find")
    	} else if results[0].Pet.UserID == nil || *(results[0].Pet.UserID) != user.ID {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  6. cmd/kms-router.go

    	kmsAPIVersion       = "v1"
    	kmsAPIVersionPrefix = SlashSeparator + kmsAPIVersion
    )
    
    type kmsAPIHandlers struct{}
    
    // registerKMSRouter - Registers KMS APIs
    func registerKMSRouter(router *mux.Router) {
    	kmsAPI := kmsAPIHandlers{}
    	kmsRouter := router.PathPrefix(kmsPathPrefix).Subrouter()
    
    	KMSVersions := []string{
    		kmsAPIVersionPrefix,
    	}
    
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/healthServer.go

    func StartHealthServer() (installReady *atomic.Value, watchReady *atomic.Value) {
    	router := http.NewServeMux()
    	installReady, watchReady = initRouter(router)
    
    	go func() {
    		_ = http.ListenAndServe(":"+constants.ReadinessPort, router)
    	}()
    
    	return
    }
    
    func initRouter(router *http.ServeMux) (installReady *atomic.Value, watchReady *atomic.Value) {
    	installReady = &atomic.Value{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    var serverVerifyHandler = grid.NewSingleHandler[*grid.MSS, *ServerSystemConfig](grid.HandlerServerVerify, grid.NewMSS, func() *ServerSystemConfig { return &ServerSystemConfig{} })
    
    // registerBootstrapRESTHandlers - register bootstrap rest router.
    func registerBootstrapRESTHandlers(gm *grid.Manager) {
    	server := &bootstrapRESTServer{}
    	logger.FatalIf(serverVerifyHandler.Register(gm, server.VerifyHandler), "unable to register handler")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. cmd/api-router.go

    	return handler
    }
    
    // registerAPIRouter - registers S3 compatible APIs.
    func registerAPIRouter(router *mux.Router) {
    	// Initialize API.
    	api := objectAPIHandlers{
    		ObjectAPI: newObjectLayerFn,
    	}
    
    	// API Router
    	apiRouter := router.PathPrefix(SlashSeparator).Subrouter()
    
    	var routers []*mux.Router
    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. cmd/healthcheck-router.go

    	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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top