Skip to content

StandardRunbook/plugin-interface

Repository files navigation

plugin-interface

All plugins must follow this interface:

type IPlugin interface {
	Init() error
	Name() string
	Version() string
	Run() error
	ParseOutput() string
}

You need to have installed protobuf before you run any commands in the Makefile.
For example, if you're using a mac, please run brew install protobuf before running make install.

About

interface to define all of plugins

Resources

License

Stars

Watchers

Forks

Packages

No packages published