Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NFSVolumeSource (0.14 sec)

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

    // with apply.
    type NFSVolumeSourceApplyConfiguration struct {
    	Server   *string `json:"server,omitempty"`
    	Path     *string `json:"path,omitempty"`
    	ReadOnly *bool   `json:"readOnly,omitempty"`
    }
    
    // NFSVolumeSourceApplyConfiguration constructs an declarative configuration of the NFSVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. pkg/volume/nfs/nfs_test.go

    	}
    
    	if !plug.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{NFS: &v1.NFSVolumeSource{}}}}) {
    		t.Errorf("Expected true")
    	}
    	if !plug.CanSupport(&volume.Spec{PersistentVolume: &v1.PersistentVolume{Spec: v1.PersistentVolumeSpec{PersistentVolumeSource: v1.PersistentVolumeSource{NFS: &v1.NFSVolumeSource{}}}}}) {
    		t.Errorf("Expected true")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. pkg/volume/nfs/nfs.go

    	// overrides
    	pod.Spec.ActiveDeadlineSeconds = &timeout
    	pod.GenerateName = "pv-recycler-nfs-"
    	pod.Spec.Volumes[0].VolumeSource = v1.VolumeSource{
    		NFS: &v1.NFSVolumeSource{
    			Server: spec.PersistentVolume.Spec.NFS.Server,
    			Path:   spec.PersistentVolume.Spec.NFS.Path,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/volume/validation/pv_validation_test.go

    					api.ResourceName(api.ResourceStorage): resource.MustParse("10G"),
    				},
    				AccessModes: []api.PersistentVolumeAccessMode{api.ReadWriteOnce},
    				PersistentVolumeSource: api.PersistentVolumeSource{
    					NFS: &api.NFSVolumeSource{Server: "localhost", Path: "/srv", ReadOnly: false},
    				},
    			}),
    		},
    		"volume with mount option for host path": {
    			isExpectedFailure: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top