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

package execbee

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

Package execbee is a Bee that can launch external processes.

Index

Package Files

execbee.go execbeefactory.go

type ExecBee Uses

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

ExecBee is a Bee that can launch external processes.

func (*ExecBee) Action Uses

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

Action triggers the action passed to it.

func (*ExecBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*ExecBee) Run Uses

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

Run executes the Bee's event loop.

type ExecBeeFactory Uses

type ExecBeeFactory struct {
    bees.BeeFactory
}

ExecBeeFactory is a factory for ExecBees.

func (*ExecBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*ExecBeeFactory) Description Uses

func (factory *ExecBeeFactory) Description() string

Description returns the description of this Bee.

func (*ExecBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*ExecBeeFactory) ID Uses

func (factory *ExecBeeFactory) ID() string

ID returns the ID of this Bee.

func (*ExecBeeFactory) Image Uses

func (factory *ExecBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*ExecBeeFactory) LogoColor Uses

func (factory *ExecBeeFactory) LogoColor() string

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

func (*ExecBeeFactory) Name Uses

func (factory *ExecBeeFactory) Name() string

Name returns the name of this Bee.

func (*ExecBeeFactory) New Uses

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

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

Package execbee imports 6 packages (graph) and is imported by 14 packages. Updated 2020-06-09. Refresh now. Tools for package owners.