yamldiscovery

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package yamldiscovery implements a launchr plugin to discover actions defined in yaml.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin is a launchr.Plugin to discover actions defined in yaml.

func (Plugin) DiscoverActions added in v0.5.4

func (p Plugin) DiscoverActions(ctx context.Context, fs launchr.ManagedFS, idp action.IDProvider) ([]*action.Action, error)

DiscoverActions implements action.DiscoveryPlugin interface.

func (Plugin) OnAppInit

func (p Plugin) OnAppInit(_ launchr.App) error

OnAppInit implements launchr.Plugin interface to provide discovered actions.

func (Plugin) PluginInfo

func (p Plugin) PluginInfo() launchr.PluginInfo

PluginInfo implements launchr.Plugin interface.

Directories

Path Synopsis
Package embed provides yaml discovery with embed actions definition.
Package embed provides yaml discovery with embed actions definition.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL