Documentation ¶
Index ¶
- type ExecPlugin
- func (p *ExecPlugin) Args() []string
- func (p *ExecPlugin) Cfg() []byte
- func (p *ExecPlugin) Config(h *resmap.PluginHelpers, config []byte) error
- func (p *ExecPlugin) ErrIfNotExecutable() error
- func (p *ExecPlugin) Generate() (resmap.ResMap, error)
- func (p *ExecPlugin) Path() string
- func (p *ExecPlugin) Transform(rm resmap.ResMap) error
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) Path ¶
func (p *ExecPlugin) Path() string
Click to show internal directories.
Click to hide internal directories.