Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 528 for lake (0.25 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Code generated by client-gen. DO NOT EDIT.
    
    package fake
    
    import (
    	"context"
    	json "encoding/json"
    	"fmt"
    
    	v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    	apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/cleanup_test.go

    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			fake := NewFake()
    			CleanStaleEntries(fake, svcPortMap, tc.serviceUpdates, tc.endpointsUpdates)
    			if !fake.ClearedIPs.Equal(tc.result.ClearedIPs) {
    				t.Errorf("Expected ClearedIPs=%v, got %v", tc.result.ClearedIPs, fake.ClearedIPs)
    			}
    			if !fake.ClearedPorts.Equal(tc.result.ClearedPorts) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server_test.go

    	server := &fakeServer{}
    	server.Start(fakeCtx)
    
    	server.On("DelPodFromMesh",
    		fakeCtx,
    		pod,
    	).Return(errors.New("fake error"))
    
    	fakeClientSet := fake.NewSimpleClientset()
    	m := meshDataplane{
    		kubeClient: fakeClientSet,
    		netServer:  server,
    	}
    
    	// pod is not in fake client, so if this will try to remove annotation, it will fail.
    	err := m.DelPodFromMesh(fakeCtx, pod)
    	assert.Error(t, err)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    # this test, we instead simulate it by injecting a fake "clang"
    # binary that runs the real one as a subprocess.
    
    [!cgo] skip
    [short] skip 'builds and links a fake clang binary'
    [!cc:clang] skip 'test is specific to clang version parsing'
    
    # Save the location of the real clang command for our fake one to use.
    go run ./which clang
    cp stdout $WORK/.realclang
    
    # Build a fake clang and ensure that it is the one in $PATH.
    mkdir $WORK/bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/retry/retry_test.go

    				Retries: &networking.HTTPRetry{
    					Attempts:      2,
    					RetryOn:       "some,fake,conditions",
    					PerTryTimeout: durationpb.New(time.Second * 3),
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(Not(BeNil()))
    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/apply_test.go

    			var k8sClient client.Client
    			if tt.currentState != "" {
    				k8sClient = fake.NewClientBuilder().
    					WithRuntimeObjects(loadData(t, tt.currentState).
    						UnstructuredObject()).WithInterceptorFuncs(interceptorFunc).Build()
    			} else {
    				// no current state provided, initialize fake client without runtime object
    				k8sClient = fake.NewClientBuilder().WithInterceptorFuncs(interceptorFunc).Build()
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

        response = client.get(
            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    def test_get_invalid_second_header_users():
        response = client.get(
            "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    # the requested package has been downloaded and checked for toolchain
    # upgrades.
    
    
    ! go install -cake=delicious -modcacherw example.com/printversion@v0.1.0
    stderr '^flag provided but not defined: -cake$'
    	# Because the -modcacherw flag was set, we should be able to modify the contents
    	# of a directory within the module cache.
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial012.py

        response = client.get(
            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    def test_get_invalid_second_header_users():
        response = client.get(
            "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    					VolumeSource: v1.VolumeSource{
    						CSI: &v1.CSIVolumeSource{
    							Driver: "dswp-test-fake-csi-driver",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    	fakePodInformer.Informer().GetStore().Add(pod)
    
    	generatedVolumeName := "fake-plugin/dswp-test-fake-csi-driver"
    	pvcLister := fakeInformerFactory.Core().V1().PersistentVolumeClaims().Lister()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top