Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "cronitor", Short: shortDescription(Version), Long: shortDescription(Version) + ` Command line tools for Cronitor.io. See https://cronitor.io/docs/using-cronitor-cli for details.`, }
RootCmd represents the base command when called without any subcommands
View Source
var Version string = "30.4"
Functions ¶
Types ¶
type ConfigFile ¶
type ExistingMonitors ¶
type ExistingMonitors struct { Monitors []lib.MonitorSummary Names []string CurrentKey string CurrentCode string }
func (ExistingMonitors) AddName ¶
func (em ExistingMonitors) AddName(name string)
func (ExistingMonitors) GetNameForCurrent ¶
func (em ExistingMonitors) GetNameForCurrent() (string, error)
func (ExistingMonitors) HasMonitorByName ¶
func (em ExistingMonitors) HasMonitorByName(name string) bool
type StatusMonitor ¶
type StatusMonitors ¶
type StatusMonitors struct {
Monitors []StatusMonitor `json:"monitors"`
}
Click to show internal directories.
Click to hide internal directories.