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 ¶
- func AllParams() map[string][]string
- func AllReqFields() map[string][]string
- func AllReqTypes() map[string]map[string]string
- func AllRequired() map[string][][]string
- func AllResFields() map[string][]string
- func AllResTypes() map[string]map[string]string
- func CheckOptions() probe.CheckOptions
- func Configure(c *probe.Config)
- func Contracts() map[string][]string
- func Keeps() map[string][]string
- func Lookup(name string) (func(), bool)
- func Names() []string
- func NeedsNoCheck() []string
- func WithFields() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllParams ¶
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
AllReqFields returns the fields of the req each built-in action returns, by its name.
func AllReqTypes ¶ added in v1.30.0
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
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
AllResFields returns the fields of the res each built-in action returns, by its name.
func AllResTypes ¶ added in v1.30.0
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
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
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 ¶
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 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
|
|