Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var API api.API
API objects
View Source
var RootCmd = &cobra.Command{ Use: "mdcloud", Short: "Metadefender Cloud API wrapper", PersistentPreRun: func(cmd *cobra.Command, args []string) { switch formatter { case "json": logrus.SetFormatter(&logrus.JSONFormatter{}) case "logstash": logrus.SetFormatter(&logstash.LogstashFormatter{}) case "text": logrus.SetFormatter(&prettyf.TextFormatter{}) } }, }
RootCmd represents the base command when called without any subcommands
View Source
var VERSION string
VERSION for build
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.