Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for function (0.36 sec)

  1. buildscripts/verify-healing.sh

    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  2. common/scripts/setup_env.sh

      fi
    }
    
    # This function is designed for maximum compatibility with various platforms. This runs on
    # any Mac or Linux platform with bash 4.2+. Please take care not to modify this function
    # without testing properly.
    #
    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

    DEFAULT_KIND_IMAGE="gcr.io/istio-testing/kind-node:v1.28.4"
    
    # COMMON_SCRIPTS contains the directory this file is in.
    COMMON_SCRIPTS=$(dirname "${BASH_SOURCE:-$0}")
    
    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++))
    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)
  4. buildscripts/verify-healing-empty-erasure-set.sh

    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_online() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		echo "1"
    	fi
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. .github/workflows/multipart/migrate.sh

    #!/bin/bash
    
    set -x
    
    ## change working directory
    cd .github/workflows/multipart/
    
    function cleanup() {
    	docker-compose -f docker-compose-site1.yaml rm -s -f || true
    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. buildscripts/rewrite-old-new.sh

    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    	if [ ! -f minio.RELEASE.2020-10-28T08-16-50Z ]; then
    		curl --silent -O https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2020-10-28T08-16-50Z
    		chmod a+x minio.RELEASE.2020-10-28T08-16-50Z
    	fi
    }
    
    function verify_rewrite() {
    	start_port=$1
    
    	export MINIO_ACCESS_KEY=minio
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.5K bytes
    - Viewed (1)
  7. manifests/addons/gen.sh

    helm3 template prometheus prometheus \
      --namespace istio-system \
      --version 25.19.1 \
      --repo https://prometheus-community.github.io/helm-charts \
      -f "${WD}/values-prometheus.yaml" \
      > "${ADDONS}/prometheus.yaml"
    
    function compressDashboard() {
      < "${DASHBOARDS}/$1" jq -c  > "${TMP}/$1"
    }
    
    # Set up grafana
    {
      helm3 template grafana grafana \
        --namespace istio-system \
        --version "${GRAFANA_VERSION}" \
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top