RIAv2 async operations controller work

Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
Scott Seago
2023-03-17 14:30:39 -04:00
parent 117d5e846f
commit 2155b2b215
33 changed files with 1478 additions and 79 deletions
@@ -199,3 +199,9 @@ func (c *RestoreItemActionGRPCClient) AreAdditionalItemsReady(additionalItems []
return res.Ready, nil
}
// This shouldn't be called on the GRPC client since the RestartableRestoreItemAction won't delegate
// this method
func (c *RestoreItemActionGRPCClient) Name() string {
return ""
}
@@ -263,3 +263,9 @@ func restoreResourceIdentifierToProto(id velero.ResourceIdentifier) *proto.Resou
Name: id.Name,
}
}
// This shouldn't be called on the GRPC server since the server won't ever receive this request, as
// the RestartableRestoreItemAction in Velero won't delegate this to the server
func (c *RestoreItemActionGRPCServer) Name() string {
return ""
}