beehive: Index | Files

package travisbee

import ""

Package travisbee is a bee for monitoring and reacting to the status of TravisCI builds.


Package Files

travisbee.go travisbeefactory.go

type BuildTracker Uses

type BuildTracker struct {
    // contains filtered or unexported fields

BuildTracker is a marker struct to denote "tracked builds" that TravisBee cares about.

type TravisBee Uses

type TravisBee struct {
    // contains filtered or unexported fields

TravisBee is a bee for monitoring and reacting to the status of TravisCI builds.

func (*TravisBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*TravisBee) Run Uses

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

Run executes the Bee's event loop.

type TravisBeeFactory Uses

type TravisBeeFactory struct {
    // contains filtered or unexported fields

TravisBeeFactory is a factory for TravisBees.

func (*TravisBeeFactory) Description Uses

func (factory *TravisBeeFactory) Description() string

Description returns the description of this Bee.

func (*TravisBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*TravisBeeFactory) ID Uses

func (factory *TravisBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TravisBeeFactory) Image Uses

func (factory *TravisBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TravisBeeFactory) LogoColor Uses

func (factory *TravisBeeFactory) LogoColor() string

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

func (*TravisBeeFactory) Name Uses

func (factory *TravisBeeFactory) Name() string

Name returns the name of this Bee.

func (*TravisBeeFactory) New Uses

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

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

func (*TravisBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package travisbee imports 4 packages (graph) and is imported by 3 packages. Updated 2019-05-05. Refresh now. Tools for package owners.