Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestVolumeMapToSlice (0.19 sec)

  1. cmd/kubeadm/app/util/staticpod/utils_test.go

    			if !reflect.DeepEqual(actual, rt.expected) {
    				t.Errorf(
    					"failed newVolumeMount:\n\texpected: %v\n\t  actual: %v",
    					rt.expected,
    					actual,
    				)
    			}
    		})
    	}
    }
    func TestVolumeMapToSlice(t *testing.T) {
    	testVolumes := map[string]v1.Volume{
    		"foo": {
    			Name: "foo",
    		},
    		"bar": {
    			Name: "bar",
    		},
    	}
    	volumeSlice := VolumeMapToSlice(testVolumes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top