actions

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 13 Imported by: 1 module, 0 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 actions maps the action names usable in a step's `uses` to the built-in plugins that implement them.

Each built-in lives in its own package below this one and serves itself over the go-plugin protocol, exactly as an out-of-tree plugin would. This package only records which names exist, so that cmd/probe does not have to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllParams

func AllParams() map[string][]string

AllParams returns the keys each built-in action takes in with, by its name, leaving out those that take any key.

func AllReqFields added in v1.30.0

func AllReqFields() map[string][]string

AllReqFields returns the fields of the req each built-in action returns, by its name.

func AllReqTypes added in v1.30.0

func AllReqTypes() map[string]map[string]string

AllReqTypes returns the kinds of the fields of the req each built-in action returns, by its name, as number, string, bool, map or list, for probe check to report an expression that does with a field what its kind does not allow. A field left out may hold anything.

func AllRequired added in v1.30.0

func AllRequired() map[string][][]string

AllRequired returns the keys of with each built-in action cannot run without, by its name, each as the keys that stand for one another, such as url and get for the http action, of which one is enough. An action that needs none is left out.

func AllResFields added in v1.30.0

func AllResFields() map[string][]string

AllResFields returns the fields of the res each built-in action returns, by its name.

func AllResTypes added in v1.30.0

func AllResTypes() map[string]map[string]string

AllResTypes returns the kinds of the fields of the res each built-in action returns, by its name; see AllReqTypes.

func CheckOptions added in v1.30.0

func CheckOptions() probe.CheckOptions

CheckOptions returns what probe check is to know of the built-in actions. Its Manifest is left nil, so that nothing is read of an external action, from the network or elsewhere, unless the caller sets it, as to actionref.ReadManifest.

func Configure added in v1.30.0

func Configure(c *probe.Config)

Configure tells c what the engine is to know of the built-in actions: their names, which a workflow cannot give to an external action, and those whose steps pass without a test. The kinds of guard each keeps to are given with the guard, from Keeps.

func Contracts added in v1.30.0

func Contracts() map[string][]string

Contracts returns the keys of with that ask each built-in action to check a step against a contract, by its name, leaving out those that check none.

func Keeps

func Keeps() map[string][]string

Keeps returns the kinds of guard each built-in action keeps to, by its name, leaving out those that keep to none. It is what a guard's Keeps starts from.

func Lookup

func Lookup(name string) (func(), bool)

Lookup returns the serve function of a built-in action.

func Names

func Names() []string

Names returns the names of the built-in actions in alphabetical order.

func NeedsNoCheck added in v1.30.0

func NeedsNoCheck() []string

NeedsNoCheck returns, in alphabetical order, the names of the built-in actions whose steps pass without a test, such as hello, which does nothing that could fail, so that a step of it there for its echo, or to publish what it is given, is not counted as untested.

func WithFields added in v1.30.0

func WithFields() []string

WithFields returns, in alphabetical order, the names of the built-in actions whose req and res hold the keys of the step's with, besides the fields they declare, such as hello, which returns what it is given.

Types

This section is empty.

Directories

Path Synopsis
Package dns is the dns action: it asks a DNS server for the records of a name, and returns what the server answered.
Package dns is the dns action: it asks a DNS server for the records of a name, and returns what the server answered.
testserver command
testserver command

Jump to

Keyboard shortcuts

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