command

package
v1.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

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 Execute

func Execute(cfg *config.Config) error

Execute is the entry point for the opencloud-frontend command.

func GetCommands

func GetCommands(cfg *config.Config) cli.Commands

GetCommands provides all commands for this service

func Health

func Health(cfg *config.Config) *cli.Command

Health is the entrypoint for the health command.

func ListenForEvents

func ListenForEvents(ctx context.Context, cfg *config.Config, l log.Logger) error

ListenForEvents listens for events and acts accordingly

func Server

func Server(cfg *config.Config) *cli.Command

Server is the entry point for the server command.

func Version

func Version(cfg *config.Config) *cli.Command

Version prints the service versions of all running instances.

Types

This section is empty.

Jump to

Keyboard shortcuts

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