beehive: github.com/muesli/beehive/bees/cronbee Index | Files

package cronbee

import "github.com/muesli/beehive/bees/cronbee"

Package cronbee is a Bee that acts like a time-based job scheduler (cron).

Index

Package Files

cronbee.go cronbeefactory.go

type CronBee Uses

type CronBee struct {
    bees.Bee
    // contains filtered or unexported fields
}

CronBee is a Bee that acts like a time-based job scheduler (cron).

func (*CronBee) ReloadOptions Uses

func (mod *CronBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

func (*CronBee) Run Uses

func (mod *CronBee) Run(eventChan chan bees.Event)

Run executes the Bee's event loop.

type CronBeeFactory Uses

type CronBeeFactory struct {
    bees.BeeFactory
}

CronBeeFactory is a factory for CronBees.

func (*CronBeeFactory) Description Uses

func (factory *CronBeeFactory) Description() string

Description returns the description of this Bee.

func (*CronBeeFactory) Events Uses

func (factory *CronBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*CronBeeFactory) ID Uses

func (factory *CronBeeFactory) ID() string

ID returns the ID of this Bee.

func (*CronBeeFactory) Image Uses

func (factory *CronBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*CronBeeFactory) LogoColor Uses

func (factory *CronBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*CronBeeFactory) Name Uses

func (factory *CronBeeFactory) Name() string

Name returns the name of this Bee.

func (*CronBeeFactory) New Uses

func (factory *CronBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*CronBeeFactory) Options Uses

func (factory *CronBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Package cronbee imports 4 packages (graph) and is imported by 14 packages. Updated 2020-08-20. Refresh now. Tools for package owners.