plugin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = context.Context

Context represents a scenarigo context.

type LeftArrowFunc

type LeftArrowFunc = template.Func

LeftArrowFunc represents a left arrow function.

type Step

type Step interface {
	Run(*context.Context, *schema.Step) *context.Context
}

Step represents a step plugin.

type StepFunc

type StepFunc func(ctx *context.Context, step *schema.Step) *context.Context

StepFunc is an adaptor to allow the use of ordinary functions as step.

func (StepFunc) Run

func (f StepFunc) Run(ctx *context.Context, step *schema.Step) *context.Context

Run implements Step interface.

Jump to

Keyboard shortcuts

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