Documentation
¶
Index ¶
- func AutoAcceptShares(ev events.ShareCreated, autoAcceptDefault bool, l log.Logger, ...)
- func Execute(cfg *config.Config) error
- func GetCommands(cfg *config.Config) cli.Commands
- func Health(cfg *config.Config) *cli.Command
- func ListenForEvents(ctx context.Context, cfg *config.Config, l log.Logger) error
- func Server(cfg *config.Config) *cli.Command
- func Version(cfg *config.Config) *cli.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoAcceptShares ¶
func AutoAcceptShares(ev events.ShareCreated, autoAcceptDefault bool, l log.Logger, gatewaySelector pool.Selectable[gateway.GatewayAPIClient], vs settingssvc.ValueService, cfg config.ServiceAccount, maxConcurrency int)
AutoAcceptShares automatically accepts shares if configured by the admin or user
func GetCommands ¶
GetCommands provides all commands for this service
func ListenForEvents ¶
ListenForEvents listens for events and acts accordingly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.