Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadOpts = errors.New("failed to type case IOptions")
)
Functions ¶
This section is empty.
Types ¶
type DebrickedOptions ¶ added in v1.7.7
type IResolution ¶
type IResolver ¶
type IResolver interface {
Resolve(paths []string, options IOptions) (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) GetJobErrorCount ¶ added in v1.7.10
func (r Resolution) GetJobErrorCount() int
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) GetExitCode ¶ added in v1.7.10
func (r Resolver) GetExitCode(resolution IResolution, options IOptions) (int, error)
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
type StrictnessLevel ¶ added in v1.7.10
type StrictnessLevel int
const ( NoFail StrictnessLevel = iota FailIfAllFail FailIfAnyFail FailOrWarn )
func GetStrictnessLevel ¶ added in v1.7.10
func GetStrictnessLevel(level int) (StrictnessLevel, error)
Click to show internal directories.
Click to hide internal directories.