Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "create-service", Short: "Create a template service application from a list of task specs", Long: "Create a template service application from a list of task specs.\nIf no task specs are provided, the command will look for task specs in the spec folder in the target directory, adding new code or deleting as appropriate.", RunE: run, Args: cobra.ArbitraryArgs, }
Cmd is the cobra command object
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct {
TaskSpec *model.TaskSpec
CamelName string
PascalName string
InVars []Variable
OutVars []Variable
FromFile string
}
Function represents a single service task function.
func (Function) ReceiverIn ¶
ReceiverIn returns the receiver representation of the function's input parameters.'
func (Function) ReceiverOut ¶
ReceiverOut returns the receiver representation of the function's output parameters.'
Click to show internal directories.
Click to hide internal directories.