- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for FlexVolumeSource (0.26 sec)
-
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) -
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) -
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) -
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)