Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2020 Changes in this version + const VersionMaster + func Generate(config *app.Config, file string, modFile string) + func Load(pattern string) (*api.Microgateway, error) + func Register(patternName string, pattern string) error + type Action struct + func (a *Action) IOMetadata() *metadata.IOMetadata + func (a *Action) Metadata() *action.Metadata + func (a *Action) Run(ctx context.Context, input map[string]interface{}) (map[string]interface{}, error) + type Factory struct + func (f *Factory) Generate(settingsName string, imports *Imports, config *action.Config) (code string, err error) + func (f *Factory) Initialize(ctx action.InitContext) error + func (f *Factory) New(config *action.Config) (action.Action, error) + type GenerateResource interface + Generate func() bool + type Generator interface + Generate func(settingsName string, imports *Imports, config *action.Config) (code string, err error) + type Import struct + Alias string + Import string + Port string + Used bool + Version string + func (i *Import) GetAlias() string + type Imports struct + Imports []*Import + func (i *Imports) Ensure(path string, options ...string) *Import + type Input struct + func (r *Input) FromMap(values map[string]interface{}) error + func (r *Input) ToMap() map[string]interface{} + type Manager struct + func (m *Manager) Generate() bool + func (m *Manager) LoadResource(config *resource.Config) (*resource.Resource, error) + type Output struct + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type Settings struct + Async bool + URI string v0.1.0-rc.1 Jan 28, 2020