Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for mocked (0.19 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. 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 May 08 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 May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K 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 May 08 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 May 08 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 May 08 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 May 08 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1K bytes
    - Viewed (0)
  9. Makefile.overrides.mk

    # limitations under the License.
    
    .DEFAULT_GOAL := default
    
    # This repository has been enabled for BUILD_WITH_CONTAINER=1. Some
    # test cases fail within Docker, and Mac + Docker isn't quite perfect.
    # For more information see: https://github.com/istio/istio/pull/19322/
    
    BUILD_WITH_CONTAINER ?= 1
    CONTAINER_OPTIONS = --mount type=bind,source=/tmp,destination=/tmp --net=host
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 28 17:29:39 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/testdata/inject-config-iop.yaml

    templates:
      sidecar: |-
        spec:
          initContainers:
          - name: istio-init
            image: docker.io/istio/proxy_init:unittest-{{.Values.global.tag}}
          containers:
          - name: istio-proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 252 bytes
    - Viewed (0)
Back to top