Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Wrap (0.21 sec)

  1. bin/retry.sh

    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
      local max=5
      while true; do
        unset SHELL # Don't let environment control which shell to use
        if isatty; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. common/scripts/kind_provisioner.sh

      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
      # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here
      trap cleanup_kind_clusters EXIT
    
      function deploy_kind() {
        IDX="${1}"
        CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}"
        CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  3. bin/update_crds.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    fail() {
      echo "$@" 1>&2
      exit 1
    }
    
    API_TMP="$(mktemp -d -u)"
    
    trap 'rm -rf "${API_TMP}"' EXIT
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top