Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ehat (0.2 sec)

  1. common/scripts/setup_env.sh

    # This function checks if the file exists. If it does, it creates a randomly named host location
    # for the file, adds it to the host KUBECONFIG, and creates a mount for it. Note that we use a copy
    # of the original file, so that the container can write to it.
    add_KUBECONFIG_if_exists () {
      if [[ -f "$1" ]]; then
        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. common/scripts/kind_provisioner.sh

      # Determine what CNI to install
      case "${KUBERNETES_CNI:-}" in 
    
        "calico")
          echo "Installing Calico CNI"
          install_calico "" "$(dirname "$CONFIG")"
          ;;
    
        "")
          # perfectly fine, we accepted the default KinD CNI
          ;;
    
        *)
          # we don't know what to do but we've got no CNI, return non-zero
    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)
  3. bin/retry.sh

    # determine if a retry should be attempted.
    # Example: retry.sh "connection timed out" ./my-flaky-script.sh some args
    # This will run "my-flaky-script.sh", retrying any failed runs that output "connection timed out" up
    # to 5 times.
    
    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. bin/build_ztunnel.sh

      # Make a copy named just "ztunnel" in the same directory (overwrite if necessary).
      echo "Copying $2 to $(dirname "$2")/${3}"
      cp -f "$2" "$(dirname "$2")/${3}"
      popd
    
      # Also copy it to out/$os_arch/ztunnel as that's whats used in the build
      echo "Copying '${2}' to ${TARGET_OUT_LINUX}/ztunnel"
      cp -f "${2}" "${TARGET_OUT_LINUX}/ztunnel"
    }
    
    function maybe_build_ztunnel() {
    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)
Back to top