Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 294 for httpGet (0.15 sec)

  1. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

            final URI uri = root.resolve("./" + key.getHashCode());
            HttpGet httpGet = new HttpGet(uri);
            httpGet.addHeader(HttpHeaders.ACCEPT, BUILD_CACHE_CONTENT_TYPE + ", */*");
            requestCustomizer.customize(httpGet);
    
            try (HttpClientResponse response = httpClientHelper.performHttpRequest(httpGet)) {
                StatusLine statusLine = response.getStatusLine();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java-library/quickstart/groovy/src/main/java/org/gradle/HttpClientWrapper.java

        public HttpClientWrapper(HttpClient client) {
            this.client = client;
        }
    
        // public methods belongs to your API
        public byte[] doRawGet(String url) {
            HttpGet request = new HttpGet(url);
            try {
                HttpEntity entity = doGet(request);
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                entity.writeTo(baos);
                return baos.toByteArray();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. pkg/istio-agent/health/health_check.go

    		if h.HttpGet.Path == "" {
    			h.HttpGet.Path = "/"
    		}
    		if h.HttpGet.Scheme == "" {
    			h.HttpGet.Scheme = string(apimirror.URISchemeHTTP)
    		}
    		h.HttpGet.Scheme = strings.ToLower(h.HttpGet.Scheme)
    		if h.HttpGet.Host == "" {
    			if len(ipAddresses) == 0 || status.LegacyLocalhostProbeDestination.Get() {
    				h.HttpGet.Host = "localhost"
    			} else {
    				h.HttpGet.Host = ipAddresses[0]
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/startup_ready_live.yaml

              ports:
                - name: http
                  containerPort: 80
              startupProbe:
                httpGet:
                  port: 3333
              livenessProbe:
                httpGet:
                  port: http
              readinessProbe:
                httpGet:
                  port: 3333
            - name: world
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 18 21:43:45 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. pkg/kube/inject/app_probe.go

    	// Change the application container prober config.
    	p.HTTPGet.Port = intstr.FromInt32(int32(statusPort))
    	p.HTTPGet.Path = newURL
    	// For HTTPS prober, we change to HTTP,
    	// and pilot agent uses https to request application prober endpoint.
    	// Kubelet -> HTTP -> Pilot Agent -> HTTPS -> Application
    	if p.HTTPGet.Scheme == corev1.URISchemeHTTPS {
    		p.HTTPGet.Scheme = corev1.URISchemeHTTP
    	}
    	return p
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/startup_ready_live.yaml.injected

              value: cluster.local
            - name: ISTIO_KUBE_APP_PROBERS
              value: '{"/app-health/hello/livez":{"httpGet":{"port":80}},"/app-health/hello/readyz":{"httpGet":{"port":3333}},"/app-health/hello/startupz":{"httpGet":{"port":3333}},"/app-health/world/livez":{"httpGet":{"port":90}},"/app-health/world/startupz":{"httpGet":{"port":90}}}'
            image: gcr.io/istio-testing/proxyv2:latest
            name: istio-proxy
            ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java-library/quickstart/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

        public HttpClientWrapper(HttpClient client) {
            this.client = client;
        }
    
        // public methods belongs to your API
        public byte[] doRawGet(String url) {
            HttpGet request = new HttpGet(url);
            try {
                HttpEntity entity = doGet(request);
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                entity.writeTo(baos);
                return baos.toByteArray();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. pkg/probe/http/request.go

    // NewRequestForHTTPGetAction returns an http.Request derived from httpGet.
    // When httpGet.Host is empty, podIP will be used instead.
    func NewRequestForHTTPGetAction(httpGet *v1.HTTPGetAction, container *v1.Container, podIP string, userAgentFragment string) (*http.Request, error) {
    	scheme := strings.ToLower(string(httpGet.Scheme))
    	if scheme == "" {
    		scheme = "http"
    	}
    
    	host := httpGet.Host
    	if host == "" {
    		host = podIP
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 07:39:55 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/hello-probes-noProxyHoldApplication-ProxyConfig.yaml.injected

            - name: TRUST_DOMAIN
              value: cluster.local
            - name: ISTIO_KUBE_APP_PROBERS
              value: '{"/app-health/hello/livez":{"httpGet":{"port":80}},"/app-health/hello/readyz":{"httpGet":{"port":3333}},"/app-health/world/livez":{"httpGet":{"port":90}}}'
            image: gcr.io/istio-testing/proxyv2:latest
            lifecycle:
              postStart:
                exec:
                  command:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/startup_live.yaml

              livenessProbe:
                httpGet:
                  port: http
              startupProbe:
                httpGet:
                  port: 3333
            - name: world
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
                  containerPort: 90
              livenessProbe:
                httpGet:
                  port: http
              startupProbe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 18 21:43:45 UTC 2020
    - 952 bytes
    - Viewed (0)
Back to top