Documentation
¶
Index ¶
Constants ¶
View Source
const (
BATCH_SIZE int = 8
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Log clog.PluggableLoggerInterface Mirror mirror.MirrorInterface Manifest manifest.ManifestInterface }
func (*Batch) Worker ¶
func (o *Batch) Worker(ctx context.Context, images []v1alpha3.CopyImageSchema, opts mirror.CopyOptions) error
Worker - the main batch processor
type BatchInterface ¶
type BatchInterface interface {
Worker(ctx context.Context, images []v1alpha3.CopyImageSchema, opts mirror.CopyOptions) error
}
func New ¶
func New(log clog.PluggableLoggerInterface, mirror mirror.MirrorInterface, manifest manifest.ManifestInterface, ) BatchInterface
Click to show internal directories.
Click to hide internal directories.