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

package efabee

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

Package efabee is a Bee that interfaces with the public EVA API.

Index

Package Files

efabee.go efabeefactory.go

type EFABee Uses

type EFABee struct {
    bees.Bee

    Provider string
    // contains filtered or unexported fields
}

EFABee is a Bee that interfaces with the public EVA API.

func (*EFABee) Action Uses

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

Action triggers the action passed to it.

func (*EFABee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*EFABee) Run Uses

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

Run executes the Bee's event loop.

type EFABeeFactory Uses

type EFABeeFactory struct {
    bees.BeeFactory
}

EFABeeFactory is a factory for EFABees.

func (*EFABeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*EFABeeFactory) Description Uses

func (factory *EFABeeFactory) Description() string

Description returns the description of this Bee.

func (*EFABeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*EFABeeFactory) ID Uses

func (factory *EFABeeFactory) ID() string

ID returns the ID of this Bee.

func (*EFABeeFactory) Image Uses

func (factory *EFABeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*EFABeeFactory) LogoColor Uses

func (factory *EFABeeFactory) LogoColor() string

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

func (*EFABeeFactory) Name Uses

func (factory *EFABeeFactory) Name() string

Name returns the name of this Bee.

func (*EFABeeFactory) New Uses

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

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

func (*EFABeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package efabee imports 3 packages (graph) and is imported by 14 packages. Updated 2018-03-22. Refresh now. Tools for package owners.