- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 147 for exit_node (0.24 sec)
-
cmd/kubeadm/test/cmd/util.go
var bout, berr bytes.Buffer cmd := exec.Command(command, args...) cmd.Stdout = &bout cmd.Stderr = &berr err := cmd.Run() stdout, stderr := bout.String(), berr.String() return stdout, stderr, cmd.ProcessState.ExitCode(), err } // RunCmd is a utility function for kubeadm testing that executes a specified command func RunCmd(command string, args ...string) (string, string, int, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 01 12:47:03 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
var runCalled bool var runSkipped bool var exitCode int runFn := func(ctx *suiteContext) int { runCalled = true runSkipped = ctx.skipped return -1 } exitFn := func(code int) { exitCode = code } s := newTestSuite("tid", runFn, exitFn, defaultSettingsFn) s.Run() g.Expect(runCalled).To(BeTrue()) g.Expect(runSkipped).To(BeFalse()) g.Expect(exitCode).To(Equal(-1)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
src/os/proc.go
// successfully). If coverage is enabled, then this call will // enable us to write out a coverage data file. runtime_beforeExit(code) syscall.Exit(code) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/pleg/generic.go
containerExitCode[containerStatus.ID.ID] = containerStatus.ExitCode } } } if containerID, ok := events[i].Data.(string); ok { if exitCode, ok := containerExitCode[containerID]; ok && pod != nil { klog.V(2).InfoS("Generic (PLEG): container finished", "podID", pod.ID, "containerID", containerID, "exitCode", exitCode) } } } } } if g.cacheEnabled() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
return true } } else { // regular init container if state := containerStatus.LastTerminationState; state.Terminated != nil && state.Terminated.ExitCode == 0 { return true } if state := containerStatus.State; state.Terminated != nil && state.Terminated.ExitCode == 0 { return true } } } // otherwise the pod has no record of being initialized return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java
for (int i = 0; i < childNodes.getLength(); i++) { Node child = childNodes.item(i); switch (child.getNodeType()) { case Node.CDATA_SECTION_NODE: case Node.TEXT_NODE: result.append(child.getNodeValue()); break; default: break; } } return result.toString(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java
Set<String> locations = new HashSet<>(); for (int i = 0; i < nodes.getLength(); i++) { Node item = nodes.item(i); if (item != null && item.getNodeType() == Node.TEXT_NODE) { String nodeValue = item.getNodeValue().trim(); Matcher matcher = ENV_VARIABLE_PATTERN.matcher(nodeValue); StringBuffer resolvedValue = new StringBuffer();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers.go
} } // If non of them is set, treat it as root. return new(int64), "", nil } // isInitContainerFailed returns true under the following conditions: // 1. container has exited and exitcode is not zero. // 2. container is in unknown state. // 3. container gets OOMKilled. func isInitContainerFailed(status *kubecontainer.Status) bool { // When oomkilled occurs, init container should be considered as a failure.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 12K bytes - Viewed (0) -
src/runtime/race/output_test.go
main\.startRacer\(\) .+/main\.go:19 \+0x[0-9,a-f]+ main\.main\(\) .+/main\.go:9 \+0x[0-9,a-f]+ ================== Found 1 data race\(s\) exit status 66 `}}, {"exitcode", "run", "", "atexit_sleep_ms=0 exitcode=13", ` package main func main() { done := make(chan bool) x := 0; _ = x go func() { x = 42 done <- true }() x = 43 <-done }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0)