Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for FlexVolumeSource (0.36 sec)

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

    	Options   map[string]string                       `json:"options,omitempty"`
    }
    
    // FlexVolumeSourceApplyConfiguration constructs an declarative configuration of the FlexVolumeSource type for use with
    // apply.
    func FlexVolumeSource() *FlexVolumeSourceApplyConfiguration {
    	return &FlexVolumeSourceApplyConfiguration{}
    }
    
    // WithDriver sets the Driver field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/common_test.go

    			return false
    		}
    	}
    	return true
    }
    
    func fakeVolumeSpec() *volume.Spec {
    	vol := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			FlexVolume: &v1.FlexVolumeSource{
    				Driver:   "kubernetes.io/fakeAttacher",
    				ReadOnly: false,
    			},
    		},
    	}
    	return volume.NewSpecFromVolume(vol)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/flexvolume/flexvolume_test.go

    	}
    	if plugin.GetPluginName() != "kubernetes.io/fakeAttacher" {
    		t.Errorf("Wrong name: %s", plugin.GetPluginName())
    	}
    	if !plugin.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{FlexVolume: &v1.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher"}}}}) {
    		t.Errorf("Expected true")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. pkg/api/v1/pod/util_test.go

    					Cinder: &v1.CinderVolumeSource{
    						SecretRef: &v1.LocalObjectReference{
    							Name: "Spec.Volumes[*].VolumeSource.Cinder.SecretRef"}}}}, {
    				VolumeSource: v1.VolumeSource{
    					FlexVolume: &v1.FlexVolumeSource{
    						SecretRef: &v1.LocalObjectReference{
    							Name: "Spec.Volumes[*].VolumeSource.FlexVolume.SecretRef"}}}}, {
    				VolumeSource: v1.VolumeSource{
    					Projected: &v1.ProjectedVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top