Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 553 for isStatus (0.45 sec)

  1. docs/de/docs/tutorial/response-status-code.md

        **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette.
    
    ## Den Defaultwert ändern
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:32:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    EventBatch gen=1 m=0 time=0 size=37
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEndBlocked dt=1
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoStatus dt=1 g=4 m=18446744073709551615 gstatus=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    EventBatch gen=1 m=0 time=0 size=13
    ProcStatus dt=1 p=1 pstatus=2
    ProcStart dt=1 p=1 p_seq=1
    ProcSteal dt=1 p=0 p_seq=3 m=0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  3. tests/integration/pilot/gateway_test.go

    		gw, _ := client.Get(context.Background(), "managed-owner", metav1.GetOptions{})
    		if gw == nil {
    			return fmt.Errorf("failed to find gateway")
    		}
    		cond := kstatus.GetCondition(gw.Status.Conditions, string(k8sv1.GatewayConditionProgrammed))
    		if cond.Status != metav1.ConditionTrue {
    			return fmt.Errorf("failed to find programmed condition: %+v", cond)
    		}
    		if cond.ObservedGeneration != gw.Generation {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption.go

    				cancel()
    			}
    			return
    		}
    		if status.IsSuccess() && len(pods) == 0 {
    			status = framework.AsStatus(fmt.Errorf("expected at least one victim pod on node %q", nodeInfoCopy.Node().Name))
    		}
    		statusesLock.Lock()
    		if status.Code() == framework.Error {
    			errs = append(errs, status.AsError())
    		}
    		nodeStatuses[nodeInfoCopy.Node().Name] = status
    		statusesLock.Unlock()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework_test.go

    			state.SkipScorePlugins = tt.skippedPlugins
    			res, status := f.RunScorePlugins(ctx, state, pod, BuildNodeInfos(nodes))
    
    			if tt.err {
    				if status.IsSuccess() {
    					t.Errorf("Expected status to be non-success. got: %v", status.Code().String())
    				}
    				return
    			}
    
    			if !status.IsSuccess() {
    				t.Errorf("Expected status to be success.")
    			}
    			if !reflect.DeepEqual(res, tt.want) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    	fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE")
    
    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	return newRuntimeVersion(typedVersion.RuntimeApiVersion)
    }
    
    // Status returns the status of the runtime. An error is returned if the Status
    // function itself fails, nil otherwise.
    func (m *kubeGenericRuntimeManager) Status(ctx context.Context) (*kubecontainer.RuntimeStatus, error) {
    	resp, err := m.runtimeService.Status(ctx, false)
    	if err != nil {
    		return nil, err
    	}
    	if resp.GetStatus() == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/controller.go

    // This allows our functions to call Status.Mutate, and then we can later persist all changes into the
    // API server.
    func deepCopyStatus(configs []config.Config) []config.Config {
    	return slices.Map(configs, func(c config.Config) config.Config {
    		return config.Config{
    			Meta:   c.Meta,
    			Spec:   c.Spec,
    			Status: kstatus.Wrap(c.Status),
    		}
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/response-change-status-code.md

    # Response – Statuscode ändern
    
    Sie haben wahrscheinlich schon vorher gelesen, dass Sie einen Standard-[Response-Statuscode](../tutorial/response-status-code.md){.internal-link target=_blank} festlegen können.
    
    In manchen Fällen müssen Sie jedoch einen anderen als den Standard-Statuscode zurückgeben.
    
    ## Anwendungsfall
    
    Stellen Sie sich zum Beispiel vor, Sie möchten standardmäßig den HTTP-Statuscode „OK“ `200` zurückgeben.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tests/integration/ambient/waypoint_test.go

    				if gwc == nil {
    					return fmt.Errorf("failed to find GatewayClass %v", constants.WaypointGatewayClassName)
    				}
    				cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted))
    				if cond.Status != metav1.ConditionTrue {
    					return fmt.Errorf("failed to find accepted condition: %+v", cond)
    				}
    				if cond.ObservedGeneration != gwc.Generation {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top