Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoName = errors.New("No name specified")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Manifest ¶
type Manifest struct { Name string `yaml:"name"` Type string `yaml:"type"` Permissions Permissions `yaml:"permissions"` Prometheus bool `yaml:"prometheus"` }
func ParseManifestFromFile ¶
path should be the path to the plugin, not directly to the manifest
type Permissions ¶
type Permissions struct { Container struct { Network bool `yaml:"network"` } `yaml:"container"` App struct { Javascript bool `yaml:"javascript"` Forms bool `yaml:"forms"` Storage struct { Enabled bool `yaml:"enabled"` ReadWrite bool `yaml:"readwrite"` WholeStore bool `yaml:"wholestore"` } `yaml:"storage"` FileOpener map[string]string `yaml:"file_opener"` } `yaml:"app"` }
type PluginInterface ¶
type RunOptions ¶
type RunnerFactory ¶
type RunnerFactory interface { Create(opts *RunOptions) (Runner, error) // contains filtered or unexported methods }
func GetRunnerFactory ¶
func GetRunnerFactory(name string) (RunnerFactory, error)
type Stdout ¶
type Stdout struct {
// contains filtered or unexported fields
}
func (*Stdout) Channel ¶
func (s *Stdout) Channel() *StdoutChannel
func (*Stdout) Reader ¶
func (s *Stdout) Reader() io.ReadCloser
type StdoutChannel ¶
type StdoutChannel struct {
// contains filtered or unexported fields
}
func (*StdoutChannel) Channel ¶
func (c *StdoutChannel) Channel() <-chan []byte
func (*StdoutChannel) Close ¶
func (c *StdoutChannel) Close() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.