Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 818 for isStatus (0.14 sec)

  1. pkg/scheduler/framework/interface_test.go

    			}
    
    			if test.status.Message() != test.expectedMessage {
    				t.Errorf("expect status.Message() returns %v, but %v", test.expectedMessage, test.status.Message())
    			}
    
    			if test.status.IsSuccess() != test.expectedIsSuccess {
    				t.Errorf("expect status.IsSuccess() returns %v, but %v", test.expectedIsSuccess, test.status.IsSuccess())
    			}
    
    			if test.status.IsWait() != test.expectedIsWait {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/order.go

    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    	garbage   = ^uint64(0) - 1
    	noseq     = ^uint64(0)
    	seqinc    = ^uint64(0) - 1
    )
    
    // stateTransition returns goroutine state (sequence and status) when the event
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conditions.go

    	obj.Status.(*kstatus.WrappedStatus).Mutate(func(s config.Status) config.Status {
    		gs := s.(*k8s.GatewayStatus)
    		for index >= len(gs.Listeners) {
    			gs.Listeners = append(gs.Listeners, k8s.ListenerStatus{})
    		}
    		status := gs.Listeners[index]
    		status.AttachedRoutes = i
    		gs.Listeners[index] = status
    		return gs
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    func (pl *PodTopologySpread) PreFilter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) {
    	s, err := pl.calPreFilterState(ctx, pod)
    	if err != nil {
    		return nil, framework.AsStatus(err)
    	} else if s != nil && len(s.Constraints) == 0 {
    		return nil, framework.NewStatus(framework.Skip)
    	}
    
    	cycleState.Write(preFilterStateKey, s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  5. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    		if apierrors.IsNotFound(err) {
    			return nil, framework.NewStatus(framework.UnschedulableAndUnresolvable, err.Error())
    		}
    		return nil, framework.AsStatus(err)
    	}
    
    	s, err := pl.calPreFilterState(ctx, pod, pvcs)
    	if err != nil {
    		return nil, framework.AsStatus(err)
    	}
    
    	if !needsCheck && s.conflictingPVCRefCount == 0 {
    		return nil, framework.NewStatus(framework.Skip)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    	nodeInfo, err := pl.handle.SnapshotSharedLister().NodeInfos().Get(nodeName)
    	if err != nil {
    		return 0, framework.AsStatus(fmt.Errorf("getting node %q from Snapshot: %w", nodeName, err))
    	}
    
    	nodeInfos, err := pl.handle.SnapshotSharedLister().NodeInfos().List()
    	if err != nil {
    		return 0, framework.AsStatus(err)
    	}
    	totalNumNodes := len(nodeInfos)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion_test.go

    		case gvk.GatewayClass:
    			c.Status = kstatus.Wrap(&k8s.GatewayClassStatus{})
    		case gvk.KubernetesGateway:
    			c.Status = kstatus.Wrap(&k8s.GatewayStatus{})
    		case gvk.HTTPRoute:
    			c.Status = kstatus.Wrap(&k8s.HTTPRouteStatus{})
    		case gvk.GRPCRoute:
    			c.Status = kstatus.Wrap(&k8s.GRPCRouteStatus{})
    		case gvk.TCPRoute:
    			c.Status = kstatus.Wrap(&k8salpha.TCPRouteStatus{})
    		case gvk.TLSRoute:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    		}
    		status := convertContainerStatus(cStatus, oldStatusPtr)
    		if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    			if status.State.Running != nil {
    				status.Resources = convertContainerStatusResources(cName, status, cStatus, oldStatuses)
    			}
    		}
    		if utilfeature.DefaultFeatureGate.Enabled(features.SupplementalGroupsPolicy) {
    			status.User = convertContainerStatusUser(cStatus)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    
    	if status.State != runtimeapi.ContainerState_CONTAINER_CREATED {
    		// If container is not in the created state, we have tried and
    		// started the container. Set the StartedAt time.
    		cStatus.StartedAt = time.Unix(0, status.StartedAt)
    	}
    	if status.State == runtimeapi.ContainerState_CONTAINER_EXITED {
    		cStatus.Reason = status.Reason
    		cStatus.Message = status.Message
    		cStatus.ExitCode = int(status.ExitCode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/alias.status.yaml.golden

        reason: Programmed
        status: "True"
        type: Programmed
      listeners:
      - attachedRoutes: 1
        conditions:
        - lastTransitionTime: fake
          message: No errors found
          reason: Accepted
          status: "True"
          type: Accepted
        - lastTransitionTime: fake
          message: No errors found
          reason: NoConflicts
          status: "False"
          type: Conflicted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top