executor

package
v3.6.17 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 8 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 ExecuteTemplateArgs struct {
	// Required: true
	Workflow *Workflow `json:"workflow"`
	// Required: true
	Template *wfv1.Template `json:"template"`
}

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"`
	Namespace string `json:"namespace"`
	Uid       string `json:"uid"`
}

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"`
}

Jump to

Keyboard shortcuts

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