Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for StatusOK (0.12 sec)

  1. cmd/object-lambda-handlers.go

    	"Switching Protocols":             http.StatusSwitchingProtocols,
    	"Processing":                      http.StatusProcessing,
    	"Early Hints":                     http.StatusEarlyHints,
    	"OK":                              http.StatusOK,
    	"Created":                         http.StatusCreated,
    	"Accepted":                        http.StatusAccepted,
    	"Non-Authoritative Information":   http.StatusNonAuthoritativeInfo,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/os/exec.go

    // reference was not dropped or status changed.
    func (p *Process) handlePersistentRelease(reason processStatus) processStatus {
    	if p.mode != modeHandle {
    		panic("handlePersistentRelease called in invalid mode")
    	}
    
    	for {
    		refs := p.state.Load()
    		status := processStatus(refs & processStatusMask)
    		if status != statusOK {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

    			port:           ports.HTTP,
    			code:           http.StatusOK,
    		},
    		{
    			name:     "wildcard IP with wildcard sidecar",
    			endpoint: "0.0.0.0",
    			port:     ports.HTTP,
    			code:     http.StatusOK,
    		},
    		{
    			name:     "wildcard IP with localhost sidecar",
    			endpoint: "127.0.0.1",
    			port:     ports.HTTP,
    			code:     http.StatusOK,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    `, t)
    	checkPath(server.URL+"/healthz/poststarthook/delegate-post-start-hook", http.StatusOK, `ok`, t)
    	checkPath(server.URL+"/healthz/poststarthook/wrapping-post-start-hook", http.StatusOK, `ok`, t)
    	checkPath(server.URL+"/foo", http.StatusForbidden, ``, t)
    	checkPath(server.URL+"/bar", http.StatusUnauthorized, ``, t)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. tests/integration/security/egress_gateway_origination_test.go

    				// This root certificate can validate the server cert presented by the echoboot server instance.
    				{
    					name:            "simple",
    					statusCode:      http.StatusOK,
    					credentialToUse: strings.TrimSuffix(credName, "-cacert"),
    					useGateway:      true,
    				},
    				// Use CA certificate stored as k8s secret with different issuing CA as server's CA.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. docs/auditlog/auditlog-echo.go

    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    	log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. docs/iam/identity-manager-plugin.go

    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8081")
    	log.Fatal(http.ListenAndServe(":8081", nil))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/etag.go

    		w.WriteHeader(http.StatusNotModified)
    		return
    	}
    
    	responsewriters.WriteObjectNegotiated(
    		serializer,
    		DiscoveryEndpointRestrictions,
    		targetGV,
    		w,
    		req,
    		http.StatusOK,
    		object,
    		true,
    	)
    }
    
    func calculateETag(resources interface{}) (string, error) {
    	serialized, err := json.Marshal(resources)
    	if err != nil {
    		return "", err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/server.go

    	s.mutex.Lock()
    	if err != nil {
    		w.WriteHeader(http.StatusServiceUnavailable)
    
    		log.Warnf("Envoy proxy is NOT ready: %s", err.Error())
    		s.lastProbeSuccessful = false
    	} else {
    		w.WriteHeader(http.StatusOK)
    
    		if !s.lastProbeSuccessful {
    			log.Info("Envoy proxy is ready")
    		}
    		s.lastProbeSuccessful = true
    	}
    	s.mutex.Unlock()
    }
    
    func (s *Server) isReady() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient.go

    	response, err = cniClient.client.Post(cniClient.url, "application/json", bytes.NewBuffer(eventData))
    	if err != nil {
    		return err
    	}
    	defer response.Body.Close()
    
    	if response.StatusCode != http.StatusOK {
    		return fmt.Errorf("unable to push CNI event, error was %d", response.StatusCode)
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top