Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for Regions (0.15 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    						Locality: model.Locality{
    							ClusterID: "cluster-1",
    							Label:     "region1/zone1/subzone1",
    						},
    						LbWeight: 30,
    						Network:  "filtered-out",
    					},
    				},
    			},
    			expected: []*endpoint.LocalityLbEndpoints{
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    	now := UTCNow()
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    
    	region := globalSite.Region()
    	accessKeyID := globalActiveCred.AccessKey
    	testCases := []struct {
    		queryParams map[string]string
    		headers     map[string]string
    		region      string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      }
      return device_costs;
    }
    
    flatbuffers::Offset<SubgraphMetadata> CreateSubgraphMetadata(
        const std::map<std::string, uint8_t>& hardware_map, mlir::Region* Region,
        flatbuffers::FlatBufferBuilder* builder) {
      auto& block = Region->front();
      int index = 0;
      std::vector<flatbuffers::Offset<tflite::OpMetadata>> ops;
      for (auto& inst : block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		return nil
    	}
    
    	region := node.GetLabels()[v1.LabelTopologyRegion]
    	zone := node.GetLabels()[v1.LabelTopologyZone]
    	subzone := node.GetLabels()[label.TopologySubzone.Name]
    
    	if region == "" && zone == "" && subzone == "" {
    		return nil
    	}
    
    	return &workloadapi.Locality{
    		Region:  region,
    		Zone:    zone,
    		Subzone: subzone,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/api.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    type Locality struct {
    	Region  string `json:"region,omitempty"`
    	Zone    string `json:"zone,omitempty"`
    	Subzone string `json:"subzone,omitempty"`
    }
    
    type ZtunnelWorkload struct {
    	WorkloadIPs           []string          `json:"workloadIps"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    	if confRegion == "" {
    		return true
    	}
    	if confRegion == "US" {
    		confRegion = globalMinioDefaultRegion
    	}
    	// Some older s3 clients set region as "US" instead of
    	// globalMinioDefaultRegion, handle it.
    	if reqRegion == "US" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if region := globalSite.Region(); region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region()
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.pb.go

    	// that match less (or, eventually, none) preferences.
    	// For instance, with `[NETWORK, REGION, ZONE]`, we will send to:
    	// 1. Endpoints matching `[NETWORK, REGION, ZONE]`
    	// 2. Endpoints matching `[NETWORK, REGION]`
    	// 3. Endpoints matching `[NETWORK]`
    	// 4. Any endpoints
    	LoadBalancing_FAILOVER LoadBalancing_Mode = 2
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    		err.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region())
    	}
    
    	// Similar check to http.checkWriteHeaderCode
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top