action

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEngineAction

func NewEngineAction(
	ctx context.Context,
	options Options,
	cfg config.CanopsisConf,
	mongoClient mongo.DbClient,
	amqpConnection amqp.Connection,
	webhookRpcClient engine.RPCClient,
	rpcPublishQueues []string,
	logger zerolog.Logger,
) engine.Engine

NewEngineAction returns the default Action engine with default connections.

Types

type DependencyMaker

type DependencyMaker struct {
	depmake.DependencyMaker
}

DependencyMaker can be created with DependencyMaker{}

type Options

type Options struct {
	Version                  bool
	ModeDebug                bool
	FifoAckQueue             string
	FifoAckExchange          string
	FeaturePrintEventOnError bool
	PeriodicalWaitTime       time.Duration
	WorkerPoolSize           int
	LastRetryInterval        time.Duration
}

func ParseOptions

func ParseOptions() Options

Jump to

Keyboard shortcuts

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