mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 08:23:50 +01:00
18 lines
296 B
Go
18 lines
296 B
Go
package snapper
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zrepl/zrepl/daemon/job/trigger"
|
|
)
|
|
|
|
type manual struct{}
|
|
|
|
func (s *manual) Run(ctx context.Context, snapshotsTaken *trigger.Manual) {
|
|
// nothing to do
|
|
}
|
|
|
|
func (s *manual) Report() Report {
|
|
return Report{Type: TypeManual, Manual: &struct{}{}}
|
|
}
|