githubbee

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: 7 Imported by: 4

Documentation

Overview

Package githubbee is a Bee that can interface with GitHub

Package githubbee is a Bee that can interface with GitHub

Package githubbee is a Bee that can interface with GitHub

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubBee

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

GitHubBee is a Bee that can interface with GitHub

func (*GitHubBee) Action

func (mod *GitHubBee) Action(action bees.Action) []bees.Placeholder

Action triggers the actions passed to it.

func (*GitHubBee) ReloadOptions

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

ReloadOptions parses the config options and initializes the Bee.

func (*GitHubBee) Run

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

Run executes the Bee's event loop.

type GitHubBeeFactory

type GitHubBeeFactory struct {
	bees.BeeFactory
}

GitHubBeeFactory is a factory for GitHubBees

func (*GitHubBeeFactory) Actions

func (factory *GitHubBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*GitHubBeeFactory) Description

func (factory *GitHubBeeFactory) Description() string

Description returns the desciption of this Bee.

func (*GitHubBeeFactory) Events

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

Events describes the available events provided by this Bee.

func (*GitHubBeeFactory) ID

func (factory *GitHubBeeFactory) ID() string

ID returns the ID of this Bee.

func (*GitHubBeeFactory) Image

func (factory *GitHubBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*GitHubBeeFactory) LogoColor

func (factory *GitHubBeeFactory) LogoColor() string

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

func (*GitHubBeeFactory) Name

func (factory *GitHubBeeFactory) Name() string

Name returns the name of this Bee.

func (*GitHubBeeFactory) New

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

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

func (*GitHubBeeFactory) Options

func (factory *GitHubBeeFactory) 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