Versions in this module Expand all Collapse all v0 v0.7.1 Jul 25, 2023 v0.7.0 Jul 20, 2023 Changes in this version + const HoursInDay + const HoursInMonth + var ErrNoJobs = errors.New("no job found") + var ErrNoResources = errors.New("no resources found") + var ErrNoSuchSpec = errors.New("spec not found") + var ErrUnsupportedPlugin = errors.New("unsupported plugin requested, make sure its correctly installed") + func GetEndRunDate(runTime time.Time, window Window) (time.Time, error) + type JobSpecTaskWindow struct + Offset time.Duration + Size time.Duration + TruncateTo string + type PluginRepository struct + func NewPluginRepository() *PluginRepository + func (s *PluginRepository) AddBinary(drMod plugin.DependencyResolverMod) error + func (s *PluginRepository) AddYaml(yamlMod plugin.YamlMod) error + func (s *PluginRepository) GetAll() []*plugin.Plugin + func (s *PluginRepository) GetByName(name string) (*plugin.Plugin, error) + func (s *PluginRepository) GetHooks() []*plugin.Plugin + func (s *PluginRepository) GetTasks() []*plugin.Plugin + type Window interface + GetEndTime func(scheduleTime time.Time) (time.Time, error) + GetOffset func() string + GetSize func() string + GetStartTime func(scheduleTime time.Time) (time.Time, error) + GetTruncateTo func() string + GetVersion func() int + Validate func() error + func NewWindow(version int, truncateTo, offset, size string) (Window, error)