embed

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package embed provides yaml discovery with embed actions definition.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TarGzEmbedActions

func TarGzEmbedActions(f io.Writer, actions []*action.Action) error

TarGzEmbedActions tars and gzip action files to a file f.

func UntarFsBytes

func UntarFsBytes(t []byte) (fs.FS, error)

UntarFsBytes unzip and untar bytes to in-memory FS.

Types

type Plugin

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

Plugin is a plugin to discover actions defined in yaml.

func (*Plugin) Generate

func (p *Plugin) Generate(buildPath string, workDir string) (*launchr.PluginGeneratedData, error)

Generate implements launchr.GeneratePlugin interface.

func (*Plugin) OnAppInit

func (p *Plugin) OnAppInit(app 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.

Jump to

Keyboard shortcuts

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