zrepl/daemon/snapper/manual.go
Christian Schwarz beecb4b93d WIP
2024-05-09 13:25:31 +00:00

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{}{}}
}