Documentation
¶
Index ¶
- Constants
- type Context
- func (c *Context) ConversionJob(registerer prometheus.Registerer) jobloop.Job
- func (c *Context) DeliveryJob(registerer prometheus.Registerer) jobloop.Job
- func (c *Context) GarbageCollectionJob(registerer prometheus.Registerer) jobloop.Job
- func (c *Context) OverrideTimeNow(now func() time.Time) *Context
Constants ¶
View Source
const (
ConversionRetryInterval = 2 * time.Minute
)
View Source
const (
DeliveryRetryInterval = 2 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Config tenso.Configuration
DB *gorp.DbMap
// contains filtered or unexported fields
}
Context holds things used by the various task implementations in this package.
func NewContext ¶
func NewContext(cfg tenso.Configuration, db *gorp.DbMap) *Context
func (*Context) ConversionJob ¶
func (c *Context) ConversionJob(registerer prometheus.Registerer) jobloop.Job
func (*Context) DeliveryJob ¶
func (c *Context) DeliveryJob(registerer prometheus.Registerer) jobloop.Job
func (*Context) GarbageCollectionJob ¶
func (c *Context) GarbageCollectionJob(registerer prometheus.Registerer) jobloop.Job
Click to show internal directories.
Click to hide internal directories.