Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 211 for fi (0.02 sec)

  1. cmd/bucket-lifecycle_test.go

    			remote: true,
    		},
    	}
    	for i, tc := range testCases {
    		// Set transition status to complete
    		fi.TransitionStatus = lifecycle.TransitionComplete
    		fi.Metadata = tc.meta
    		if got := fi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.a: expected %v got %v", i+1, tc.remote, got)
    		}
    		oi := fi.ToObjectInfo("bucket", "object", false)
    		if got := oi.IsRemote(); got != tc.remote {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. src/buildall.bash

    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/resiliency/resiliency-verify-script.sh

    if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then
    	echo "Expected 10 objects; received ${OBJ_COUNT_AFTER_STOP}"
    	exit 1
    fi
    
    ./mc ready "${ALIAS_NAME}" --json
    
    OUT=$(./mc cp --quiet "${SRC_DIR}"/* "${ALIAS_NAME}"/"${BUCKET}"/new-data/)
    RET=${?}
    if [ ${RET} -ne 0 ]; then
    	echo "Error copying objects to new prefix: ${OUT}"
    	exit 1
    fi
    
    OBJ_COUNT_AFTER_COPY=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/new-data/ | wc -l)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. docs/distributed/iam-import-with-openid.sh

    if [ "${BKT_COUNT}" -ne 1 ]; then
    	echo "BUG: Expected no of bucket: 1, Found: ${BKT_COUNT}"
    	exit 1
    fi
    
    BKT_NAME=$(./mc ls myminio1/ --json | jq '.key' | sed 's/"//g' | sed 's\/\\g')
    if [[ ${BKT_NAME} != "test-bucket" ]]; then
    	echo "BUG: Expected bucket: test-bucket, Found: ${BKT_NAME}"
    	exit 1
    fi
    
    ./mc ls myminio1/test-bucket
    OBJ_COUNT=$(./mc ls myminio1/test-bucket --json | jq '.key' | wc -l)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. buildscripts/verify-healing.sh

    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio server 1 is not running" && fail
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "minio server 2 is not running" && fail
    	fi
    
    	if ! ps -p $pid3 1>&2 >/dev/null; then
    		echo "minio server 3 is not running" && fail
    	fi
    
    	if ! pkill minio; then
    		fail
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	if [ $# -ne 0 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/preinst

        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    
        # Debian ####################################################
        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_GROUP group..."
                addgroup --quiet --system "$FESS_GROUP"
                echo " OK"
            fi
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  8. docs/iam/policies/pbac-tests.sh

    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    go install -v github.com/minio/mc@master
    cp -a $(go env GOPATH)/bin/mc ./mc
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    	apt install openssl || sudo apt install opensssl
    fi
    
    # Start KES Server
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-free-version.go

    	}
    	return false
    }
    
    // AddFreeVersion adds a free-version if needed for fi.VersionID version.
    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    	case "", nullVersionID:
    	default:
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. docs/bucket/replication/delete-replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "dc1 server logs ========="
    		cat /tmp/dc1.log
    		echo "dc2 server logs ========="
    		cat /tmp/dc2.log
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	set +e
    	pkill minio
    	pkill mc
    	rm -rf /tmp/xl/
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top