Documentation ¶
Index ¶
- Constants
- Variables
- func GetEndRunDate(runTime time.Time, window Window) (time.Time, error)
- type JobSpecTaskWindow
- type 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
Constants ¶
View Source
const ( HoursInDay = 24 HoursInMonth = HoursInDay * 30 )
Variables ¶
View Source
var ( ErrNoSuchSpec = errors.New("spec not found") ErrNoJobs = errors.New("no job found") ErrNoResources = errors.New("no resources found") )
View Source
var ErrUnsupportedPlugin = errors.New("unsupported plugin requested, make sure its correctly installed")
Functions ¶
Types ¶
type JobSpecTaskWindow ¶
type PluginRepository ¶
type PluginRepository struct {
// contains filtered or unexported fields
}
func NewPluginRepository ¶
func NewPluginRepository() *PluginRepository
func (*PluginRepository) AddBinary ¶
func (s *PluginRepository) AddBinary(drMod plugin.DependencyResolverMod) error
func (*PluginRepository) GetAll ¶
func (s *PluginRepository) GetAll() []*plugin.Plugin
func (*PluginRepository) GetByName ¶
func (s *PluginRepository) GetByName(name string) (*plugin.Plugin, error)
func (*PluginRepository) GetHooks ¶
func (s *PluginRepository) GetHooks() []*plugin.Plugin
func (*PluginRepository) GetTasks ¶
func (s *PluginRepository) GetTasks() []*plugin.Plugin
Click to show internal directories.
Click to hide internal directories.