Documentation ¶
Index ¶
Constants ¶
View Source
const PluginManifestFile = "kraftkit-plugin.yaml"
View Source
const (
PluginNamePrefix = "kraftkit-"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) UpdateAvailable ¶
type PluginManager ¶
type PluginManager struct {
// contains filtered or unexported fields
}
func NewPluginManager ¶
func NewPluginManager(dataDir string, l log.Logger) *PluginManager
func (*PluginManager) Dispatch ¶
func (pm *PluginManager) Dispatch() error
func (*PluginManager) Install ¶
func (pm *PluginManager) Install(repo string) error
func (*PluginManager) InstallLocal ¶
func (pm *PluginManager) InstallLocal(repo string) error
func (*PluginManager) List ¶
func (pm *PluginManager) List() ([]Plugin, error)
type PluginManifest ¶
type PluginOption ¶
type PluginOption func(p *Plugin)
type PluginTemplateType ¶
type PluginTemplateType uint
const ( GitTemplateType PluginTemplateType = iota GoBinTemplateType OtherBinTemplateType )
Click to show internal directories.
Click to hide internal directories.