Documentation ¶
Overview ¶
Package executor The API for an executor plugin.
Schemes: http Host: localhost BasePath: /api/v1 Version: 0.0.1 Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteTemplateArgs ¶
type ExecuteTemplateReply ¶
type ExecuteTemplateReply struct { Node *wfv1.NodeResult `json:"node,omitempty"` Requeue *metav1.Duration `json:"requeue,omitempty"` }
func (ExecuteTemplateReply) GetRequeue ¶
func (r ExecuteTemplateReply) GetRequeue() time.Duration
type ExecuteTemplateRequest ¶
type ExecuteTemplateRequest struct { // in: body // Required: true Body ExecuteTemplateArgs }
swagger:parameters executeTemplate
type ExecuteTemplateResponse ¶
type ExecuteTemplateResponse struct { // in: body Body ExecuteTemplateReply }
swagger:response executeTemplate
type ObjectMeta ¶
type ObjectMeta struct {
Name string `json:"name"`
}
type TemplateExecutor ¶
type TemplateExecutor interface { // swagger:route POST /template.execute executeTemplate // Responses: // 200: executeTemplate ExecuteTemplate(ctx context.Context, args ExecuteTemplateArgs, reply *ExecuteTemplateReply) error }
type Workflow ¶
type Workflow struct { // Required: true ObjectMeta ObjectMeta `json:"metadata"` }
Click to show internal directories.
Click to hide internal directories.