Added Gomock and one test case with mock.

This commit is contained in:
Jan Mußler
2020-12-07 22:36:17 +01:00
parent 9e095e49d8
commit b42013455f
5 changed files with 108 additions and 4 deletions
+2
View File
@@ -1,5 +1,7 @@
package volumes
//go:generate go run -mod=mod github.com/golang/mock/mockgen -package mocks -destination=$PWD/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=mod
import v1 "k8s.io/api/core/v1"
// VolumeProperties ...