service

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 14 Imported by: 0

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 RunInit

func RunInit(args InitArgs) error

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 ServiceArgs struct {
	*rootCmd.RootArgs
}

type StartArgs

type StartArgs struct {
	*ServiceArgs
}

type ValidateConfigArgs

type ValidateConfigArgs struct {
	*ServiceArgs
	Print bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL