travisbee

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildTracker

type BuildTracker struct {
	// contains filtered or unexported fields
}

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

type TravisBee

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

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

func (*TravisBee) ReloadOptions

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

ReloadOptions parses the config options and initializes the Bee.

func (*TravisBee) Run

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

Run executes the Bee's event loop.

type TravisBeeFactory

type TravisBeeFactory struct {
	bees.BeeFactory
	// contains filtered or unexported fields
}

TravisBeeFactory is a factory for TravisBees.

func (*TravisBeeFactory) Description

func (factory *TravisBeeFactory) Description() string

Description returns the description of this Bee.

func (*TravisBeeFactory) Events

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

Events describes the available events provided by this Bee.

func (*TravisBeeFactory) ID

func (factory *TravisBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TravisBeeFactory) Image

func (factory *TravisBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TravisBeeFactory) LogoColor

func (factory *TravisBeeFactory) LogoColor() string

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

func (*TravisBeeFactory) Name

func (factory *TravisBeeFactory) Name() string

Name returns the name of this Bee.

func (*TravisBeeFactory) New

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

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

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL