Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Gridin (0.17 sec)

  1. cmd/generic-handlers.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" {
    			// This is a workaround change to ensure that "Origin: null"
    			// incoming request to a response back as "*" instead of "null"
    			w.Header().Set("Access-Control-Allow-Origin", "*")
    		}
    		if globalDNSConfig == nil || !globalBucketFederation ||
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	}
    
    	var getCert certs.GetCertificateFunc
    	if globalTLSCerts != nil {
    		getCert = globalTLSCerts.GetCertificate
    	}
    
    	// Initialize gridn
    	bootstrapTrace("initGrid", func() {
    		logger.FatalIf(initGlobalGrid(GlobalContext, globalEndpoints), "Unable to configure server grid RPC services")
    	})
    
    	// Configure server.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  3. istioctl/pkg/util/formatting/formatter_test.go

    		"level": "Error",
    		"message": "Explosion accident: the bubble is too big",
    		"origin": "SoapBubble"
    	},
    	{
    		"code": "C1",
    		"documentationUrl": "` + url.ConfigAnalysis + `/c1/",
    		"level": "Warning",
    		"message": "Collapse danger: the castle is too old",
    		"origin": "GrandCastle"
    	}
    ]`
    
    	g.Expect(output).To(Equal(expectedOutput))
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. cmd/event-notification.go

    	}
    
    	respElements := map[string]string{
    		"x-amz-request-id": args.RespElements["requestId"],
    		"x-amz-id-2":       args.RespElements["nodeId"],
    		"x-minio-origin-endpoint": func() string {
    			if globalMinioEndpoint != "" {
    				return globalMinioEndpoint
    			}
    			return getAPIEndpoints()[0]
    		}(), // MinIO specific custom elements.
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/config/api/api.go

    // API sub-system constants
    const (
    	apiRequestsMax             = "requests_max"
    	apiRequestsDeadline        = "requests_deadline"
    	apiClusterDeadline         = "cluster_deadline"
    	apiCorsAllowOrigin         = "cors_allow_origin"
    	apiRemoteTransportDeadline = "remote_transport_deadline"
    	apiListQuorum              = "list_quorum"
    	apiReplicationPriority     = "replication_priority"
    	apiReplicationMaxWorkers   = "replication_max_workers"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  6. istioctl/pkg/util/formatting/formatter.go

    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    		m.Type.Code(), m.Origin(), fmt.Sprintf(m.Type.Template(), m.Parameters...),
    	)
    }
    
    func colorPrefix(m diag.Message, colorize bool) string {
    	if !colorize {
    		return ""
    	}
    
    	prefix, ok := colorPrefixes[m.Type.Level()]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/api-router.go

    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    		AllowOriginFunc: func(origin string) bool {
    			for _, allowedOrigin := range globalAPIConfig.getCorsAllowOrigins() {
    				if wildcard.MatchSimple(allowedOrigin, origin) {
    					return true
    				}
    			}
    			return false
    		},
    		AllowedMethods: []string{
    			http.MethodGet,
    			http.MethodPut,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. internal/config/browser/browser.go

    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    		return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    		if !versions.Contains(gvk.KubernetesGateway.Version) {
    			origin := legacykube.Origin{
    				Type: gvk.CustomResourceDefinition,
    				FullName: resource.FullName{
    					Namespace: resource.Namespace(r.Namespace),
    					Name:      resource.LocalName(r.Name),
    				},
    				ResourceVersion: resource.Version(r.ResourceVersion),
    			}
    			r := &resource.Instance{
    				Origin: &origin,
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. cmd/server_test.go

    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top