execplugin

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecPlugin

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

ExecPlugin record the name and args of an executable It triggers the executable generator and transformer

func NewExecPlugin

func NewExecPlugin(p string) *ExecPlugin

func (*ExecPlugin) Args

func (p *ExecPlugin) Args() []string

func (*ExecPlugin) Cfg

func (p *ExecPlugin) Cfg() []byte

func (*ExecPlugin) Config

func (p *ExecPlugin) Config(h *resmap.PluginHelpers, config []byte) error

func (*ExecPlugin) ErrIfNotExecutable

func (p *ExecPlugin) ErrIfNotExecutable() error

func (*ExecPlugin) Generate

func (p *ExecPlugin) Generate() (resmap.ResMap, error)

func (*ExecPlugin) Path

func (p *ExecPlugin) Path() string

func (*ExecPlugin) Transform

func (p *ExecPlugin) Transform(rm resmap.ResMap) error

Jump to

Keyboard shortcuts

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