diff --git a/src/pkg/control/options.go b/src/pkg/control/options.go index f9dbc20fe..c8a923cea 100644 --- a/src/pkg/control/options.go +++ b/src/pkg/control/options.go @@ -24,3 +24,16 @@ func Defaults() Options { FailFast: true, } } + +// RestoreDestination is a POD that contains an override of the resource owner +// to restore data under and the name of the root of the restored container +// hierarchy. +type RestoreDestination struct { + // ResourceOwnerOverride overrides the default resource owner to restore to. + // If it is not populated items should be restored under the previous resource + // owner of the item. + ResourceOwnerOverride string + // ContainerName is the name of the root of the restored container hierarchy. + // This field must be populated for a restore. + ContainerName string +}