Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for volumeattachment (0.34 sec)

  1. staging/src/k8s.io/api/storage/v1alpha1/types.go

    // +k8s:prerelease-lifecycle-gen:deprecated=1.21
    // +k8s:prerelease-lifecycle-gen:replacement=storage.k8s.io,v1,VolumeAttachment
    
    // VolumeAttachment captures the intent to attach or detach the specified volume
    // to/from the specified node.
    //
    // VolumeAttachment objects are non-namespaced.
    type VolumeAttachment struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// Standard object metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/apis/storage/v1beta1/zz_generated.defaults.go

    	scheme.AddTypeDefaultingFunc(&v1beta1.VolumeAttachment{}, func(obj interface{}) { SetObjectDefaults_VolumeAttachment(obj.(*v1beta1.VolumeAttachment)) })
    	scheme.AddTypeDefaultingFunc(&v1beta1.VolumeAttachmentList{}, func(obj interface{}) { SetObjectDefaults_VolumeAttachmentList(obj.(*v1beta1.VolumeAttachmentList)) })
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. pkg/apis/storage/v1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1.VolumeAttachment)(nil), (*storage.VolumeAttachment)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_VolumeAttachment_To_storage_VolumeAttachment(a.(*v1.VolumeAttachment), b.(*storage.VolumeAttachment), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 39.2K bytes
    - Viewed (0)
  5. pkg/apis/storage/v1beta1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.VolumeAttachment)(nil), (*storage.VolumeAttachment)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_VolumeAttachment_To_storage_VolumeAttachment(a.(*v1beta1.VolumeAttachment), b.(*storage.VolumeAttachment), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 41K bytes
    - Viewed (0)
  6. pkg/apis/storage/v1/zz_generated.defaults.go

    	scheme.AddTypeDefaultingFunc(&v1.StorageClassList{}, func(obj interface{}) { SetObjectDefaults_StorageClassList(obj.(*v1.StorageClassList)) })
    	scheme.AddTypeDefaultingFunc(&v1.VolumeAttachment{}, func(obj interface{}) { SetObjectDefaults_VolumeAttachment(obj.(*v1.VolumeAttachment)) })
    	scheme.AddTypeDefaultingFunc(&v1.VolumeAttachmentList{}, func(obj interface{}) { SetObjectDefaults_VolumeAttachmentList(obj.(*v1.VolumeAttachmentList)) })
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_block_test.go

    	attachment := makeTestAttachment(attachID, nodeName, pvName)
    	attachment.Status.Attached = true
    	_, err = csiMapper.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("failed to setup VolumeAttachment: %v", err)
    	}
    	t.Log("created attachment ", attachID)
    
    	stagingPath, err := csiMapper.SetUpDevice()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go

    func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  9. pkg/registry/storage/rest/storage_storage.go

    		storage[resource] = storageClassStorage
    	}
    
    	// volumeattachments
    	if resource := "volumeattachments"; apiResourceConfigSource.ResourceEnabled(storageapiv1.SchemeGroupVersion.WithResource(resource)) {
    		storage[resource] = volumeAttachmentStorage.VolumeAttachment
    		storage[resource+"/status"] = volumeAttachmentStorage.Status
    	}
    
    	// register csinodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 12:51:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1alpha1/zz_generated.prerelease-lifecycle.go

    func (in *VolumeAttachment) APILifecycleDeprecated() (major, minor int) {
    	return 1, 21
    }
    
    // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    func (in *VolumeAttachment) APILifecycleReplacement() schema.GroupVersionKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top