Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for mocked (0.35 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. 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)
  3. 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
      - "*.pkg.dev"
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:07 GMT 2024
    - 500 bytes
    - Viewed (0)
  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. cni/pkg/iptables/iptables.go

    	//
    	// We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing,
    	// but with iptables rules - use `--socket-exists` as a proxy for "is this a forwarded packet" vs "is this originating from
    	// a local node socket". If the latter, outside the pod in the host netns, redirect that traffic to a hardcoded/custom proxy
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. 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)
  7. go.sum

    github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
    github.com/docker/docker v25.0.5+incompatible h1:UmQydMduGkrD5nQde1mecF/YnSbTOaPeFIeP5C4W+DE=
    github.com/docker/docker v25.0.5+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
    github.com/docker/docker-credential-helpers v0.8.1 h1:j/eKUktUltBtMzKqmfLB0PAgqYyMHOp5vfsD1807oKo=
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 21:52:58 GMT 2024
    - 109K bytes
    - Viewed (0)
  8. 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)
  9. .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)
  10. licenses/cloud.google.com/go/auth/oauth2adapt/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: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top