beehive: Index | Files

package githubbee

import ""

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


Package Files

events.go githubbee.go githubbeefactory.go

type GitHubBee Uses

type GitHubBee struct {
    // contains filtered or unexported fields

GitHubBee is a Bee that can interface with GitHub

func (*GitHubBee) Action Uses

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

Action triggers the actions passed to it.

func (*GitHubBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*GitHubBee) Run Uses

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

Run executes the Bee's event loop.

type GitHubBeeFactory Uses

type GitHubBeeFactory struct {

GitHubBeeFactory is a factory for GitHubBees

func (*GitHubBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*GitHubBeeFactory) Description Uses

func (factory *GitHubBeeFactory) Description() string

Description returns the desciption of this Bee.

func (*GitHubBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*GitHubBeeFactory) ID Uses

func (factory *GitHubBeeFactory) ID() string

ID returns the ID of this Bee.

func (*GitHubBeeFactory) Image Uses

func (factory *GitHubBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*GitHubBeeFactory) LogoColor Uses

func (factory *GitHubBeeFactory) LogoColor() string

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

func (*GitHubBeeFactory) Name Uses

func (factory *GitHubBeeFactory) Name() string

Name returns the name of this Bee.

func (*GitHubBeeFactory) New Uses

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 Uses

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

Options returns the options available to configure this Bee.

Package githubbee imports 7 packages (graph) and is imported by 12 packages. Updated 2021-01-26. Refresh now. Tools for package owners.