Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for Statuses (0.16 sec)

  1. cmd/bucket-replication-utils.go

    	ResetStatusesMap           map[string]string                 // map of ARN-> stringified reset id and timestamp for all the targets
    }
    
    // Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses.
    func (rs *ReplicationState) Equal(o ReplicationState) bool {
    	return rs.ReplicaStatus == o.ReplicaStatus &&
    		rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		}
    		status := resp.GetStatus()
    		if status == nil {
    			return nil, remote.ErrContainerStatusNil
    		}
    		cStatus := m.convertToKubeContainerStatus(status)
    		statuses = append(statuses, cStatus)
    	}
    
    	sort.Sort(containerStatusByCreated(statuses))
    	return statuses, nil
    }
    
    func toKubeContainerStatus(status *runtimeapi.ContainerStatus, runtimeName string) *kubecontainer.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    					CPURequest:  tc.Resources[i].Requests.Cpu(),
    				}
    			}
    		}
    
    		t.Logf("TestCase: %q", tdesc)
    		cStatuses := kubelet.convertToAPIContainerStatuses(tPod, testPodStatus, tc.OldStatus, tPod.Spec.Containers, false, false)
    		assert.Equal(t, tc.Expected, cStatuses)
    	}
    }
    
    func TestConvertToAPIContainerStatusesForUser(t *testing.T) {
    	nowTime := time.Now()
    	testContainerName := "ctr0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. pkg/kubelet/status/status_manager_test.go

    	verifyUpdates(t, m, 0)
    }
    
    // shuffle returns a new shuffled list of container statuses.
    func shuffle(statuses []v1.ContainerStatus) []v1.ContainerStatus {
    	numStatuses := len(statuses)
    	randIndexes := rand.Perm(numStatuses)
    	shuffled := make([]v1.ContainerStatus, numStatuses)
    	for i := 0; i < numStatuses; i++ {
    		shuffled[i] = statuses[randIndexes[i]]
    	}
    	return shuffled
    }
    
    func TestStatusEquality(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal.go

    	metricSpecs []autoscalingv2.MetricSpec) (replicas int32, metric string, statuses []autoscalingv2.MetricStatus, timestamp time.Time, err error) {
    
    	selector, err := a.validateAndParseSelector(hpa, scale.Status.Selector)
    	if err != nil {
    		return -1, "", nil, time.Time{}, err
    	}
    
    	specReplicas := scale.Spec.Replicas
    	statusReplicas := scale.Status.Replicas
    	statuses = make([]autoscalingv2.MetricStatus, len(metricSpecs))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. pkg/volume/util/resize_util_test.go

    				return MarkForFSResize(pvc, c)
    			},
    		},
    		{
    			name: "mark fs resize, when other resource statuses are present",
    			pvc:  basePVC.withResourceStatus(v1.ResourceCPU, v1.PersistentVolumeClaimControllerResizeFailed).get(),
    			expectedPVC: basePVC.withResourceStatus(v1.ResourceCPU, v1.PersistentVolumeClaimControllerResizeFailed).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/conversion.go

    	"pod.beta.kubernetes.io/init-containers":          true,
    	"pod.alpha.kubernetes.io/init-containers":         true,
    	"pod.beta.kubernetes.io/init-container-statuses":  true,
    	"pod.alpha.kubernetes.io/init-container-statuses": true,
    }
    
    // dropInitContainerAnnotations returns a copy of the annotations with init container annotations removed,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/interface.go

    type NodeScoreList []NodeScore
    
    // NodeScore is a struct with node name and score.
    type NodeScore struct {
    	Name  string
    	Score int64
    }
    
    // NodeToStatusMap contains the statuses of the Nodes where the incoming Pod was not schedulable.
    // A PostFilter plugin that uses this map should interpret absent Nodes as UnschedulableAndUnresolvable.
    type NodeToStatusMap map[string]*Status
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  9. pkg/controller/resourceclaim/controller.go

    	}
    
    	if newPodClaims != nil {
    		// Patch the pod status with the new information about
    		// generated ResourceClaims.
    		statuses := make([]*corev1apply.PodResourceClaimStatusApplyConfiguration, 0, len(newPodClaims))
    		for podClaimName, resourceClaimName := range newPodClaims {
    			statuses = append(statuses, corev1apply.PodResourceClaimStatus().WithName(podClaimName).WithResourceClaimName(resourceClaimName))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. pkg/kubelet/container/runtime.go

    	ContainerStatuses []*Status
    	// Status of the pod sandbox.
    	// Only for kuberuntime now, other runtime may keep it nil.
    	SandboxStatuses []*runtimeapi.PodSandboxStatus
    	// Timestamp at which container and pod statuses were recorded
    	TimeStamp time.Time
    }
    
    // ContainerResources represents the Resources allocated to the running container.
    type ContainerResources struct {
    	// CPU capacity reserved for the container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top