Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for FlexVolumeSource (0.35 sec)

  1. pkg/volume/flexvolume/plugin.go

    func (plugin *flexVolumePlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) {
    	flexVolume := &api.Volume{
    		Name: volumeName,
    		VolumeSource: api.VolumeSource{
    			FlexVolume: &api.FlexVolumeSource{
    				Driver: plugin.driverName,
    			},
    		},
    	}
    	return volume.ReconstructedVolume{
    		Spec: volume.NewSpecFromVolume(flexVolume),
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/zz_generated.conversion.go

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

    			(*out)[key] = val
    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource.
    func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource {
    	if in == nil {
    		return nil
    	}
    	out := new(FlexVolumeSource)
    	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)
  4. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    			(*out)[key] = val
    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource.
    func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource {
    	if in == nil {
    		return nil
    	}
    	out := new(FlexVolumeSource)
    	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)
  5. staging/src/k8s.io/api/core/v1/generated.pb.go

    func (m *FlexVolumeSource) Reset()      { *m = FlexVolumeSource{} }
    func (*FlexVolumeSource) ProtoMessage() {}
    func (*FlexVolumeSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{62}
    }
    func (m *FlexVolumeSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *FlexVolumeSource) 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)
  6. pkg/api/pod/util_test.go

    					Cinder: &api.CinderVolumeSource{
    						SecretRef: &api.LocalObjectReference{
    							Name: "Spec.Volumes[*].VolumeSource.Cinder.SecretRef"}}}}, {
    				VolumeSource: api.VolumeSource{
    					FlexVolume: &api.FlexVolumeSource{
    						SecretRef: &api.LocalObjectReference{
    							Name: "Spec.Volumes[*].VolumeSource.FlexVolume.SecretRef"}}}}, {
    				VolumeSource: api.VolumeSource{
    					Projected: &api.ProjectedVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. pkg/apis/core/types.go

    	// +optional
    	ReadOnly bool
    	// Optional: Extra driver options if any.
    	// +optional
    	Options map[string]string
    }
    
    // FlexVolumeSource represents a generic volume resource that is
    // provisioned/attached using an exec based plugin.
    type FlexVolumeSource struct {
    	// Driver is the name of the driver to use for this volume.
    	Driver string
    	// Filesystem type to mount.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    	testcases := map[string]struct {
    		source       *core.FlexVolumeSource
    		expectedErrs map[string]string
    	}{
    		"valid": {
    			source:       &core.FlexVolumeSource{Driver: "foo"},
    			expectedErrs: map[string]string{},
    		},
    		"valid with options": {
    			source:       &core.FlexVolumeSource{Driver: "foo", Options: map[string]string{"foo": "bar"}},
    			expectedErrs: map[string]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      // +optional
      map<string, string> options = 5;
    }
    
    // FlexVolume represents a generic volume resource that is
    // provisioned/attached using an exec based plugin.
    message FlexVolumeSource {
      // driver is the name of the driver to use for this volume.
      optional string driver = 1;
    
      // fsType is the filesystem type to mount.
      // Must be a filesystem type supported by the host operating system.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types.go

    	RBD *RBDVolumeSource `json:"rbd,omitempty" protobuf:"bytes,11,opt,name=rbd"`
    	// flexVolume represents a generic volume resource that is
    	// provisioned/attached using an exec based plugin.
    	// +optional
    	FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" protobuf:"bytes,12,opt,name=flexVolume"`
    	// cinder represents a cinder volume attached and mounted on kubelets host machine.
    	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
Back to top