Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltinModules ¶ added in v19.6.0
type BuiltinModules struct {
// contains filtered or unexported fields
}
BuiltinModules is the set of built-in modules, indexed by agent ID and by module key.
func All ¶ added in v19.2.0
func All( ctx context.Context, log *slog.Logger, marshaler prototool.Marshaler, gitLabClient gitlab.ClientInterface, eventsPublisher pubsub.Publisher, policyEvaluator policy_module.Evaluator, httpTransport http.RoundTripper, grpcTLSConfig *tls.Config, serviceResolver modtool.ServiceResolver, tm modtool.ActorTokenMinter, outboundRequests metric.Int64Counter, ) (*BuiltinModules, error)
All returns all known built-in modules.
func New ¶ added in v19.6.0
func New(modules map[int64]pkg_autoflow.Module) (*BuiltinModules, error)
New indexes the given built-in modules. The map key is the built-in module's agent ID. A built-in module's key has an empty path, so a module with a path is never matched by a built-in that shares its name. Two modules with the same name are an error.
func (*BuiltinModules) Get ¶ added in v19.6.0
func (b *BuiltinModules) Get(key api.AutoFlowModuleKey) flowcore.BuiltInModule
func (*BuiltinModules) GetByID ¶ added in v19.6.0
func (b *BuiltinModules) GetByID(agentID int64) pkg_autoflow.Module
Directories
¶
| Path | Synopsis |
|---|---|
|
Package event implements the built-in AutoFlow module that emits events to the Events Platform.
|
Package event implements the built-in AutoFlow module that emits events to the Events Platform. |
|
Package gitlab implements the built-in AutoFlow module that calls the GitLab REST API.
|
Package gitlab implements the built-in AutoFlow module that calls the GitLab REST API. |
|
Package grpc implements the built-in AutoFlow module that makes unary calls to arbitrary gRPC servers.
|
Package grpc implements the built-in AutoFlow module that makes unary calls to arbitrary gRPC servers. |
|
Package http implements the built-in AutoFlow module that calls arbitrary HTTP endpoints.
|
Package http implements the built-in AutoFlow module that calls arbitrary HTTP endpoints. |
|
Package modtool holds conversions between AutoFlow values and the pieces of an HTTP request and response, shared by the built-in modules that call an API.
|
Package modtool holds conversions between AutoFlow values and the pieces of an HTTP request and response, shared by the built-in modules that call an API. |
|
Package policy implements the built-in AutoFlow module that asks the governance decision API whether an action is allowed.
|
Package policy implements the built-in AutoFlow module that asks the governance decision API whether an action is allowed. |
|
Package service implements the built-in AutoFlow module that calls the HTTP API of a Theseus service.
|
Package service implements the built-in AutoFlow module that calls the HTTP API of a Theseus service. |
Click to show internal directories.
Click to hide internal directories.