Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for casgstatus (0.13 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	require.NoError(t, err)
    
    	// Creating a pair reference pod and status for the test cases to refer
    	// the specific fields.
    	basePod, baseStatus := makeBasePodAndStatus()
    	noAction := podActions{
    		SandboxID:         baseStatus.SandboxStatuses[0].Id,
    		ContainersToStart: []int{},
    		ContainersToKill:  map[kubecontainer.ContainerID]containerToKillInfo{},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ProgressLogEventGenerator.java

                }
                state = State.HeaderCompleted;
            }
    
            public void complete() {
                boolean hasStatus = GUtil.isTrue(status);
                switch (state) {
                    case None:
                        if (hasLoggingHeader && hasStatus) {
                            doOutput(styledTextEvent(completeTime,
                                new StyledTextOutputEvent.Span(loggingHeader + ' '),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. 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 {
    		status := framework.NewStatus(framework.UnschedulableAndUnresolvable)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    	if hasConstraints {
    		allNodes, err = pl.sharedLister.NodeInfos().List()
    		if err != nil {
    			return framework.AsStatus(fmt.Errorf("failed to get all nodes from shared lister: %w", err))
    		}
    	} else {
    		allNodes, err = pl.sharedLister.NodeInfos().HavePodsWithAffinityList()
    		if err != nil {
    			return framework.AsStatus(fmt.Errorf("failed to get pods with affinity list: %w", err))
    		}
    	}
    
    	state := &preScoreState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    	var err error
    	if allNodes, err = pl.sharedLister.NodeInfos().List(); err != nil {
    		return nil, framework.AsStatus(fmt.Errorf("failed to list NodeInfos: %w", err))
    	}
    	if nodesWithRequiredAntiAffinityPods, err = pl.sharedLister.NodeInfos().HavePodsWithRequiredAntiAffinityList(); err != nil {
    		return nil, framework.AsStatus(fmt.Errorf("failed to list NodeInfos with pods with affinity: %w", err))
    	}
    
    	s := &preFilterState{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    }
    
    var xxx_messageInfo_CarpSpec proto.InternalMessageInfo
    
    func (m *CarpStatus) Reset()      { *m = CarpStatus{} }
    func (*CarpStatus) ProtoMessage() {}
    func (*CarpStatus) Descriptor() ([]byte, []int) {
    	return fileDescriptor_83e19b543dd132db, []int{4}
    }
    func (m *CarpStatus) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CarpStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/interface_test.go

    		{
    			name: "wrap error status should be equal with original one",
    			x:    statusWithErr,
    			y:    AsStatus(fmt.Errorf("error: %w", statusWithErr.AsError())),
    			want: true,
    		},
    		{
    			name: "statues with different errors that have the same message shouldn't be equal",
    			x:    AsStatus(errors.New("error")),
    			y:    AsStatus(errors.New("error")),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go

    	// +optional
    	Status CarpStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // CarpStatus represents information about the status of a carp. Status may trail the actual
    // state of a system.
    type CarpStatus struct {
    	// Current condition of the carp.
    	// More info: http://kubernetes.io/docs/user-guide/carp-states#carp-phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // If not specified, the carp will be dispatched by default scheduler.
      // +optional
      optional string schedulername = 19;
    }
    
    // CarpStatus represents information about the status of a carp. Status may trail the actual
    // state of a system.
    message CarpStatus {
      // Current condition of the carp.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-phase
      // +optional
      optional string phase = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. 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)
Back to top