Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 988 for volName (0.11 sec)

  1. pkg/volume/git_repo/git_repo_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/emptydir"
    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/utils/exec"
    	fakeexec "k8s.io/utils/exec/testing"
    )
    
    func newTestHost(t *testing.T) (string, volume.VolumeHost) {
    	tempDir, err := ioutil.TempDir("", "git_repo_test.")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/recycle_test.go

    				// Delete the volume before recycle operation starts
    				reactor.DeleteVolume("volume6-6")
    			}),
    		},
    		{
    			// recycle success(?) - volume is recycled by previous recycler just
    			// at the time new doRecycle() starts. This simulates "volume no
    			// longer needs recycling, skipping".
    			name:            "6-7 - volume is deleted before recycling",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. pkg/volume/portworx/portworx_test.go

    	plug, err := plugMgr.FindPluginByName("kubernetes.io/portworx-volume")
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    	if plug.GetPluginName() != "kubernetes.io/portworx-volume" {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    	if !plug.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{PortworxVolume: &v1.PortworxVolumeSource{}}}}) {
    		t.Errorf("Expected true")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1/generated.proto

    message CSIDriverSpec {
      // attachRequired indicates this CSI volume driver requires an attach
      // operation (because it implements the CSI ControllerPublishVolume()
      // method), and that the Kubernetes attach detach controller should call
      // the attach volume interface which checks the volumeattachment status
      // and waits until the volume is attached before proceeding to mounting.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1beta1/generated.proto

      // fsGroupPolicy defines if the underlying volume supports changing ownership and
      // permission of the volume before being mounted.
      // Refer to the specific FSGroupPolicy values for additional details.
      //
      // This field is immutable.
      //
      // Defaults to ReadWriteOnceWithFSType, which will examine each volume
      // to determine if Kubernetes should modify ownership and permissions of the volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/flexvolume_test.go

    		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)
  7. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    	corelisters "k8s.io/client-go/listers/core/v1"
    	kcache "k8s.io/client-go/tools/cache"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/cache"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/util"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	volutil "k8s.io/kubernetes/pkg/volume/util"
    )
    
    // DesiredStateOfWorldPopulator periodically verifies that the pods in the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    	csitrans "k8s.io/csi-translation-lib"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/cache"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/pkg/volume/util"
    )
    
    func TestFindAndAddActivePods_FindAndRemoveDeletedPods(t *testing.T) {
    	fakeVolumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. pkg/volume/util/util_test.go

    			mountRefs: []string{
    				"/home/somewhere/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    			},
    			expected: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_util_test.go

    	testCases := []struct {
    		name     string
    		spec     *volume.Spec
    		migrated string
    	}{
    		{
    			name:     "test volume spec nil",
    			spec:     nil,
    			migrated: "false",
    		},
    		{
    			name: "test volume normal spec with migrated true",
    			spec: &volume.Spec{
    				Migrated: true,
    			},
    			migrated: "true",
    		},
    		{
    			name: "test volume normal spec with migrated false",
    			spec: &volume.Spec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top