Documentation ¶
Index ¶
- Variables
- func FRun(target types.KeyManager, cmdRun types.CmdRun) (types.CmdRun, error)
- func RegisterEC(encodedConn *nats.EncodedConn)
- func SRun(cmd types.CmdRun) (types.CmdRun, error)
- type Cmd
- func (c Cmd) Apply(ctx context.Context) (types.Result, error)
- func (c Cmd) Methods() (string, []string)
- func (c Cmd) Parse(id, method string, params map[string]interface{}) (types.RecipeCooker, error)
- func (c Cmd) Properties() (map[string]interface{}, error)
- func (c Cmd) PropertiesForMethod(method string) (map[string]string, error)
- func (c Cmd) Test(ctx context.Context) (types.Result, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCmdMethodUndefined = fmt.Errorf("cmd method undefined")
Functions ¶
func RegisterEC ¶
func RegisterEC(encodedConn *nats.EncodedConn)
Types ¶
type Cmd ¶ added in v0.0.3
type Cmd struct {
// contains filtered or unexported fields
}
func (Cmd) Properties ¶ added in v0.0.3
func (Cmd) PropertiesForMethod ¶ added in v0.0.3
TODO create map for method: type
Click to show internal directories.
Click to hide internal directories.