- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cc_status (0.1 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_container.go
// 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) cStatus.FinishedAt = time.Unix(0, status.FinishedAt) } return cStatus }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} func containerSucceeded(c *v1.Container, podStatus *kubecontainer.PodStatus) bool { cStatus := podStatus.FindContainerStatusByName(c.Name) if cStatus == nil || cStatus.State == kubecontainer.ContainerStateRunning { return false } return cStatus.ExitCode == 0 } func isInPlacePodVerticalScalingAllowed(pod *v1.Pod) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
} func verifyContainerStatuses(t *testing.T, runtime *apitest.FakeRuntimeService, expected []*cRecord, desc string) { actual := []*cRecord{} for _, cStatus := range runtime.Containers { actual = append(actual, &cRecord{name: cStatus.Metadata.Name, attempt: cStatus.Metadata.Attempt, state: cStatus.State}) } sort.Sort(cRecordList(expected)) sort.Sort(cRecordList(actual)) assert.Equal(t, expected, actual, desc) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0)