Help us shape the future of Go! Take the 2026 Go Developer Survey

plugincmd

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package plugincmd exposes a core resource plugin as an eru binary plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(binaryName, pluginName, usage, configPath string, newPlugin Factory)

Main runs the command tree of a resource plugin binary and exits on failure.

Types

type Factory

type Factory func(ctx context.Context, config coretypes.Config) (plugins.Plugin, error)

Factory builds the plugin a command tree drives.

Jump to

Keyboard shortcuts

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