Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LT (0.14 sec)

  1. bin/retry.sh

        fi
        # shellcheck disable=SC2181
        if [[ $? == 0 ]]; then
          break
        fi
        if ! grep -Eq "${failureRegex}" "${tmpFile}"; then
          fail "Unexpected failure"
        fi
        if [[ $n -lt $max ]]; then
          ((n++))
          echo "Command failed. Attempt $n/$max:"
        else
          fail "The command has failed after $n attempts."
        fi
      done
    }
    
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/core/v1/generated.proto

      // Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
      optional string operator = 2;
    
      // An array of string values. If the operator is In or NotIn,
      // the values array must be non-empty. If the operator is Exists or DoesNotExist,
      // the values array must be empty. If the operator is Gt or Lt, the values
      // array must have a single element, which will be interpreted as an integer.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

    function log() {
      echo -e "$(date -u '+%Y-%m-%dT%H:%M:%S.%NZ')\t$*"
    }
    
    function retry() {
      local n=1
      local max=5
      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
          log "Command failed. Attempt $n/$max:"
          sleep $delay;
        else
          log "The command has failed after $n attempts."  >&2
          return 2
        fi
      done
    }
    
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
Back to top