Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceCmd = &cobra.Command{
Use: "service",
Short: "Service to gather data and put it into the database",
Long: `Service to gather data and put it into the database`,
}
Functions ¶
func RunInitDB ¶
func RunInitDB(args InitDBArgs) error
func RunValidateConfig ¶
func RunValidateConfig(args ValidateConfigArgs) error
Types ¶
type InitArgs ¶
type InitArgs struct { *ServiceArgs Force bool }
type InitDBArgs ¶
type InitDBArgs struct {
*ServiceArgs
}
type ServiceArgs ¶
type StartArgs ¶
type StartArgs struct {
*ServiceArgs
}
type ValidateConfigArgs ¶
type ValidateConfigArgs struct { *ServiceArgs Print bool }
Click to show internal directories.
Click to hide internal directories.