Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for _exit (0.16 sec)

  1. cni/pkg/repair/repaircontroller.go

    		// If we are filtering on init container termination message and the termination message of 'state' does not match, exit
    		trimmedTerminationMessage := strings.TrimSpace(c.cfg.InitTerminationMsg)
    		return trimmedTerminationMessage == "" || trimmedTerminationMessage == strings.TrimSpace(state.Message)
    	}
    	// Helper function; checks that container exit code matches filter
    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    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)
  2. bin/build_ztunnel.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Gets the download command supported by the system (currently either curl or wget)
    DOWNLOAD_COMMAND=""
    function set_download_command () {
      # Try curl.
      if command -v curl > /dev/null; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    	// Filters for race repair, including name of sidecar annotation, name of init container,
    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. common/Makefile.common.mk

    lint-python:
    	@${FINDFILES} -name '*.py' \( ! \( -name '*_pb2.py' \) \) -print0 | ${XARGS} autopep8 --max-line-length 160 --exit-code -d
    
    lint-markdown:
    	@${FINDFILES} -name '*.md' -print0 | ${XARGS} mdl --ignore-front-matter --style common/config/mdl.rb
    
    lint-links:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. 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)
  6. common-protos/k8s.io/api/batch/v1/generated.proto

      // Restricts the check for exit codes to the container with the
      // specified name. When null, the rule applies to all containers.
      // When specified, it should match one the container or initContainer
      // names in the pod template.
      // +optional
      optional string containerName = 1;
    
      // Represents the relationship between the container exit code(s) and the
      // specified values. Containers completed with success (exit code 0) are
    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)
  7. operator/cmd/mesh/manifest-diff.go

    				if err != nil {
    					return err
    				}
    				if !equal {
    					os.Exit(1)
    				}
    				return nil
    			}
    
    			equal, err = compareManifestsFromFiles(args, diffArgs.verbose,
    				diffArgs.renameResources, diffArgs.selectResources, diffArgs.ignoreResources)
    			if err != nil {
    				return err
    			}
    			if !equal {
    				os.Exit(1)
    			}
    			return nil
    		},
    	}
    	return cmd
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. common/scripts/kind_provisioner.sh

    function load_cluster_topology() {
      CLUSTER_TOPOLOGY_CONFIG_FILE="${1}"
    
      if [[ ! -f "${CLUSTER_TOPOLOGY_CONFIG_FILE}" ]]; then
        log 'cluster topology configuration file is not specified'
        exit 1
      fi
    
      export CLUSTER_NAMES
      export CLUSTER_POD_SUBNETS
      export CLUSTER_SVC_SUBNETS
      export CLUSTER_NETWORK_ID
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  9. bin/init.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Setup arch suffix for envoy binary. For backwards compatibility, amd64 has no suffix.
    if [[ "${TARGET_ARCH}" == "amd64" ]]; then
    	ISTIO_ENVOY_ARCH_SUFFIX=""
    else
    	ISTIO_ENVOY_ARCH_SUFFIX="-${TARGET_ARCH}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. operator/cmd/mesh/operator-remove.go

    	}
    	if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) {
    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    	l.LogAndPrintf("Removing Istio operator...")
    	// Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP.
    	var iop *iopv1alpha1.IstioOperator
    	if orArgs.revision != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top