Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 841 for isStatus (0.17 sec)

  1. pilot/pkg/config/kube/gateway/gatewayclass.go

    	if existing == nil {
    		existing = &k8sv1.GatewayClassStatus{}
    	}
    	existing.Conditions = kstatus.UpdateConditionIfChanged(existing.Conditions, metav1.Condition{
    		Type:               string(k8sv1.GatewayClassConditionStatusAccepted),
    		Status:             kstatus.StatusTrue,
    		ObservedGeneration: gen,
    		LastTransitionTime: metav1.Now(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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 (0)
  6. cmd/bucket-replication-utils_test.go

    		expStatus: replication.Pending,
    	},
    	{ // 3. replication status for one target - incorrect format
    		name:      "replication status for one target",
    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING"},
    		expStatus: replication.StatusType(""),
    	},
    	{ // 4. replication status for 3 targets, one of them failed
    		name: "replication status for 3 targets - one failed",
    		rs: ReplicationState{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top