resolution

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IResolution

type IResolution interface {
	Jobs() []job.IJob
	HasErr() bool
}

type IResolver

type IResolver interface {
	Resolve(paths []string, exclusions []string) (IResolution, error)
}

type IScheduler

type IScheduler interface {
	Schedule(jobs []job.IJob) (IResolution, error)
}

type Resolution

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

func NewResolution

func NewResolution(jobs []job.IJob) Resolution

func (Resolution) HasErr

func (r Resolution) HasErr() bool

func (Resolution) Jobs

func (r Resolution) Jobs() []job.IJob

type Resolver

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

func NewResolver

func NewResolver(
	finder file.IFinder,
	batchFactory resolutionFile.IBatchFactory,
	strategyFactory strategy.IFactory,
	scheduler IScheduler,
) Resolver

func (Resolver) Resolve

func (r Resolver) Resolve(paths []string, exclusions []string) (IResolution, error)

type Scheduler

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

func NewScheduler

func NewScheduler(workers int) *Scheduler

func (*Scheduler) Schedule

func (scheduler *Scheduler) Schedule(jobs []job.IJob) (IResolution, error)

Directories

Path Synopsis
pm
pip

Jump to

Keyboard shortcuts

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