Files
zrepl_patched/daemon/snapper/manual.go
T
2023-12-22 14:40:53 +00:00

18 lines
295 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.Trigger {
// nothing to do
}
func (s *manual) Report() Report {
return Report{Type: TypeManual, Manual: &struct{}{}}
}