Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Region (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/workloadapi/workload.proto

        // 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
        FAILOVER = 2;
      }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K 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. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Sinks `tf.Const` operations in the ClusterOp region using them. This is
    // performed in order to limit the number of values implicitly captured in this
    // region before outlining.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateClusterConstantSinkingPass(
        llvm::function_ref<bool(tf_device::ClusterOp, ElementsAttr)> filter = {});
    
    // Creates a pass that outlines regions of tf_device.cluster operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				WorkloadType:      workloadapi.WorkloadType_POD,
    				WorkloadName:      "name",
    				Status:            workloadapi.WorkloadStatus_UNHEALTHY,
    				ClusterId:         testC,
    				Locality: &workloadapi.Locality{
    					Region: "region",
    					Zone:   "zone",
    				},
    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

            override fun hashCode(): Int = Objects.hash(delegate, referrerProject)
    
            override fun toString(): String = "CrossProjectModelAccessProjectEvaluationListener($delegate)"
        }
    
        // region delegated members
        override fun getPlugins(): PluginContainer =
            delegate.plugins
    
        override fun apply(closure: Closure<*>) =
            delegate.apply(closure)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

               << "Expected numper of inputs (" << inputs.size()
               << ") to append to replicate to be num_replicas ("
               << replicate.getN() << ")";
      }
    
      // add block arg to region. This is in $body.
      unsigned block_arg_idx = replicate.GetNumReplicatedBlockArguments();
      Block& block = replicate.GetBody();
      block_arg = block.insertArgument(block_arg_idx, type, replicate.getLoc());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util.go

    }
    
    // LocalityToString converts Locality struct to '/' separated locality string.
    func LocalityToString(l *core.Locality) string {
    	if l == nil {
    		return ""
    	}
    	resp := l.Region
    	if l.Zone == "" {
    		return resp
    	}
    	resp += "/" + l.Zone
    	if l.SubZone == "" {
    		return resp
    	}
    	resp += "/" + l.SubZone
    	return resp
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top