Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 968 for Region (0.34 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    					},
    				},
    				Locality: &core.Locality{
    					Region: "myregion",
    				},
    			},
    			expected: labels.Instance{
    				"k1":                       "v1",
    				NodeRegionLabelGA:          "myregion",
    				label.TopologyNetwork.Name: "mynetwork",
    			},
    		},
    		{
    			name: "region and zone",
    			ctl:  testController{},
    			proxy: &model.Proxy{
    				Labels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    }
    
    func TestPreferredAffinity(t *testing.T) {
    	labelRgChina := map[string]string{
    		"region": "China",
    	}
    	labelRgIndia := map[string]string{
    		"region": "India",
    	}
    	labelAzAz1 := map[string]string{
    		"az": "az1",
    	}
    	labelAzAz2 := map[string]string{
    		"az": "az2",
    	}
    	labelRgChinaAzAz1 := map[string]string{
    		"region": "China",
    		"az":     "az1",
    	}
    	podLabelSecurityS1 := map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  3. internal/config/config.go

    			return
    		}
    
    		region = regionKV.Get(RegionName)
    	}
    	if region != "" {
    		if !validRegionRegex.MatchString(region) {
    			err = Errorf(
    				"region '%s' is invalid, expected simple characters such as [us-east-1, myregion...]",
    				region)
    			return
    		}
    		s.region = region
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4.go

    	}
    
    	cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Verify if region is valid.
    	region = signV4Values.Credential.scope.region
    
    	// Extract date, if not present throw error.
    	var dateStr string
    	if dateStr = req.Header.Get("x-amz-date"); dateStr == "" {
    		if dateStr = r.Header.Get("Date"); dateStr == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/runtime/pprof/proto_darwin.go

    // license that can be found in the LICENSE file.
    
    package pprof
    
    import (
    	"errors"
    )
    
    // readMapping adds a mapping entry for the text region of the running process.
    // It uses the mach_vm_region region system call to add mapping entries for the
    // text region of the running process. Note that currently no attempt is
    // made to obtain the buildID information.
    func (b *profileBuilder) readMapping() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    				trace.WithRegion(ctx, fmt.Sprintf("region%d", i), func() {
    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/tags.go

    	scr, err := ParseScript(s)
    	if err != nil {
    		panic(err)
    	}
    	return scr
    }
    
    // MustParseRegion is like ParseRegion, but panics if the given region cannot be
    // parsed. It simplifies safe initialization of Region values.
    func MustParseRegion(s string) Region {
    	r, err := ParseRegion(s)
    	if err != nil {
    		panic(err)
    	}
    	return r
    }
    
    // Und is the root language.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. cmd/event-notification.go

    			}
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    func (evnot *EventNotifier) set(bucket BucketInfo, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err := config.Validate(region, globalEventNotifier.targetList); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/compact.go

    package language
    
    // CompactCoreInfo is a compact integer with the three core tags encoded.
    type CompactCoreInfo uint32
    
    // GetCompactCore generates a uint32 value that is guaranteed to be unique for
    // different language, region, and script values.
    func GetCompactCore(t Tag) (cci CompactCoreInfo, ok bool) {
    	if t.LangID > langNoIndexOffset {
    		return 0, false
    	}
    	cci |= CompactCoreInfo(t.LangID) << (8 + 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 853 bytes
    - Viewed (0)
  10. cmd/handler-utils.go

    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    // Validates input location is same as configured region
    // of MinIO server.
    func isValidLocation(location string) bool {
    	region := globalSite.Region()
    	return region == "" || region == location
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top