Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 629 for lake (0.04 sec)

  1. pkg/volume/iscsi/iscsi_test.go

    		tmpDir: utiltesting.MkTmpdirOrDie("iscsi_test"),
    	}
    }
    
    func (fake *fakeDiskManager) Cleanup() {
    	os.RemoveAll(fake.tmpDir)
    }
    
    func (fake *fakeDiskManager) MakeGlobalPDName(disk iscsiDisk) string {
    	return fake.tmpDir
    }
    
    func (fake *fakeDiskManager) MakeGlobalVDPDName(disk iscsiDisk) string {
    	return fake.tmpDir
    }
    
    func (fake *fakeDiskManager) AttachDisk(b iscsiDiskMounter) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  2. tools/docker-builder/docker.go

    fi
    docker buildx use container-builder`).Run()
    }
    
    // ConstructBakeFile constructs a docker-bake.json to be passed to `docker buildx bake`.
    // This command is an extremely powerful command to build many images in parallel, but is pretty undocumented.
    // Most info can be found from the source at https://github.com/docker/buildx/blob/master/bake/bake.go.
    func ConstructBakeFile(a Args) (map[string]string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. pkg/proxy/healthcheck/healthcheck_test.go

    	return &fakeListener{
    		openPorts: sets.Set[string]{},
    	}
    }
    
    func (fake *fakeListener) hasPort(addr string) bool {
    	return fake.openPorts.Has(addr)
    }
    
    func (fake *fakeListener) Listen(addr string) (net.Listener, error) {
    	fake.openPorts.Insert(addr)
    	return &fakeNetListener{
    		parent: fake,
    		addr:   addr,
    	}, nil
    }
    
    type fakeNetListener struct {
    	parent *fakeListener
    	addr   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_pod_control_test.go

    	pod := newStatefulSetPod(set, 0)
    	fakeClient := &fake.Clientset{}
    	pvcIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    	pvcLister := corelisters.NewPersistentVolumeClaimLister(pvcIndexer)
    	control := NewStatefulPodControl(fakeClient, nil, pvcLister, recorder)
    	pvcs := getPersistentVolumeClaims(set, pod)
    	volumes := make([]v1.Volume, 0, len(pod.Spec.Volumes))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "plumbus": {"name": "Plumbus"},
            "gun": {"name": "Portal Gun"},
        }
    
    
    @needs_py39
    def test_items_with_no_token_jessica(client: TestClient):
        response = client.get("/items", headers={"X-Token": "fake-super-secret-token"})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main.py

            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "plumbus": {"name": "Plumbus"},
            "gun": {"name": "Portal Gun"},
        }
    
    
    def test_items_with_no_token_jessica(client: TestClient):
        response = client.get("/items", headers={"X-Token": "fake-super-secret-token"})
        assert response.status_code == 422
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"request.kind.group == 'example.com' && request.kind.version == 'v1' && request.kind.kind == 'Fake'",
    				"request.resource.group == 'example.com' && request.resource.version == 'v1' && request.resource.resource == 'fake' && request.subResource == 'scale'",
    				"request.requestKind.group == 'example.com' && request.requestKind.version == 'v1' && request.requestKind.kind == 'Fake'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/net/http/httptest/server.go

    func (s *Server) CloseClientConnections() {
    	s.mu.Lock()
    	nconn := len(s.conns)
    	ch := make(chan struct{}, nconn)
    	for c := range s.conns {
    		go s.closeConnChan(c, ch)
    	}
    	s.mu.Unlock()
    
    	// Wait for outstanding closes to finish.
    	//
    	// Out of paranoia for making a late change in Go 1.6, we
    	// bound how long this can wait, since golang.org/issue/14291
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/discovery"
    	"k8s.io/client-go/dynamic"
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/metadata"
    	metadatafake "k8s.io/client-go/metadata/fake"
    	restclient "k8s.io/client-go/rest"
    	core "k8s.io/client-go/testing"
    	"k8s.io/klog/v2/ktesting"
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    func TestFinalized(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top