external

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecOutputGetter

type ExecOutputGetter interface {
	GetExecOutput(req []byte, path string) ([]byte, error)
}

ExecOutputGetter is an interface that implements the exec output method.

type OsWdGetter

type OsWdGetter interface {
	GetCurrentDir() (string, error)
}

OsWdGetter is an interface that implements the get current directory method.

type Plugin

type Plugin struct {
	PName                     string
	PVersion                  plugin.Version
	PSupportedProjectVersions []config.Version

	Path string
	Args []string
}

Plugin implements the plugin.Full interface

func (Plugin) DeprecationWarning

func (p Plugin) DeprecationWarning() string

func (Plugin) GetCreateAPISubcommand

func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand

GetCreateAPISubcommand will return the subcommand which is responsible for scaffolding apis

func (Plugin) GetCreateWebhookSubcommand

func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubcommand

GetCreateWebhookSubcommand will return the subcommand which is responsible for scaffolding webhooks

func (Plugin) GetEditSubcommand

func (p Plugin) GetEditSubcommand() plugin.EditSubcommand

GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project

func (Plugin) GetInitSubcommand

func (p Plugin) GetInitSubcommand() plugin.InitSubcommand

GetInitSubcommand will return the subcommand which is responsible for initializing and common scaffolding

func (Plugin) Name

func (p Plugin) Name() string

Name returns the name of the plugin

func (Plugin) SupportedProjectVersions

func (p Plugin) SupportedProjectVersions() []config.Version

SupportedProjectVersions returns an array with all project versions supported by the plugin

func (Plugin) Version

func (p Plugin) Version() plugin.Version

Version returns the version of the plugin

Jump to

Keyboard shortcuts

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