Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 602 for Prefix (0.13 sec)

  1. cni/pkg/nodeagent/server_test.go

    	server := &fakeServer{}
    	server.On("AddPodToMesh",
    		fakeCtx,
    		pod,
    		podIPs,
    		"",
    	).Return(nil)
    
    	server.Start(fakeCtx)
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    
    	m := getFakeDPWithIPSet(server, fakeClientSet, set)
    	expectPodAddedToIPSet(fakeIPSetDeps, podIP, pod.ObjectMeta)
    
    	err := m.AddPodToMesh(fakeCtx, pod, podIPs, "")
    	assert.NoError(t, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    				})
    			}
    
    			return listerAt(files), nil
    		}
    
    		prefix = retainSlash(prefix)
    
    		for object := range clnt.ListObjects(r.Context(), bucket, minio.ListObjectsOptions{
    			Prefix:    prefix,
    			Recursive: false,
    		}) {
    			if object.Err != nil {
    				return nil, object.Err
    			}
    
    			if object.Key == prefix {
    				continue
    			}
    
    			isDir := strings.HasSuffix(object.Key, SlashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    				return err
    			}
    		}
    
    		return nil
    	}
    
    	prefix = retainSlash(prefix)
    
    	for object := range clnt.ListObjects(cctx, bucket, minio.ListObjectsOptions{
    		Prefix:    prefix,
    		Recursive: false,
    	}) {
    		if object.Err != nil {
    			return object.Err
    		}
    
    		if object.Key == prefix {
    			continue
    		}
    
    		isDir := strings.HasSuffix(object.Key, SlashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tests/test_ws_router.py

        with client.websocket_connect("/prefix/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router with prefix!"
    
    
    def test_native_prefix_router():
        client = TestClient(app)
        with client.websocket_connect("/native/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router with native prefix!"
    
    
    def test_router2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 2, 0),
    						},
    						{
    							Prefix: "",
    							Suffix: "/test",
    							Seq:    getSequences(1, 64, 0),
    						},
    						{
    							Prefix: "http://minio",
    							Suffix: "/export/set",
    							Seq:    getSequences(2, 3, 0),
    						},
    					},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. internal/kms/kms.go

    )
    
    // ListRequest is a structure containing fields
    // and options for listing keys.
    type ListRequest struct {
    	// Prefix is an optional prefix for filtering names.
    	// A list operation only returns elements that match
    	// this prefix.
    	// An empty prefix matches any value.
    	Prefix string
    
    	// ContinueAt is the name of the element from where
    	// a listing should continue. It allows paginated
    	// listings.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. tests/test_empty_router.py

    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
            assert response.status_code == 200, response.text
            assert response.json() == ["OK"]
    
            response = client.get("/prefix/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 22:37:34 UTC 2023
    - 805 bytes
    - Viewed (0)
  8. cmd/metacache-stream.go

    }
    
    // pastPrefix returns true if the given prefix is before start of the block.
    func (b metacacheBlock) pastPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.First, prefix) {
    		return false
    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
      val directories =
        listOf(
          "$prefix/samples/guide/src/main/java/okhttp3/guide",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/bucket-versioning.go

    }
    
    // PrefixSuspended returns true if the given prefix matches an excluded prefix
    // pattern. This is part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixSuspended(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return vc.PrefixSuspended(prefix)
    }
    
    // Get returns stored bucket policy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top