monexec

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillDefaultExecutable added in v0.1.5

func FillDefaultExecutable(exec *pool.Executable)

Types

type Config added in v0.1.5

type Config struct {
	Services []pool.Executable      `yaml:"services"`
	Plugins  map[string]interface{} `yaml:",inline"` // all unparsed means plugins
	// contains filtered or unexported fields
}

func DefaultConfig added in v0.1.5

func DefaultConfig() Config

func LoadConfig added in v0.1.5

func LoadConfig(locations ...string) (*Config, error)

func (*Config) ClosePlugins added in v0.1.6

func (c *Config) ClosePlugins()

func (*Config) MergeFrom added in v0.1.5

func (c *Config) MergeFrom(other *Config) error

func (*Config) Run added in v0.1.5

func (config *Config) Run(sv *pool.Pool, ctx context.Context) error

Jump to

Keyboard shortcuts

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