- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for exitcode (1.54 sec)
-
istioctl/cmd/istioctl/main.go
fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err) exitCode := cmd.GetExitCode(err) os.Exit(exitCode) } rootCmd := cmd.GetRootCmd(os.Args[1:]) log.EnableKlogWithCobra() if err := rootCmd.Execute(); err != nil { exitCode := cmd.GetExitCode(err) os.Exit(exitCode) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.1K bytes - Viewed (0) -
cni/pkg/repair/repair_test_helpers.go
Terminated: &corev1.ContainerStateTerminated{ ExitCode: constants.ValidationErrorCode, Reason: "Error", Message: "Died for some reason", }, }, } brokenInitContainerTerminating = corev1.ContainerStatus{ Name: constants.ValidationContainerName, State: corev1.ContainerState{ Terminated: &corev1.ContainerStateTerminated{ ExitCode: constants.ValidationErrorCode, Reason: "Error",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
matchExitCode := func(state *corev1.ContainerStateTerminated) bool { // If we are filtering on init container exit code and the termination message does not match, exit if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) { return true } return false } // Only check pods that have the sidecar annotation; the rest can be // ignored. if c.cfg.SidecarAnnotation != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
Terminated: &corev1.ContainerStateTerminated{ Message: terminationMessage, ExitCode: int32(exitCode), }, }, }, }) } cases := []struct { name string config config.RepairConfig pod *corev1.Pod want bool }{ { "Testing OK pod with only ExitCode check", config.RepairConfig{ SidecarAnnotation: "sidecar.istio.io/status",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 24 03:31:28 GMT 2023 - 10.6K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1/generated.proto
} // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling // a failed pod based on its container exit codes. In particular, it lookups the // .state.terminated.exitCode for each app container and init container status, // represented by the .status.containerStatuses and .status.initContainerStatuses // fields in the Pod status, respectively. Containers completed with success
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 21.1K bytes - Viewed (0) -
istioctl/cmd/sysexits.go
// See e.g. https://man.openbsd.org/sysexits.3 // or `less /usr/includes/sysexits.h` if you're on Linux // // Picking the right range is tricky--there are a lot of reserved ones (see // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some // used by convention (see sysexits). // // The intention here is to use 64-78 in a way that matches the attempt in // sysexits to signify some error running istioctl, and use 79-125 as custom
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
} // ContainerStateTerminated is a terminated state of a container. message ContainerStateTerminated { // Exit status from the last termination of the container optional int32 exitCode = 1; // Signal from the last termination of the container // +optional optional int32 signal = 2; // (brief) reason from the last termination of the container // +optional
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 255.8K bytes - Viewed (0)