package
1.33.0-rc3
Repository: https://github.com/ovh/utask.git
Documentation: pkg.go.dev

# Functions

New generates a step action executor from a given plugin.
NewMetadataSchema instantiates a new metadataSchemaBuilder.
WithConfig defines the configuration struct and validation function for a plugin.
WithContext defines the context object expected by the plugin.
WithContextFunc defines a context-generating function.
WithExecutorMetadata defines a jsonschema-generating function.
WithResources defines a function indicating what resources will be needed by the plugin.
WithTags defines a function to manipulate the tags of a task.

# Constants

common metadata keys.
common metadata keys.
common metadata keys.

# Structs

MetadataSchemaBuilder is a helper to generate jsonschema for a metadata payload.
PluginExecutor is a structure to generate action executors from different implementations builtin or loaded as custom extensions.
PluginOpt is a helper struct to customize an action executor.

# Type aliases

ConfigFunc is a type of function to validate the contents of a configuration payload.
ExecFunc is a type of function to be implemented by a plugin to perform an action in a task.