Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for mocked (0.21 sec)

  1. cni/pkg/nodeagent/informers_test.go

    	waitForMockCalls()
    	// wait until pod add was called
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodAnnotated(t, client, pod)
    
    	// check expectations on mocked calls
    	fs.AssertExpectations(t)
    }
    
    func assertPodAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) {
    	for i := 0; i < 5; i++ {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/docker.md

    ## Container Images
    
    Docker has been one of the main tools to create and manage **container images** and **containers**.
    
    And there's a public <a href="https://hub.docker.com/" class="external-link" target="_blank">Docker Hub</a> with pre-made **official container images** for many tools, environments, databases, and applications.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. docs/orchestration/docker-compose/docker-compose.yaml

      # environment:
        # MINIO_ROOT_USER: minioadmin
        # MINIO_ROOT_PASSWORD: minioadmin
      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 02:45:52 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  4. cni/pkg/ipset/nldeps_mock.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"net/netip"
    
    	"github.com/stretchr/testify/mock"
    )
    
    type MockedIpsetDeps struct {
    	mock.Mock
    }
    
    func FakeNLDeps() *MockedIpsetDeps {
    	return &MockedIpsetDeps{}
    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    CONDITIONAL_HOST_MOUNTS="${CONDITIONAL_HOST_MOUNTS:-} "
    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. Makefile.core.mk

    #-----------------------------------------------------------------------------
    # Target: docker
    #-----------------------------------------------------------------------------
    .PHONY: push
    
    # for now docker is limited to Linux compiles - why ?
    include tools/istio-docker.mk
    
    push: docker.push ## Build and push docker images to registry defined by $HUB and $TAG
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. .devcontainer/devcontainer.json

      },
      "features": {
        "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
        "ghcr.io/mpriscella/features/kind:1": {}
      },
      "customizations": {
        "vscode": {
          "extensions": [
            "golang.go",
            "rust-lang.rust-analyzer",
            "eamodio.gitlens",
            "zxh404.vscode-proto3",
            "ms-azuretools.vscode-docker",
            "redhat.vscode-yaml",
            "IBM.output-colorizer"
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 879 bytes
    - Viewed (1)
  8. docs/en/docs/deployment/concepts.md

    !!! tip
        Don't worry if some of these items about **containers**, Docker, or Kubernetes don't make a lot of sense yet.
    
        I'll tell you more about container images, Docker, Kubernetes, etc. in a future chapter: [FastAPI in Containers - Docker](docker.md){.internal-link target=_blank}.
    
    ## Previous Steps Before Starting
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/values.yaml

        # This directory must exist on the node, if it does not, consult your container runtime
        # documentation for the appropriate path.
        cniNetnsDir: # Defaults to '/var/run/netns', in minikube/docker/others can be '/var/run/docker/netns'.
    
    
        excludeNamespaces:
          - kube-system
    
        # Allows user to set custom affinity for the DaemonSet
        affinity: {}
    
        # Custom annotations on pod level, if you need them
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. cmd/erasure-sets.go

    				defer wg.Done()
    
    				lk.Lock()
    				// Only add lockers only one per endpoint and per erasure set.
    				if locker, ok := erasureLockers[endpoint.Host]; ok && !lockerEpSet.Contains(endpoint.Host) {
    					lockerEpSet.Add(endpoint.Host)
    					s.erasureLockers[i] = append(s.erasureLockers[i], locker)
    				}
    				lk.Unlock()
    			}(i, endpoints.Endpoints[i*setDriveCount+j])
    		}
    	}
    	wg.Wait()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top