runner

package
v0.13.0-alpha.177 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(r *Runner)

func WithBigCache

func WithBigCache(cache *cache.Cache, size int) Option

func WithCaches

func WithCaches(caches ...*cache.Cache) Option

func WithFilterPlatform

func WithFilterPlatform(filterPlatform func(pf spec.Platform) bool) Option

func WithHttpClient

func WithHttpClient(httpClient *http.Client) Option

func WithLease

func WithLease(lease string) Option

func WithLogger

func WithLogger(logger *slog.Logger) Option

func WithManifestCache

func WithManifestCache(cache *cache.Cache) Option

func WithQueueClient

func WithQueueClient(queueClient *client.MessageClient) Option

func WithResumeSize

func WithResumeSize(resumeSize int) Option

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(opts ...Option) (*Runner, error)

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL