Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,194 for isStatus (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/status.go

    type statusError interface {
    	Status() metav1.Status
    }
    
    // ErrorToAPIStatus converts an error to an metav1.Status object.
    func ErrorToAPIStatus(err error) *metav1.Status {
    	switch t := err.(type) {
    	case statusError:
    		status := t.Status()
    		if len(status.Status) == 0 {
    			status.Status = metav1.StatusFailure
    		}
    		switch status.Status {
    		case metav1.StatusSuccess:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 26 12:39:56 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/base/public/status.h

      void SetStatus(TF_Code code, const std::string& msg);
    
      // Status is movable, but not copyable.
      Status(Status&&) = default;
      Status& operator=(Status&&) = default;
    
     private:
      friend class RuntimeBuilder;
      friend class Runtime;
      friend class SavedModelAPI;
      friend class TensorHandle;
    
      // Wraps a TF_Status*, and takes ownership of it.
      explicit Status(TF_Status* status) : status_(status) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. docs/de/docs/reference/status.md

    # Statuscodes
    
    Sie können das Modul `status` von `fastapi` importieren:
    
    ```python
    from fastapi import status
    ```
    
    `status` wird direkt von Starlette bereitgestellt.
    
    Es enthält eine Gruppe benannter Konstanten (Variablen) mit ganzzahligen Statuscodes.
    
    Zum Beispiel:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * usw.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:17:17 UTC 2024
    - 934 bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	logger := klog.FromContext(ctx)
    	node := nodeInfo.Node()
    
    	state, err := getStateData(cs)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	podVolumes, reasons, err := pl.Binder.FindPodVolumes(logger, pod, state.podVolumeClaims, node)
    
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	if len(reasons) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pilot/pkg/status/manager.go

    		status := istatus.(GenerationProvider)
    		m.Status = status.Unwrap()
    		_, err := store.UpdateStatus(*m)
    		if err != nil {
    			// TODO: need better error handling
    			scope.Errorf("Encountered unexpected error updating status for %v, will try again later: %s", m, err)
    			return
    		}
    	}
    	retrieveFunc := func(resource Resource) *config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.Status.json

    {
      "kind": "Status",
      "apiVersion": "resource.k8s.io/v1alpha2",
      "metadata": {
        "selfLink": "selfLinkValue",
        "resourceVersion": "resourceVersionValue",
        "continue": "continueValue",
        "remainingItemCount": 4
      },
      "status": "statusValue",
      "message": "messageValue",
      "reason": "reasonValue",
      "details": {
        "name": "nameValue",
        "group": "groupValue",
        "kind": "kindValue",
        "uid": "uidValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 608 bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    			return nil, framework.AsStatus(err)
    		}
    	}
    	for i := range s.podInfo.RequiredAntiAffinityTerms {
    		if err := pl.mergeAffinityTermNamespacesIfNotEmpty(&s.podInfo.RequiredAntiAffinityTerms[i]); err != nil {
    			return nil, framework.AsStatus(err)
    		}
    	}
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. src/internal/trace/event/go122/event.go

    	EvProcStart   // start of P [timestamp, P ID, P seq]
    	EvProcStop    // stop of P [timestamp]
    	EvProcSteal   // P was stolen [timestamp, P ID, P seq, M ID]
    	EvProcStatus  // P status at the start of a generation [timestamp, P ID, status]
    
    	// Goroutines.
    	EvGoCreate            // goroutine creation [timestamp, new goroutine ID, new stack ID, stack ID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint_test.go

    	if programmed {
    		conditions = append(conditions, metav1.Condition{
    			Type:   string(gateway.GatewayConditionProgrammed),
    			Status: kstatus.StatusTrue,
    		})
    	} else {
    		conditions = append(conditions, metav1.Condition{
    			Type:   string(gateway.GatewayConditionProgrammed),
    			Status: kstatus.StatusFalse,
    		})
    	}
    	className := "other"
    	if isWaypoint {
    		className = constants.WaypointGatewayClassName
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    	nodeInfo, err := pl.sharedLister.NodeInfos().Get(nodeName)
    	if err != nil {
    		return 0, framework.AsStatus(fmt.Errorf("getting node %q from Snapshot: %w", nodeName, err))
    	}
    
    	node := nodeInfo.Node()
    	s, err := getPreScoreState(cycleState)
    	if err != nil {
    		return 0, framework.AsStatus(err)
    	}
    
    	// Return if the node is not qualified.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top