provision: github.com/digitalrebar/provision/plugin Index | Files

package plugin

import "github.com/digitalrebar/provision/plugin"

Index

Package Files

plugin.go

Variables

var (
    App = &cobra.Command{
        Use:   "replaceme",
        Short: "Replace ME!",
    }
)

func InitApp Uses

func InitApp(use, short, version string, def *models.PluginProvider, pc PluginConfig)

func Log Uses

func Log(format string, args ...interface{})

func Run Uses

func Run(pc PluginConfig) error

type PluginActor Uses

type PluginActor interface {
    Action(*models.MachineAction) *models.Error
}

type PluginConfig Uses

type PluginConfig interface {
    Config(map[string]interface{}) *models.Error
}

type PluginPublisher Uses

type PluginPublisher interface {
    Publish(*models.Event) *models.Error
}

Package plugin imports 8 packages (graph). Updated 2017-09-23. Refresh now. Tools for package owners.