MCPcopy
hub / github.com/opencloud-eu/opencloud / GetCommands

Function GetCommands

services/idp/pkg/command/root.go:13–24  ·  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
20 // infos about this service
21 Health(cfg),
22 Version(cfg),
23 }
24}
25
26// Execute is the entry point for the opencloud-idp command.
27func Execute(cfg *config.Config) error {

Callers 1

ExecuteFunction · 0.70

Calls 3

ServerFunction · 0.70
HealthFunction · 0.70
VersionFunction · 0.70

Tested by

no test coverage detected