Documentation
¶
Index ¶
- type Arg
- type Args
- func (args *Args) At(index int) *Arg
- func (args *Args) Count() int
- func (args *Args) Find(fn func(int, *Arg) bool) (int, *Arg)
- func (args *Args) ForEach(fn func(int, *Arg))
- func (args *Args) Get(name string) *Arg
- func (args *Args) Set(name string, value interface{})
- func (args *Args) SetAt(index int, value interface{})
- func (args *Args) SetWithType(name string, value interface{}, argType string)
- type BeyondContext
- func (c *BeyondContext) Exit()
- func (c *BeyondContext) Function() string
- func (c *BeyondContext) Get(key string) interface{}
- func (c *BeyondContext) IsCompleted() bool
- func (c *BeyondContext) Params() *Args
- func (c *BeyondContext) Pkg() string
- func (c *BeyondContext) Results() *Args
- func (c *BeyondContext) Set(key string, value interface{})
- func (c *BeyondContext) SetParams(args *Args) *BeyondContext
- func (c *BeyondContext) SetResults(args *Args) *BeyondContext
- func (c *BeyondContext) Type() interface{}
- func (c *BeyondContext) WithName(v string) *BeyondContext
- func (c *BeyondContext) WithPkg(v string) *BeyondContext
- func (c *BeyondContext) WithType(v interface{}) *BeyondContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arg ¶
type Arg struct {
// contains filtered or unexported fields
}
Arg contains attributes to efine an argument
type Args ¶
type Args struct {
// contains filtered or unexported fields
}
Args struct
func (*Args) SetWithType ¶
SetWithType set a value for the given argument
type BeyondContext ¶
type BeyondContext struct {
// contains filtered or unexported fields
}
BeyondContext Beyond context
func (*BeyondContext) Function ¶
func (c *BeyondContext) Function() string
Function returns the name of the function
func (*BeyondContext) Get ¶
func (c *BeyondContext) Get(key string) interface{}
Get return the argument value
func (*BeyondContext) IsCompleted ¶
func (c *BeyondContext) IsCompleted() bool
IsCompleted returns true if flow must stop
func (*BeyondContext) Params ¶
func (c *BeyondContext) Params() *Args
Params returns the input arguments
func (*BeyondContext) Results ¶
func (c *BeyondContext) Results() *Args
Results returns the output arguments
func (*BeyondContext) Set ¶
func (c *BeyondContext) Set(key string, value interface{})
Set set context value
func (*BeyondContext) SetParams ¶
func (c *BeyondContext) SetParams(args *Args) *BeyondContext
SetParams set the input arguments
func (*BeyondContext) SetResults ¶
func (c *BeyondContext) SetResults(args *Args) *BeyondContext
SetResults set the output arguments
func (*BeyondContext) WithName ¶
func (c *BeyondContext) WithName(v string) *BeyondContext
WithName set the function name
func (*BeyondContext) WithPkg ¶
func (c *BeyondContext) WithPkg(v string) *BeyondContext
WithPkg set the package
func (*BeyondContext) WithType ¶
func (c *BeyondContext) WithType(v interface{}) *BeyondContext
WithType set the function type
Click to show internal directories.
Click to hide internal directories.