Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for exit_node (0.18 sec)

  1. pkg/kubelet/kubelet_test.go

    					Name:     "without-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 1,
    				},
    				{
    					Name:     "with-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 2,
    				},
    				{
    					Name:     "without-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 3,
    				},
    				{
    					Name:     "with-reason",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    								State: v1.ContainerState{
    									Terminated: &v1.ContainerStateTerminated{
    										ExitCode: 5,
    									},
    								},
    							},
    							{
    								Name: "main-container",
    								State: v1.ContainerState{
    									Terminated: &v1.ContainerStateTerminated{
    										ExitCode:   42,
    										FinishedAt: testFinishedAt,
    									},
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		case containerStatus.State.Terminated != nil:
    			if containerStatus.State.Terminated.ExitCode != 0 {
    				failedInitialization++
    			}
    		case containerStatus.State.Waiting != nil:
    			if containerStatus.LastTerminationState.Terminated != nil {
    				if containerStatus.LastTerminationState.Terminated.ExitCode != 0 {
    					failedInitialization++
    				}
    			} else {
    				pendingInitialization++
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func TerminateJobObject(job Handle, exitCode uint32) (err error) {
    	r1, _, e1 := syscall.Syscall(procTerminateJobObject.Addr(), 2, uintptr(job), uintptr(exitCode), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func TerminateProcess(handle Handle, exitcode uint32) (err error) {
    	r1, _, e1 := syscall.Syscall(procTerminateProcess.Addr(), 2, uintptr(handle), uintptr(exitcode), 0)
    	if r1 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    							Started: utilpointer.Bool(false),
    						},
    					},
    					ContainerStatuses: []api.ContainerStatus{
    						{
    							Ready:                false,
    							RestartCount:         4,
    							State:                api.ContainerState{Terminated: &api.ContainerStateTerminated{Reason: "Completed", ExitCode: 0}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers.go

    				if container.State.Terminated.Signal != 0 {
    					reason = fmt.Sprintf("Signal:%d", container.State.Terminated.Signal)
    				} else {
    					reason = fmt.Sprintf("ExitCode:%d", container.State.Terminated.ExitCode)
    				}
    			} else if container.Ready && container.State.Running != nil {
    				hasRunning = true
    				readyContainers++
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_test.go

    				ExitCode: 0,
    			},
    		},
    	}
    }
    func waitingStateWithNonZeroTermination(cName string) v1.ContainerStatus {
    	return v1.ContainerStatus{
    		Name: cName,
    		State: v1.ContainerState{
    			Waiting: &v1.ContainerStateWaiting{},
    		},
    		LastTerminationState: v1.ContainerState{
    			Terminated: &v1.ContainerStateTerminated{
    				ExitCode: -1,
    			},
    		},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    			runningContainers = append(runningContainers, s.ID.String())
    		}
    		if klogVEnabled {
    			containers = append(containers, container{Name: s.Name, State: string(s.State), ExitCode: s.ExitCode, FinishedAt: s.FinishedAt.UTC().Format(time.RFC3339Nano)})
    		}
    	}
    	if klogVEnabled {
    		sort.Slice(containers, func(i, j int) bool { return containers[i].Name < containers[j].Name })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    	exit(0)
    	for {
    		var x *int32
    		*x = 0
    	}
    }
    
    // os_beforeExit is called from os.Exit(0).
    //
    //go:linkname os_beforeExit os.runtime_beforeExit
    func os_beforeExit(exitCode int) {
    	runExitHooks(exitCode)
    	if exitCode == 0 && raceenabled {
    		racefini()
    	}
    }
    
    func init() {
    	exithook.Gosched = Gosched
    	exithook.Goid = func() uint64 { return getg().goid }
    	exithook.Throw = throw
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

          "properties": {
            "containerID": {
              "description": "Container's ID in the format 'docker://<container_id>'",
              "type": "string"
            },
            "exitCode": {
              "description": "Exit status from the last termination of the container",
              "format": "int32",
              "type": "integer"
            },
            "finishedAt": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
Back to top