task

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	Key   string
	Value interface{}
}

Argument is key value struct that should be passed in a service call

type Metadata

type Metadata struct {
	Name string
}

Metadata holds all the metadata of a pipeline

type Spec

type Spec struct {
	Service   string
	Endpoint  string
	Arguments []Argument
}

Spec is the spec of a task

type Task

type Task struct {
	Metadata Metadata
	Spec     Spec
}

Task is a task a pipeline should execute

Jump to

Keyboard shortcuts

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