Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,160 for Mocker (0.1 sec)

  1. hack/lib/util.sh

    }
    
    # kube::util::ensure-docker-buildx
    # Check if we have "docker buildx" commands available
    #
    function kube::util::ensure-docker-buildx {
      # podman returns 0 on `docker buildx version`, docker on `docker buildx`. One of them must succeed.
      if docker buildx version >/dev/null 2>&1 || docker buildx >/dev/null 2>&1; then
        return 0
      else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. hack/local-up-cluster.sh

        tee /etc/apt/sources.list.d/docker.list > /dev/null
    
      apt-get update
      apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
      groupadd docker
      usermod -aG docker "$USER"
    
      if ! grep -q "cri-containerd" "/lib/systemd/system/docker.service"; then
        sed -i "s/ExecStart=\(.*\)/ExecStart=\1 --cri-containerd/" /lib/systemd/system/docker.service
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. internal/lsync/lrwmutex_test.go

    	}
    }
    
    func TestSimpleWriteLockTimedOut(t *testing.T) {
    	locked := testSimpleWriteLock(t, time.Second)
    
    	expected := false
    	if locked != expected {
    		t.Errorf("TestSimpleWriteLockTimedOut(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    func testDualWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	ctx := context.Background()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/sync/rwmutex.go

    	return r < 0 && r+rwmutexMaxReaders > 0
    }
    
    // RLocker returns a [Locker] interface that implements
    // the [RWMutex.Lock] and [RWMutex.Unlock] methods by calling rw.RLock and rw.RUnlock.
    func (rw *RWMutex) RLocker() Locker {
    	return (*rlocker)(rw)
    }
    
    type rlocker RWMutex
    
    func (r *rlocker) Lock()   { (*RWMutex)(r).RLock() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/runtime/coro.go

    		casgstatus(gnext, _Gwaiting, _Grunnable)
    		casgstatus(gnext, _Grunnable, _Grunning)
    	}
    
    	// Donate locked state.
    	if locked {
    		mp.lockedg.set(gnext)
    		gnext.lockedm.set(mp)
    	}
    
    	// Release the trace locker. We've completed all the necessary transitions..
    	if trace.ok() {
    		traceRelease(trace)
    	}
    
    	// Switch to gnext. Does not return.
    	gogo(&gnext.sched)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. testing/performance/src/templates/workerApiProject/buildSrc/src/main/resources/META-INF/gradle-plugins/worker-plugin.properties

    implementation-class=com.example.worker.WorkerPlugin...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 54 bytes
    - Viewed (0)
  7. docs/docker/README.md

    ```sh
    docker logs <container_id>
    ```
    
    ### Monitor MinIO Docker Container
    
    To monitor the resources used by MinIO container, you can use the [`docker stats`](https://docs.docker.com/engine/reference/commandline/stats/) command.
    
    ```sh
    docker stats <container_id>
    ```
    
    ## Explore Further
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. buildscripts/minio-upgrade.sh

    cleanup() {
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		down || true
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm || true
    
    	for volume in $(docker volume ls -q | grep upgrade); do
    		docker volume rm ${volume} || true
    	done
    
    	docker volume prune -f
    	docker system prune -f || true
    	docker volume prune -f || true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_docker.sh

    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 30
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 60
      docker pull "$TFCI_DOCKER_IMAGE"
    fi 
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 18:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. .github/workflows/run-mint.sh

    export JOB_NAME="$4"
    export MINT_MODE="full"
    
    docker system prune -f || true
    docker volume prune -f || true
    docker volume rm $(docker volume ls -f dangling=true) || true
    
    ## change working directory
    cd .github/workflows/mint
    
    docker-compose -f minio-${MODE}.yaml up -d
    sleep 1m
    
    docker system prune -f || true
    docker volume prune -f || true
    docker volume rm $(docker volume ls -q -f dangling=true) || true
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top