Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for targetWWNs (0.17 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go

    package v1
    
    // FCVolumeSourceApplyConfiguration represents an declarative configuration of the FCVolumeSource type for use
    // with apply.
    type FCVolumeSourceApplyConfiguration struct {
    	TargetWWNs []string `json:"targetWWNs,omitempty"`
    	Lun        *int32   `json:"lun,omitempty"`
    	FSType     *string  `json:"fsType,omitempty"`
    	ReadOnly   *bool    `json:"readOnly,omitempty"`
    	WWIDs      []string `json:"wwids,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  2. pkg/volume/fc/fc.go

    	// or zero length. We should check again to avoid unexpected conditions.
    	if len(volumeSource.TargetWWNs) != 0 && volumeSource.Lun != nil {
    		// TargetWWNs are the FibreChannel target worldwide names
    		return fmt.Sprintf("%v:%v", volumeSource.TargetWWNs, *volumeSource.Lun), nil
    	} else if len(volumeSource.WWIDs) != 0 {
    		// WWIDs are the FibreChannel World Wide Identifiers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc_test.go

    	}
    }
    
    func TestPluginVolume(t *testing.T) {
    	lun := int32(0)
    	vol := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			FC: &v1.FCVolumeSource{
    				TargetWWNs: []string{"500a0981891b8dc5"},
    				FSType:     "ext4",
    				Lun:        &lun,
    			},
    		},
    	}
    	doTestPlugin(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolume(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  4. pkg/volume/fc/attacher.go

    	fc, readOnly, err := getVolumeSource(spec)
    	if err != nil {
    		return nil, err
    	}
    	var lun string
    	var wwids []string
    	if fc.Lun != nil && len(fc.TargetWWNs) != 0 {
    		lun = strconv.Itoa(int(*fc.Lun))
    	} else if len(fc.WWIDs) != 0 {
    		for _, wwid := range fc.WWIDs {
    			wwids = append(wwids, strings.Replace(wwid, " ", "_", -1))
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

          "secretFile": "secretFileValue",
          "secretRef": {
            "name": "nameValue",
            "namespace": "namespaceValue"
          },
          "readOnly": true
        },
        "fc": {
          "targetWWNs": [
            "targetWWNsValue"
          ],
          "lun": 2,
          "fsType": "fsTypeValue",
          "readOnly": true,
          "wwids": [
            "wwidsValue"
          ]
        },
        "flocker": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          "secretFile": "secretFileValue",
          "secretRef": {
            "name": "nameValue",
            "namespace": "namespaceValue"
          },
          "readOnly": true
        },
        "fc": {
          "targetWWNs": [
            "targetWWNsValue"
          ],
          "lun": 2,
          "fsType": "fsTypeValue",
          "readOnly": true,
          "wwids": [
            "wwidsValue"
          ]
        },
        "flocker": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.yaml

        readOnly: true
        volumeAttributes:
          volumeAttributesKey: volumeAttributesValue
        volumeHandle: volumeHandleValue
      fc:
        fsType: fsTypeValue
        lun: 2
        readOnly: true
        targetWWNs:
        - targetWWNsValue
        wwids:
        - wwidsValue
      flexVolume:
        driver: driverValue
        fsType: fsTypeValue
        options:
          optionsKey: optionsValue
        readOnly: true
        secretRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.VolumeAttachment.yaml

            volumeAttributes:
              volumeAttributesKey: volumeAttributesValue
            volumeHandle: volumeHandleValue
          fc:
            fsType: fsTypeValue
            lun: 2
            readOnly: true
            targetWWNs:
            - targetWWNsValue
            wwids:
            - wwidsValue
          flexVolume:
            driver: driverValue
            fsType: fsTypeValue
            options:
              optionsKey: optionsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml

            volumeAttributes:
              volumeAttributesKey: volumeAttributesValue
            volumeHandle: volumeHandleValue
          fc:
            fsType: fsTypeValue
            lun: 2
            readOnly: true
            targetWWNs:
            - targetWWNsValue
            wwids:
            - wwidsValue
          flexVolume:
            driver: driverValue
            fsType: fsTypeValue
            options:
              optionsKey: optionsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1alpha1.VolumeAttachment.json

              "secretRef": {
                "name": "nameValue",
                "namespace": "namespaceValue"
              },
              "readOnly": true
            },
            "fc": {
              "targetWWNs": [
                "targetWWNsValue"
              ],
              "lun": 2,
              "fsType": "fsTypeValue",
              "readOnly": true,
              "wwids": [
                "wwidsValue"
              ]
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top