Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Sauter (0.24 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. cmd/metrics-router.go

    const (
    	prometheusJWT    prometheusAuthType = "jwt"
    	prometheusPublic prometheusAuthType = "public"
    )
    
    // registerMetricsRouter - add handler functions for metrics.
    func registerMetricsRouter(router *mux.Router) {
    	// metrics router
    	metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
    	authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT))))
    
    	auth := AuthMiddleware
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/routers.go

    	// Add server metrics router
    	registerMetricsRouter(router)
    
    	// Add STS router always.
    	registerSTSRouter(router)
    
    	// Add KMS router
    	registerKMSRouter(router)
    
    	// Add API router
    	registerAPIRouter(router)
    
    	router.Use(globalMiddlewares...)
    
    	return router, nil
    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)
  4. cmd/sts-handlers.go

    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    	// Assume roles with no JWT, handles AssumeRole.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. tests/associations_many2many_test.go

    	}
    	AssertAssociationCount(t, user2, "Languages", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Languages").Delete(&language2); err != nil {
    		t.Fatalf("Error happened when delete Languages, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Languages", 0, "after delete")
    
    	// Prepare Data for Clear
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  6. internal/store/batch_test.go

    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add item %v to batch after Get; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    			t.Fatalf("failed to get the item by key %v after adding", i)
    		}
    	}
    }
    
    func TestBatchWithConcurrency(t *testing.T) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    	DeleteAction
    	// DeleteVersionAction deletes a particular version
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    	if err != nil {
    		logger.LogOnceIf(ctx, fmt.Errorf("%s, using default of 10s", err.Error()), "refresh-kms-master-key")
    		cacheDuration = defaultCacheDuration
    	}
    	if cacheDuration < time.Second {
    		logger.LogOnceIf(ctx, errors.New("cache duration is less than 1s, using default of 10s"), "refresh-kms-master-key")
    		cacheDuration = defaultCacheDuration
    	}
    	timer := time.NewTimer(cacheDuration)
    	defer timer.Stop()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketReplicationStat(b *testing.B) {
    	v := BucketReplicationStat{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 11K bytes
    - Viewed (0)
Back to top