Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "daemon", Short: "Run the Akita client daemon.", SilenceUsage: true, Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, _ []string) error { plugins, err := pluginloader.Load(pluginsFlag) if err != nil { return errors.Wrap(err, "Failed to load plugins") } args := daemon.Args{ ClientID: telemetry.GetClientID(), Domain: rest.Domain, DaemonName: nameFlag, PortNumber: portNumberFlag, Plugins: plugins, } if err := daemon.Run(args); err != nil { return cmderr.AkitaErr{Err: err} } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.