-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move validation from controllers to pkg/backup, pkg/restore #131
Comments
yeah, makes sense to me to put it in the library |
Internal development enhancement, but this is P1 because right now we have backup and restore logic split in 2 different packages. In addition, if anyone wants to vendor ark to do backups/restores, it's not pretty. We want a self-contained package for each. |
Here's an initial mini-design for this issue: Goals
Non-Goals
Design // <pkg/backup>
type Pipeline interface {
Execute(namespace, name string) error
}
|
Closing because it should naturally fall out of the Astrolabe work if we do that. |
Make the validation the first thing we do in Backup() and Restore(). WDYT @skriss?
The text was updated successfully, but these errors were encountered: