Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for exit_node (0.16 sec)

  1. src/cmd/cgo/internal/testshared/shared_test.go

    	}
    	return m.Run(), nil
    }
    
    func TestMain(m *testing.M) {
    	log.SetFlags(log.Lshortfile)
    	flag.Parse()
    
    	exitCode, err := testMain(m)
    	if err != nil {
    		log.Fatal(err)
    	}
    	os.Exit(exitCode)
    }
    
    // cloneTestdataModule clones the packages from src/testshared into gopath.
    // It returns the directory within gopath at which the module root is located.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  2. pkg/test/kube/dump.go

    func containerCrashed(pod corev1.Pod, container string) (bool, *corev1.ContainerStateTerminated) {
    	for _, cs := range pod.Status.ContainerStatuses {
    		if cs.Name == container && cs.State.Terminated != nil && cs.State.Terminated.ExitCode != 0 {
    			return true, cs.State.Terminated
    		}
    	}
    	return false, nil
    }
    
    // DumpPodLogs will dump logs from each container in each of the provided pods
    // or all pods in the namespace if none are provided.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. build/common.sh

      # If the data container exists AND exited successfully, we can use it.
      # Otherwise nuke it and start over.
      local ret=0
      local code=0
    
      code=$(docker inspect \
          -f '{{.State.ExitCode}}' \
          "${KUBE_DATA_CONTAINER_NAME}" 2>/dev/null) || ret=$?
      if [[ "${ret}" == 0 && "${code}" != 0 ]]; then
        kube::build::destroy_container "${KUBE_DATA_CONTAINER_NAME}"
        ret=1
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    	// Creation time of the container.
    	CreatedAt time.Time
    	// Start time of the container.
    	StartedAt time.Time
    	// Finish time of the container.
    	FinishedAt time.Time
    	// Exit code of the container.
    	ExitCode int
    	// Name of the image, this also includes the tag of the image,
    	// the expected form is "NAME:TAG".
    	Image string
    	// ID of the image.
    	ImageID string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git.go

    		}
    	}
    
    	_, err = Run(ctx, r.dir, "git", "merge-base", "--is-ancestor", "--", tag, rev)
    	if err == nil {
    		return true, nil
    	}
    	if ee, ok := err.(*RunError).Err.(*exec.ExitError); ok && ee.ExitCode() == 1 {
    		return false, nil
    	}
    	return false, err
    }
    
    func (r *gitRepo) ReadZip(ctx context.Context, rev, subdir string, maxSize int64) (zip io.ReadCloser, err error) {
    	// TODO: Use maxSize or drop it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"":              "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 (exit code 0) are excluded from the requirement...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. staging/src/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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. pkg/apis/batch/types.go

    )
    
    // 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    )
    
    // 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top