component: Add 'Snapshottable' component
This commit is contained in:
parent
1dac09bc03
commit
b6c36b5488
7 changed files with 28 additions and 13 deletions
|
|
@ -11,7 +11,7 @@ func (*Control) BackupName() string {
|
|||
}
|
||||
|
||||
// Backup backups all control plane configuration files into dest
|
||||
func (control *Control) Backup(context component.BackupContext) error {
|
||||
func (control *Control) Backup(context component.StagingContext) error {
|
||||
files := control.backupFiles()
|
||||
|
||||
return context.AddDirectory("", func() error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue