yamldiscovery

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const ID = "actions.yamldiscovery"

ID is a plugin id.

Variables

View Source
var DiscoveredActionsGroup = &cobra.Group{
	ID:    "discovered_actions",
	Title: "Discovered actions:",
}

DiscoveredActionsGroup is a cobra command group definition

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin is a plugin to discover actions defined in yaml.

func (*Plugin) CobraAddCommands

func (p *Plugin) CobraAddCommands(rootCmd *cobra.Command) error

CobraAddCommands implements launchr.CobraPlugin interface to provide discovered actions.

func (*Plugin) InitApp

func (p *Plugin) InitApp(app *launchr.App) error

InitApp 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