type testcase …
type nodeIDMap …
type topologyKeyMap …
type labelMap …
func TestInstallCSIDriver(t *testing.T) { … }
func generateVolumeLimits(i int32) *storage.VolumeNodeResources { … }
func TestUninstallCSIDriver(t *testing.T) { … }
func TestSetMigrationAnnotation(t *testing.T) { … }
func TestInstallCSIDriverExistingAnnotation(t *testing.T) { … }
func getClientSet(existingNode *v1.Node, existingCSINode *storage.CSINode) *fake.Clientset { … }
func test(t *testing.T, addNodeInfo bool, testcases []testcase) { … }
func generateNode(nodeIDs, labels map[string]string, capacity map[v1.ResourceName]resource.Quantity) *v1.Node { … }
func marshall(nodeIDs nodeIDMap) string { … }
func generateCSINode(nodeIDs nodeIDMap, volumeLimits *storage.VolumeNodeResources, topologyKeys topologyKeyMap) *storage.CSINode { … }
func getCSINodeObjectMeta() metav1.ObjectMeta { … }
func applyNodeStatusPatch(originalNode *v1.Node, patch []byte) (*v1.Node, error) { … }
func hasPatchAction(actions []clienttesting.Action) clienttesting.Action { … }