Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for mocked (0.16 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. common/Makefile.common.mk

    	@rm -fr $(TMP)/common-files
    	@$(or $(COMMONFILES_POSTPROCESS), true)
    
    check-clean-repo:
    	@common/scripts/check_clean_repo.sh
    
    tidy-docker:
    	@docker image prune --all --force --filter="label=io.istio.repo=https://github.com/istio/tools" --filter="label!=io.istio.version=$(IMAGE_VERSION)"
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. manifests/charts/istio-control/istio-discovery/values.yaml

          requests:
            cpu: 10m
          #   memory: 128Mi
          # limits:
          #   cpu: 100m
          #   memory: 128Mi
    
        # Default hub for Istio images.
        # Releases are published to docker hub under 'istio' project.
        # Dev builds from prow are on gcr.io
        hub: gcr.io/istio-testing
        # Default tag for Istio images.
        tag: latest
        # Variant of the image to use.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 16:58:23 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. licenses/github.com/opencontainers/go-digest/LICENSE

          and issue tracking systems that are managed by, or on behalf of, the
          Licensor for the purpose of discussing and improving the Work, but
          excluding communication that is conspicuously marked or otherwise
          designated in writing by the copyright owner as "Not a Contribution."
    
          "Contributor" shall mean Licensor and any individual or Legal Entity
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 16 22:26:43 GMT 2020
    - 10.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/netns_linux.go

    		}
    		defer func() {
    			err := threadNS.Set() // switch back
    			if err == nil {
    				// Unlock the current thread only when we successfully switched back
    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    				// not as optimal but at least always safe to do.
    				runtime.UnlockOSThread()
    			}
    		}()
    
    		return toRun()
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. common/scripts/run.sh

    MOUNT_DEST="${MOUNT_DEST:-/work}"
    
    read -ra DOCKER_RUN_OPTIONS <<< "${DOCKER_RUN_OPTIONS:-}"
    
    [[ -t 1 ]] && DOCKER_RUN_OPTIONS+=("-it")
    [[ ${UID} -ne 0 ]] && DOCKER_RUN_OPTIONS+=(-u "${UID}:${DOCKER_GID}")
    
    # $CONTAINER_OPTIONS becomes an empty arg when quoted, so SC2086 is disabled for the
    # following command only
    # shellcheck disable=SC2086
    "${CONTAINER_CLI}" run \
        --rm \
        "${DOCKER_RUN_OPTIONS[@]}" \
        --init \
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  7. common/scripts/kind_provisioner.sh

        docker exec "${C1_NODE}" ip route add "${C2_POD_CIDR}" via "${C2_DOCKER_IP}"
        docker exec "${C1_NODE}" ip route add "${C2_SVC_CIDR}" via "${C2_DOCKER_IP}"
        docker exec "${C2_NODE}" ip route add "${C1_POD_CIDR}" via "${C1_DOCKER_IP}"
        docker exec "${C2_NODE}" ip route add "${C1_SVC_CIDR}" via "${C1_DOCKER_IP}"
      fi
    }
    
    function install_calico {
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  8. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.injected

            track: stable
        spec:
          containers:
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          initContainers:
          - image: docker.io/istio/proxy_init:unittest-test
            name: istio-init
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml

          labels:
            app: hello
            tier: backend
            track: stable
        spec:
          containers:
            - name: hello
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 556 bytes
    - Viewed (0)
  10. common/config/.hadolint.yml

    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    ignored:
      - DL3008
      - DL3059
    
    trustedRegistries:
      - gcr.io
      - docker.io
      - quay.io
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 15 16:15:49 GMT 2024
    - 475 bytes
    - Viewed (0)
Back to top