- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 96 for vol0 (0.15 sec)
-
pkg/volume/csimigration/plugin_manager.go
// PluginNameMapper contains utility methods to retrieve names of plugins // that support a spec, map intree <=> migrated CSI plugin names, etc type PluginNameMapper interface { GetInTreePluginNameFromSpec(pv *v1.PersistentVolume, vol *v1.Volume) (string, error) GetCSINameFromInTreeName(pluginName string) (string, error) } // PluginManager keeps track of migrated state of in-tree plugins type PluginManager struct { PluginNameMapper
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
for _, vol := range attachedVolumes { if vol.VolumeName == volumeName1 { // devicePath + attachability must have been updated from node.status assert.True(t, vol.PluginIsAttachable) assert.Equal(t, vol.DevicePath, "fake/path") } if vol.VolumeName == volumeName2 { // only attachability was updated from node.status assert.False(t, vol.PluginIsAttachable)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
// either the deleter plugin or nil when an external deleter is requested. func (ctrl *PersistentVolumeController) findDeletablePlugin(volume *v1.PersistentVolume) (vol.DeletableVolumePlugin, error) { // Find a plugin. Try to find the same plugin that provisioned the volume var plugin vol.DeletableVolumePlugin if metav1.HasAnnotation(volume.ObjectMeta, storagehelpers.AnnDynamicallyProvisioned) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
err error }{ {name: "test ok", volID: "vol-test", targetPath: testPath}, {name: "missing volID", targetPath: testPath, mustFail: true}, {name: "missing target path", volID: "vol-test", mustFail: true}, {name: "bad fs", volID: "vol-test", targetPath: testPath, fsType: "badfs", mustFail: true}, {name: "grpc error", volID: "vol-test", targetPath: testPath, mustFail: true, err: errors.New("grpc error")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/recycle_test.go
runningPod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "runningPod", Namespace: testNamespace, }, Spec: v1.PodSpec{ Volumes: []v1.Volume{ { Name: "vol1", VolumeSource: v1.VolumeSource{ PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: "runningClaim", }, }, }, }, }, Status: v1.PodStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 14.2K bytes - Viewed (0) -
src/image/jpeg/idct.go
// stages. // // For more on the actual algorithm, see Z. Wang, "Fast algorithms for the // discrete W transform and for the discrete Fourier transform", IEEE Trans. on // ASSP, Vol. ASSP- 32, pp. 803-816, Aug. 1984. func idct(src *block) { // Horizontal 1-D IDCT. for y := 0; y < 8; y++ { y8 := y * 8 s := src[y8 : y8+8 : y8+8] // Small cap improves performance, see https://golang.org/issue/27857
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 23:18:37 UTC 2019 - 5K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
asw ActualStateOfWorld) { volumes := asw.GetMountedVolumes() for _, vol := range volumes { if vol.VolumeName == expectedVolumeName { if vol.SELinuxMountContext == expectedSELinuxContext { return } t.Errorf( "Volume %q has wrong SELinux context, expected %q, got %q", expectedVolumeName, expectedSELinuxContext, vol.SELinuxMountContext) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
mounts := append(petMounts, podMounts...) claims := []v1.PersistentVolumeClaim{} for _, m := range petMounts { claims = append(claims, newPVC(m.Name)) } vols := []v1.Volume{} for _, m := range podMounts { vols = append(vols, v1.Volume{ Name: m.Name, VolumeSource: v1.VolumeSource{ HostPath: &v1.HostPathVolumeSource{ Path: fmt.Sprintf("/tmp/%v", m.Name), }, }, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
if podMeta != nil && podMeta.Name != "" { for _, vol := range volumes { if vol.VolumeSource.Ephemeral != nil { allCreatedPVCs.Insert(podMeta.Name + "-" + vol.Name) } } } vols := make(map[string]core.VolumeSource) for i, vol := range volumes { idxPath := fldPath.Index(i) namePath := idxPath.Child("name") el := validateVolumeSource(&vol.VolumeSource, idxPath, vol.Name, podMeta, opts) if len(vol.Name) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
plugin/pkg/admission/namespace/autoprovision/admission_test.go
func newPod(namespace string) api.Pod { return api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace}, Spec: api.PodSpec{ Volumes: []api.Volume{{Name: "vol"}}, Containers: []api.Container{{Name: "ctr", Image: "image"}}, }, } } // hasCreateNamespaceAction returns true if it has the create namespace action
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.5K bytes - Viewed (0)