Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for serviceOf (0.18 sec)

  1. cmd/handler-utils.go

    	}
    	return nil
    }
    
    // Returns access credentials in the request Authorization header.
    func getReqAccessCred(r *http.Request, region string) (cred auth.Credentials) {
    	cred, _, _ = getReqAccessKeyV4(r, region, serviceS3)
    	if cred.AccessKey == "" {
    		cred, _, _ = getReqAccessKeyV2(r)
    	}
    	return cred
    }
    
    // Extract request params to be sent with event notification.
    func extractReqParams(r *http.Request) map[string]string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    	}
    
    	// Validates all testcases.
    	for i, testCase := range testCases {
    		s3Error := isReqAuthenticated(ctx, testCase.req, globalSite.Region(), serviceS3)
    		if s3Error != testCase.s3Error {
    			if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/analyzers_test.go

    		inputFiles: []string{"testdata/service-no-port-name.yaml"},
    		analyzer:   &service.PortNameAnalyzer{},
    		expected: []message{
    			{msg.PortNameIsNotUnderNamingConvention, "Service my-namespace1/my-service1"},
    			{msg.PortNameIsNotUnderNamingConvention, "Service my-namespace1/my-service1"},
    			{msg.PortNameIsNotUnderNamingConvention, "Service my-namespace2/my-service2"},
    		},
    	},
    	{
    		name:       "namedPort",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pilot/pkg/model/virtualservice.go

    	"istio.io/istio/pkg/config/visibility"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // SelectVirtualServices selects the virtual services by matching given services' host names.
    // This function is used by sidecar converter.
    func SelectVirtualServices(vsidx virtualServiceIndex, configNamespace string, hostsByNamespace map[string]hostClassification) []config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. pkg/controlplane/instance.go

    	// Values to build the IP addresses used by discovery
    	// The range of IPs to be assigned to services with type=ClusterIP or greater
    	ServiceIPRange net.IPNet
    	// The IP address for the GenericAPIServer service (must be inside ServiceIPRange)
    	APIServerServiceIP net.IP
    
    	// dual stack services, the range represents an alternative IP range for service IP
    	// must be of different family than primary (ServiceIPRange)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser_test.go

    	}
    	if expectedCredentials.scope.service != actualCredential.scope.service {
    		t.Errorf("Test %d: service mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.service, actualCredential.scope.service)
    	}
    
    	if expectedCredentials.scope.request != actualCredential.scope.request {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar.go

    		if ilw.matchPort {
    			return serviceMatchingListenerPort(service, ilw)
    		}
    		return service
    	}
    	return nil
    }
    
    // matchingAliasService the original service or a trimmed service which has a subset of aliases, based on imports from sidecar
    func matchingAliasService(importedHosts hostClassification, service *Service) *Service {
    	if service == nil {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/controller.go

    	}
    }
    
    // servicesForNamespacedName returns all services for the given service name.
    // If Kubernetes Multi-Cluster Services (MCS) is enabled, this will contain the regular
    // service as well as the MCS service (clusterset.local), if available. Otherwise,
    // only the regular service will be returned.
    func (c *Controller) servicesForNamespacedName(name types.NamespacedName) []*model.Service {
    	if features.EnableMCSHost {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top