Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 168 for volName (0.22 sec)

  1. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    	fs.StringVar(&o.VolumeConfiguration.FlexVolumePluginDir, "flex-volume-plugin-dir", o.VolumeConfiguration.FlexVolumePluginDir, "Full path of the directory in which the flex volume plugin should search for additional third party volume plugins.")
    }
    
    // ApplyTo fills up PersistentVolumeBinderController config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue9604b.go

    					eqn := fmt.Sprintf("%s_%s %s %s_%s != %d", t.name, valname(x), op.name, t.name, valname(y), r)
    					fmt.Printf("\tif %s { println(\"bad: %s\") }\n", eqn, eqn)
    				}
    			}
    		}
    		// test unary ops
    		for _, op := range unops {
    			for _, x := range t.testvalues() {
    				r := t.trunc(op.eval(x))
    				eqn := fmt.Sprintf("%s %s_%s != %d", op.name, t.name, valname(x), r)
    				fmt.Printf("\tif %s { println(\"bad: %s\") }\n", eqn, eqn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_metrics_test.go

    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csi/fake"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    func TestGetMetrics(t *testing.T) {
    	tests := []struct {
    		name          string
    		volumeID      string
    		targetPath    string
    		expectSuccess bool
    	}{
    		{
    			name:          "with valid name and volume id",
    			expectSuccess: true,
    			volumeID:      "foobar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    message VolumeAttachmentSpec {
      // attacher indicates the name of the volume driver that MUST handle this
      // request. This is the name returned by GetPluginName().
      optional string attacher = 1;
    
      // source represents the volume that should be attached.
      optional VolumeAttachmentSource source = 2;
    
      // nodeName represents the node that the volume should be attached to.
      optional string nodeName = 3;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. pkg/volume/util/volumeattributesclass_test.go

    	}{
    		{
    			name:       "no volume attributes class",
    			driverName: dirverName1,
    		},
    		{
    			name:       "no default volume attributes class",
    			driverName: dirverName1,
    			classes:    []*storagev1alpha1.VolumeAttributesClass{vac1, vac2, vac6},
    			expect:     nil,
    		},
    		{
    			name:       "no default volume attributes class for the driverName1",
    			driverName: dirverName1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. cmd/bitrot_test.go

    )
    
    func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) {
    	tmpDir := t.TempDir()
    
    	volume := "testvol"
    	filePath := "testfile"
    
    	disk, err := newLocalXLStorage(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk.MakeVol(context.Background(), volume)
    
    	writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10)
    
    	_, err = writer.Write([]byte("aaaaaaaaaa"))
    	if err != nil {
    		t.Fatal(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pkg/volume/csi/expander_test.go

    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/status"
    	api "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    func TestNodeExpand(t *testing.T) {
    	tests := []struct {
    		name                      string
    		nodeExpansion             bool
    		nodeStageSet              bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	// attach if kubelet is responsible for attaching volumes.
    	// If underlying PVC was resized while in-use then this function also handles volume
    	// resizing.
    	rc.mountOrAttachVolumes()
    
    	// Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume
    	// that is still needed, but it did not reach DSW yet.
    	if readyToUnmount {
    		// Ensure devices that should be detached/unmounted are detached/unmounted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/test_utils.go

    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			EmptyDir: &v1.EmptyDirVolumeSource{},
    		},
    	})
    	return pb
    }
    
    func (pb podBuilder) withGenericEphemeralVolume(name string) podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		Name: name,
    		VolumeSource: v1.VolumeSource{
    			Ephemeral: &v1.EphemeralVolumeSource{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. pkg/volume/csimigration/plugin_manager_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    func TestIsMigratable(t *testing.T) {
    	testCases := []struct {
    		name                 string
    		pluginFeature        featuregate.Feature
    		pluginFeatureEnabled bool
    		csiMigrationEnabled  bool
    		isMigratable         bool
    		spec                 *volume.Spec
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top