Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 117 of 117 for mockito (0.36 sec)

  1. istioctl/pkg/workload/workload.go

    	}
    	return vs, nil
    }
    
    // Because we are placing into an Unstructured, place as a map instead
    // of structured Istio types.  (The go-client can handle the structured data, but the
    // fake go-client used for mocking cannot.)
    func unstructureIstioType(spec any) (map[string]any, error) {
    	b, err := yaml.Marshal(spec)
    	if err != nil {
    		return nil, err
    	}
    	iSpec := map[string]any{}
    	err = yaml.Unmarshal(b, &iSpec)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	if err != nil {
    		return err
    	}
    
    	// The arguments oldEtcdClient and newEtdClient, are uninitialized because passing in the clients allow for mocking the client during testing
    	return StaticPodControlPlane(client, waiter, pathManager, internalcfg, etcdUpgrade, renewCerts, nil, nil)
    }
    
    // DryRunStaticPodUpgrade fakes an upgrade of the control plane
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        the entire connection to fail.
     *  Fix: Don’t crash on unexpected charsets in the logging interceptor.
     *  Fix: `OkHttpClient` is now non-final for the benefit of mocking frameworks.
        Mocking sophisticated classes like `OkHttpClient` is fragile and you
        shouldn’t do it. But if that’s how you want to live your life we won’t stand
        in your way!
    
    
    ## Version 3.0.1
    
    _2016-01-14_
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		},
    		[]int32{8080}, map[string]string{"app": "prod-app"}, t)
    
    	// Endpoints are generated by Kubernetes from pod labels and service selectors.
    	// Here we manually create them for mocking purpose.
    	svc1Ips := []string{"128.0.0.1"}
    	portNames := []string{"tcp-port"}
    	// Create 1 endpoint that refers to a pod in the same namespace.
    	createEndpoints(t, controller, "svc1", "nsA", portNames, svc1Ips, nil, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

          return "Ordering.arbitrary()";
        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

          return "Ordering.arbitrary()";
        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/zip_sum_test/testdata/zip_sums.csv

    github.com/jtolds/go-luar,v0.0.0-20170419063437-0786921db8c0,h1:UyVaeqfY1fLPMt1iUTaWsxUNxYAzZVyK+7G+a3sRfhk=,1ed97930b5dfc7f89c84ff3c5ea5a7de9964ccca970f45853d42a13a138b644e
    github.com/jtolds/monkit-hw,v0.0.0-20190108155550-0f753668cf20,h1:XK96humQhnPbQ24uKtSHKbdShDgrKYqlWBNKJTcIKbg=,5d84e6f3f559b67e00b08a5e93e1017866695a4590b97ccb23a82e3ce792ad04
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 18 17:29:01 UTC 2020
    - 334.9K bytes
    - Viewed (0)
Back to top