Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for volumeattachment (0.23 sec)

  1. pkg/apis/storage/validation/validation_test.go

    				Message: "hello world",
    			},
    		},
    	}}
    
    	for _, volumeAttachment := range migrationEnabledSuccessCases {
    		if errs := ValidateVolumeAttachment(&volumeAttachment); len(errs) != 0 {
    			t.Errorf("expected success: %v %v", volumeAttachment, errs)
    		}
    	}
    	migrationEnabledErrorCases := []storage.VolumeAttachment{{
    		// Empty attacher name
    		ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    				_, err = csiAttacher.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    				if err != nil {
    					t.Fatalf("failed to create VolumeAttachment: %v", err)
    				}
    				gotAttachment, err := csiAttacher.k8s.StorageV1().VolumeAttachments().Get(context.TODO(), attachment.Name, metav1.GetOptions{})
    				if err != nil {
    					t.Fatalf("failed to get created VolumeAttachment: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    func (m *VolumeAttachment) Reset()      { *m = VolumeAttachment{} }
    func (*VolumeAttachment) ProtoMessage() {}
    func (*VolumeAttachment) Descriptor() ([]byte, []int) {
    	return fileDescriptor_02e7952e43280c27, []int{2}
    }
    func (m *VolumeAttachment) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *VolumeAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  4. api/discovery/aggregated_v2.json

                  ]
                },
                {
                  "resource": "volumeattachments",
                  "responseKind": {
                    "group": "",
                    "kind": "VolumeAttachment",
                    "version": ""
                  },
                  "scope": "Cluster",
                  "singularResource": "volumeattachment",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. api/discovery/aggregated_v2beta1.json

                  ]
                },
                {
                  "resource": "volumeattachments",
                  "responseKind": {
                    "group": "",
                    "kind": "VolumeAttachment",
                    "version": ""
                  },
                  "scope": "Cluster",
                  "singularResource": "volumeattachment",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_mounter_test.go

    					Attached:    false,
    					AttachError: nil,
    					DetachError: nil,
    				},
    			}
    			_, err = csiMounter.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, meta.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to setup VolumeAttachment: %v", err)
    			}
    
    			// Mounter.SetUp()
    			var mounterArgs volume.MounterArgs
    			fsGroup := int64(2000)
    			mounterArgs.FsGroup = &fsGroup
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top