Commit Graph

179 Commits

Author SHA1 Message Date
Xing Yang
9f3146b285 Fix error when checking and updating snapshotclass 2018-08-24 16:20:06 -07:00
Xing Yang
25be5fdffc shouldProcessSnapshot should return *VolumeSnapshot
Also rename shouldProcessSnapshot to checkAndUpdateSnapshotClass.
2018-08-24 07:01:29 -07:00
Xing Yang
a9dd5c8ff3 Address review comments 2018-08-23 12:17:01 -07:00
Xing Yang
de25b16b03 Fix a typo 2018-08-22 21:22:39 -07:00
Xing Yang
7140b77f2b Change controller to use VolumeSnapshotClassName as pointer 2018-08-22 21:18:08 -07:00
Xing Yang
1893402c6a Re-generate deepcopy file after VolumeSnapshotClass change 2018-08-22 20:09:22 -07:00
Xing Yang
7baa5bf288 Change VolumeSnapshotClassName to pointer to a string 2018-08-22 20:08:07 -07:00
Xing Yang
d95ff46ce1 Split GetClassFromVolumeSnapshot to two functions
This commit splits GetClassFromVolumeSnapshot to two functions,
GetSnapshotClass and SetDefaultSnapshotClass.
2018-08-22 13:41:32 -07:00
Xing Yang
61c67ae236 Change Size to RestoreSize in snapshot controller 2018-08-21 19:37:13 -07:00
Xing Yang
66b982d7e6 Re-generate deepcopy file 2018-08-21 19:34:26 -07:00
Xing Yang
233b7171de Rename Size to RestoreSize 2018-08-21 19:33:27 -07:00
Xing Yang
84fc75e615 Modify controller to use resource.Quantity as size 2018-08-19 20:09:25 -07:00
Xing Yang
fb866ef23a Use CreationName in CSIVolumeSnapshotSource in controller 2018-08-19 10:22:05 -07:00
Xing Yang
db9e97500e Add generated deepcopy file 2018-08-19 10:14:37 -07:00
Xing Yang
9eb5892ca5 Use resource.Quantity for Size in API 2018-08-19 10:13:55 -07:00
Xing Yang
bfb7c69014 Set VolumeSnapshotClass in checkandBindSnapshotContent
go fmt fixes, detailed logging level, other small fixes
2018-08-19 09:10:21 -07:00
Jing Xu
870fd8ec8c Handle snapshot error, get default storage class, and other small
changes
2018-08-17 14:19:40 -07:00
Xing Yang
3e12fd6a36 Update generated deepcopy file 2018-08-16 07:46:44 -07:00
Xing Yang
faf16a64c6 Change ResourceList to int64 in API 2018-08-16 07:45:26 -07:00
Xing Yang
1ee6dd2c21 Address review comments in controller 2018-08-15 20:56:14 -07:00
Xing Yang
afd80c565c Add review comments in cmd and controller 2018-08-14 21:44:30 -07:00
Xing Yang
337564aeaa Address review comments in the APIs. 2018-08-14 20:45:20 -07:00
xing-yang
2c3b68f52b Handle Secrets in DeleteSnapshot
This PR handles secrets at DeleteSnapshot time.
2018-08-14 19:07:54 -07:00
xing-yang
da5647acbf Add generated file 2018-08-14 19:07:54 -07:00
xing-yang
c22737270c Add VolumeSnapshotClass to VolumeSnapshotContent
This PR adds VolumeSnapshotClass to VolumeSnapshotContent
and also adds snapshot size field.
2018-08-14 19:07:53 -07:00
xing-yang
8a08d423c4 Handle Secrets in CreateSnapshot
This PR adds handling for Secrets in CreateSnapshot.
2018-08-14 13:11:22 -07:00
xing-yang
2663b1351f Add Snapshot Controller
This PR adds external snapshot controller and main package under cmd.
2018-08-14 13:11:22 -07:00
xing-yang
3832c9d2b0 Add Snapshot APIs
This PR adds snapshot APIs as CRD.
2018-08-10 06:21:18 -07:00
xing-yang
e213d1890d Add generated file
This PR adds generated files under pkg/client and vendor folder.
2018-08-10 06:20:40 -07:00