mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
fix prepare timeout issue
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -118,6 +118,12 @@ func (d *DataDownloadBuilder) Labels(labels map[string]string) *DataDownloadBuil
|
||||
return d
|
||||
}
|
||||
|
||||
// Annotations sets the DataDownload's Annotations.
|
||||
func (d *DataDownloadBuilder) Annotations(annotations map[string]string) *DataDownloadBuilder {
|
||||
d.object.Annotations = annotations
|
||||
return d
|
||||
}
|
||||
|
||||
// StartTimestamp sets the DataDownload's StartTimestamp.
|
||||
func (d *DataDownloadBuilder) StartTimestamp(startTime *metav1.Time) *DataDownloadBuilder {
|
||||
d.object.Status.StartTimestamp = startTime
|
||||
|
||||
@@ -133,6 +133,12 @@ func (d *DataUploadBuilder) Labels(labels map[string]string) *DataUploadBuilder
|
||||
return d
|
||||
}
|
||||
|
||||
// Annotations sets the DataUpload's Annotations.
|
||||
func (d *DataUploadBuilder) Annotations(annotations map[string]string) *DataUploadBuilder {
|
||||
d.object.Annotations = annotations
|
||||
return d
|
||||
}
|
||||
|
||||
// Progress sets the DataUpload's Progress.
|
||||
func (d *DataUploadBuilder) Progress(progress shared.DataMoveOperationProgress) *DataUploadBuilder {
|
||||
d.object.Status.Progress = progress
|
||||
|
||||
Reference in New Issue
Block a user