Commit Graph

22 Commits

Author SHA1 Message Date
Xing Yang
e49856eb41 Add groupName in doc.go when generating files 2019-05-09 13:40:40 -07:00
Humble Chirammal
164d10a824 Update exported function details with source code comments.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:09:51 +05:30
Xing Yang
bfba4cba0f Rename Ready to ReadyToUse
This PR renames Ready to ReadyToUse in VolumeSnapshot Status
to be consistent with the name in CSI spec.
2018-11-26 19:21:43 -08:00
Jing Xu
96e3bd1818 Add volumesnapshot content deletion policy
This PR adds DeletionPolicy which describes a policy for end-of-life maintenance of volume snapshot contents.
There are two types of policies, delete and retain. By default, the
policy is delete. In this case, when volume snaphsot is deleted, the
volume snapshot content for it should be deleted, as well as the
physical snapshot. If the policy is set the retain, the volume snapshot
content will remain even if the volume snapshot it binds to is deleted.
2018-11-19 17:15:07 -08:00
Jing Xu
7a374a3838 Generated files
This comment includes the generated file changes.
2018-11-19 17:04:42 -08:00
Xing Yang
c422fbde7c Switch to use TypedLocalObjectReference in core API 2018-10-17 10:38:17 -07:00
Jing Xu
daaee085e5 Fix restore size type in snapshot content
Change the restore size to int64 for snapshot content. Also add the code
to update the restore size for snapshot content.
2018-09-18 12:26:18 -07:00
xushiwei 00425595
b5dff7f72f snapshot api types cleanup 2018-09-06 09:48:41 +08:00
Xing Yang
de25b16b03 Fix a typo 2018-08-22 21:22:39 -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
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
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
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
337564aeaa Address review comments in the APIs. 2018-08-14 20:45:20 -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
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