0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/extensions/sync/on_demand_disabled.go
peusebiu 59dc4c3229
feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671)
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-09-05 09:48:56 -07:00

18 lines
352 B
Go

//go:build !sync
// +build !sync
package sync
import "context"
type BaseOnDemand struct{}
func (onDemand *BaseOnDemand) SyncImage(ctx context.Context, repo, reference string) error {
return nil
}
func (onDemand *BaseOnDemand) SyncReference(ctx context.Context, repo string, subjectDigestStr string,
referenceType string,
) error {
return nil
}