MCPcopy Create free account
hub / github.com/opencloud-eu/opencloud / GetCommands

Function GetCommands

services/postprocessing/pkg/command/root.go:13–25  ·  view source on GitHub ↗

GetCommands provides all commands for this service

(cfg *config.Config)

Source from the content-addressed store, hash-verified

11
12// GetCommands provides all commands for this service
13func GetCommands(cfg *config.Config) []*cobra.Command {
14 return []*cobra.Command{
15 // start this service
16 Server(cfg),
17
18 // interaction with this service
19 RestartPostprocessing(cfg),
20
21 // infos about this service
22 Health(cfg),
23 Version(cfg),
24 }
25}
26
27// Execute is the entry point for the postprocessing command.
28func Execute(cfg *config.Config) error {

Callers 1

ExecuteFunction · 0.70

Calls 4

RestartPostprocessingFunction · 0.85
ServerFunction · 0.70
HealthFunction · 0.70
VersionFunction · 0.70

Tested by

no test coverage detected