- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for NFSVolumeSource (0.27 sec)
-
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) -
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) -
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) -
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) -
pkg/volume/util/util_test.go
}{ "volume-with-mount-options": { volume: createVolumeSpecWithMountOption("good-mount-opts", "ro,nfsvers=3", v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{ NFS: &v1.NFSVolumeSource{Server: "localhost", Path: "/srv", ReadOnly: false}, }, }), expectedMountList: []string{"ro", "nfsvers=3"}, systemOptions: nil, }, "volume-with-bad-mount-options": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/testing/testvolumespec.go
ObjectMeta: metav1.ObjectMeta{ UID: types.UID(pvName), Name: pvName, }, Spec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{ NFS: &v1.NFSVolumeSource{ Server: volumeName, }, }, }, } } func attachVolumeToNode(nodes *v1.NodeList, volumeName, nodeName string, inUse bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 17 08:48:30 UTC 2023 - 16.5K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.NFSVolumeSource)(nil), (*core.NFSVolumeSource)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_NFSVolumeSource_To_core_NFSVolumeSource(a.(*v1.NFSVolumeSource), b.(*core.NFSVolumeSource), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { if in == nil { return nil } out := new(NFSVolumeSource) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { if in == nil { return nil } out := new(NFSVolumeSource) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/index_test.go
Spec: v1.PersistentVolumeSpec{ Capacity: v1.ResourceList{v1.ResourceName(v1.ResourceStorage): resource.MustParse("10G")}, PersistentVolumeSource: v1.PersistentVolumeSource{NFS: &v1.NFSVolumeSource{}}, AccessModes: []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, v1.ReadOnlyMany, v1.ReadWriteMany, }, VolumeMode: &fs, }, Status: v1.PersistentVolumeStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 44K bytes - Viewed (0)