Files
zot/pkg/extensions/sync/on_demand_disabled.go
T
2023-09-05 09:48:56 -07:00

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