Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 839 for portVal (0.51 sec)

  1. tests/integration/ambient/testdata/automtls-partial-sidecar-dr-no-tls.yaml

    kind: PeerAuthentication
    metadata:
      name: "default"
      annotations:
        test-suite: "automtls-partial-sidecar-dr-no-tls"
    spec:
      mtls:
        mode: STRICT
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: "multiversion-route"
      annotations:
        test-suite: "automtls-partial-sidecar-dr-no-tls"
    spec:
      hosts:
      - "multiversion"
      http:
      - name: "vistio-route"
        match:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 996 bytes
    - Viewed (0)
  2. pkg/volume/iscsi/iscsi_util_test.go

    	portal, iqn, err := extractPortalAndIqn(devicePath)
    	if err != nil || portal != "127.0.0.1:3260" || iqn != "iqn.2014-12.com.example:test.tgt00" {
    		t.Errorf("extractPortalAndIqn: got %v %s %s", err, portal, iqn)
    	}
    	devicePath = "127.0.0.1:3260-eui.02004567A425678D-lun-0"
    	portal, iqn, err = extractPortalAndIqn(devicePath)
    	if err != nil || portal != "127.0.0.1:3260" || iqn != "eui.02004567A425678D" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 09:43:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial008b.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 735 bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial008b_an.py

    from fastapi import Depends, FastAPI, HTTPException
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 785 bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    // volumeName: pv0001
    func (iscsi *iscsiDisk) GetPodDeviceMapPath() (string, string) {
    	return iscsi.iscsiPodDeviceMapPath()
    }
    
    func portalMounter(portal string) string {
    	if !strings.Contains(portal, ":") {
    		portal = portal + ":3260"
    	}
    	return portal
    }
    
    // get iSCSI volume info: readOnly and fstype
    func getISCSIVolumeInfo(spec *volume.Spec) (bool, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008b_an.py

        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    def test_get_item():
        response = client.get("/items/portal-gun")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 700 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial008b.py

        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    def test_get_item():
        response = client.get("/items/portal-gun")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 697 bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial008b_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py

        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    @needs_py39
    def test_get_item(client: TestClient):
        response = client.get("/items/portal-gun")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 918 bytes
    - Viewed (0)
  10. pkg/volume/iscsi/disk_manager.go

    	options := []string{"bind"}
    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	if b.iscsiDisk.InitiatorName != "" {
    		// new iface name is <target portal>:<volume name>
    		b.iscsiDisk.Iface = b.iscsiDisk.Portals[0] + ":" + b.iscsiDisk.VolName
    	}
    	globalPDPath := manager.MakeGlobalPDName(*b.iscsiDisk)
    	mountOptions := util.JoinMountOptions(b.mountOptions, options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top