commands

package
v2.6.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: GPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdBase

type CmdBase struct {
	LogLevel string `short:"" long:"loglevel" description:"max log level enabled" default:"info"`
	LogFile  string `short:"" long:"logfile" description:"path to file where logs will be stored" default:""`
}

func (*CmdBase) ChangeLogLevel

func (c *CmdBase) ChangeLogLevel()

type CmdCreateTables

type CmdCreateTables struct {
	CmdBase
}

func (*CmdCreateTables) Execute

func (c *CmdCreateTables) Execute(args []string) error

type CmdQueue

type CmdQueue struct {
	Queue string `long:"queue" default:"rovers" description:"queue name"`
}

type CmdReplay

type CmdReplay struct {
	CmdBase
	CmdQueue

	Providers []string `short:"p" long:"provider" optional:"yes" description:"list of providers to execute."`
}

func (*CmdReplay) Execute

func (c *CmdReplay) Execute(args []string) error

type CmdRepoProviders

type CmdRepoProviders struct {
	CmdBase
	CmdQueue

	Providers   []string      `` /* 176-byte string literal not displayed */
	WatcherTime time.Duration `short:"t" long:"watcher-time" optional:"no" default:"1h" description:"Time to try again to get new repos"`
}

func (*CmdRepoProviders) Execute

func (c *CmdRepoProviders) Execute(args []string) error

Jump to

Keyboard shortcuts

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