mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-30 19:55:36 +00:00
data mover ms new controller
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -111,6 +111,12 @@ func (d *DataDownloadBuilder) ObjectMeta(opts ...ObjectMetaOpt) *DataDownloadBui
|
||||
return d
|
||||
}
|
||||
|
||||
// Labels sets the DataDownload's Labels.
|
||||
func (d *DataDownloadBuilder) Labels(labels map[string]string) *DataDownloadBuilder {
|
||||
d.object.Labels = labels
|
||||
return d
|
||||
}
|
||||
|
||||
// StartTimestamp sets the DataDownload's StartTimestamp.
|
||||
func (d *DataDownloadBuilder) StartTimestamp(startTime *metav1.Time) *DataDownloadBuilder {
|
||||
d.object.Status.StartTimestamp = startTime
|
||||
|
||||
Reference in New Issue
Block a user