Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for localVolumeSource (0.48 sec)

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

    // with apply.
    type LocalVolumeSourceApplyConfiguration struct {
    	Path   *string `json:"path,omitempty"`
    	FSType *string `json:"fsType,omitempty"`
    }
    
    // LocalVolumeSourceApplyConfiguration constructs an declarative configuration of the LocalVolumeSource type for use with
    // apply.
    func LocalVolumeSource() *LocalVolumeSourceApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/index_test.go

    			Spec: v1.PersistentVolumeSpec{
    				Capacity: v1.ResourceList{
    					v1.ResourceName(v1.ResourceStorage): resource.MustParse("200E"),
    				},
    				PersistentVolumeSource: v1.PersistentVolumeSource{
    					Local: &v1.LocalVolumeSource{},
    				},
    				AccessModes: []v1.PersistentVolumeAccessMode{
    					v1.ReadWriteOnce,
    					v1.ReadOnlyMany,
    					v1.ReadWriteMany,
    				},
    				StorageClassName: classLarge,
    				VolumeMode:       &fs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  3. pkg/volume/local/local_test.go

    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: testPVName,
    		},
    		Spec: v1.PersistentVolumeSpec{
    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				Local: &v1.LocalVolumeSource{
    					Path: path,
    				},
    			},
    			MountOptions: mountOptions,
    		},
    	}
    
    	if isBlock {
    		blockMode := v1.PersistentVolumeBlock
    		pv.Spec.VolumeMode = &blockMode
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	return []v1.PersistentVolumeAccessMode{
    		v1.ReadWriteOnce,
    	}
    }
    
    func getVolumeSource(spec *volume.Spec) (*v1.LocalVolumeSource, bool, error) {
    	if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Local != nil {
    		return spec.PersistentVolume.Spec.Local, spec.ReadOnly, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/types.go

    // fsStatsType defines the types of filesystem stats to collect.
    type fsStatsType string
    
    const (
    	// fsStatsLocalVolumeSource identifies stats for pod local volume sources.
    	fsStatsLocalVolumeSource fsStatsType = "localVolumeSource"
    	// fsStatsLogs identifies stats for pod logs.
    	fsStatsLogs fsStatsType = "logs"
    	// fsStatsRoot identifies stats for pod container writable layers.
    	fsStatsRoot fsStatsType = "root"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.LocalVolumeSource)(nil), (*core.LocalVolumeSource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_LocalVolumeSource_To_core_LocalVolumeSource(a.(*v1.LocalVolumeSource), b.(*core.LocalVolumeSource), 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)
  7. pkg/apis/core/zz_generated.deepcopy.go

    func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) {
    	*out = *in
    	if in.FSType != nil {
    		in, out := &in.FSType, &out.FSType
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource.
    func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) {
    	*out = *in
    	if in.FSType != nil {
    		in, out := &in.FSType, &out.FSType
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource.
    func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.pb.go

    func (m *LocalVolumeSource) Reset()      { *m = LocalVolumeSource{} }
    func (*LocalVolumeSource) ProtoMessage() {}
    func (*LocalVolumeSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{88}
    }
    func (m *LocalVolumeSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *LocalVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    	// mode, like fsGroup, and the result can be other mode bits set.
    	// +optional
    	Mode *int32
    }
    
    // LocalVolumeSource represents directly-attached storage with node affinity (Beta feature)
    type LocalVolumeSource struct {
    	// The full path to the volume on the node.
    	// It can be either a directory or block device (disk, partition, ...).
    	Path string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top