actions

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 13 Imported by: 0

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 Keeping

func Keeping() []string

Keeping returns the names of the built-in actions that keep to every kind of guard, such as --read-only and --allow-host, in alphabetical order.

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 Params

func Params(name string) ([]string, bool)

Params returns the keys the built-in action name takes in with, and false for an action that takes any key, or that is not built in.

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