Rename Size to RestoreSize
This commit is contained in:
@@ -90,9 +90,11 @@ type VolumeSnapshotStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
CreationTime *metav1.Time `json:"createdAt" protobuf:"bytes,1,opt,name=createdAt"`
|
CreationTime *metav1.Time `json:"createdAt" protobuf:"bytes,1,opt,name=createdAt"`
|
||||||
|
|
||||||
// The size of the snapshot. When restoring volume from the snapshot, the volume size
|
// When restoring volume from the snapshot, the volume size should be equal to or
|
||||||
// should be equal to or larger than its snapshot size.
|
// larger than the RestoreSize if it is specified. If RestoreSize is set to nil, it means
|
||||||
Size *resource.Quantity `json:"size" protobuf:"bytes,2,opt,name=size"`
|
// that the storage plugin does not have this information avaialble.
|
||||||
|
// +optional
|
||||||
|
RestoreSize *resource.Quantity `json:"restoreSize" protobuf:"bytes,2,opt,name=restoreSize"`
|
||||||
|
|
||||||
// Ready is set to true only if the snapshot is ready to use (e.g., finish uploading if
|
// Ready is set to true only if the snapshot is ready to use (e.g., finish uploading if
|
||||||
// there is an uploading phase) and also VolumeSnapshot and its VolumeSnapshotContent
|
// there is an uploading phase) and also VolumeSnapshot and its VolumeSnapshotContent
|
||||||
@@ -235,7 +237,9 @@ type CSIVolumeSnapshotSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
CreationTime *int64 `json:"creationTime,omitempty" protobuf:"varint,3,opt,name=creationTime"`
|
CreationTime *int64 `json:"creationTime,omitempty" protobuf:"varint,3,opt,name=creationTime"`
|
||||||
|
|
||||||
// The size of the snapshot. When restoring volume from the snapshot, the volume size
|
// When restoring volume from the snapshot, the volume size should be equal to or
|
||||||
// should be equal or larger than its snapshot size.
|
// larger than the RestoreSize if it is specified. If RestoreSize is set to nil, it means
|
||||||
Size *resource.Quantity `json:"size" protobuf:"bytes,4,opt,name=size"`
|
// that the storage plugin does not have this information avaialble.
|
||||||
|
// +optional
|
||||||
|
RestoreSize *resource.Quantity `json:"restoreSize" protobuf:"bytes,4,opt,name=restoreSize"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user