cmds

package
v0.0.0-...-2bee59a Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdAmqp = &cobra.Command{
	Use:   "amqp",
	Short: "AMQP commands",
}
View Source
var CmdAmqpConnections = &cobra.Command{
	Use:   "connections",
	Short: "Connections",
	Run:   cmdAmqpConnections,
}
View Source
var CmdAmqpInstall = &cobra.Command{
	Use:   "install",
	Short: "Install",
	Run:   cmdInstall,
}
View Source
var CmdGitPull = &cobra.Command{
	Use:   "gitpull",
	Short: "Trigger drones to pull git repos",
	Run:   runGitPull,
}
View Source
var CmdListenNodeHeartbeats = &cobra.Command{
	Use:     "heartbeats",
	Aliases: []string{"hb"},
	Run:     nodeList,
}
View Source
var CmdMsgTail = &cobra.Command{
	Use:   "messages",
	Short: "Message Tail",
	Run:   msgTail,
}
View Source
var CmdPing = &cobra.Command{
	Use:   "ping",
	Short: "Ping everything",
	Run:   runPing,
}
View Source
var CmdRequest = &cobra.Command{
	Use:     "request",
	Aliases: []string{"req", "get"},
	Short:   "Send requests to the AMQP network",
}
View Source
var CmdRequestExecution = &cobra.Command{
	Use:     "execution",
	Aliases: []string{"exec"},
	Short:   "Request drones execute a command",
	Run:     runReqExec,
}
View Source
var CmdRequestUpdate = &cobra.Command{
	Use:   "update",
	Short: "Send update request",
	Run:   runRequestUpdate,
}
View Source
var CmdServicesReport = &cobra.Command{
	Use:     "services",
	Aliases: []string{"svc"},
	Short:   "Services Commands",
}
View Source
var CmdStatus = &cobra.Command{
	Use:     "status",
	Short:   "Status",
	Aliases: []string{"st"},
	Run:     runReport,
}
View Source
var ConfigCmd = &cobra.Command{
	Use:   "config",
	Short: "Get config",
	Run: func(cmd *cobra.Command, args []string) {
		log.Infof("%+v", RuntimeConfig)
	},
}
View Source
var RootCmd = &cobra.Command{
	Use:   "upsilon",
	Short: "The upsilon command.",
}

Functions

This section is empty.

Types

type SeenNodes

type SeenNodes map[string]*pb.Heartbeat

Jump to

Keyboard shortcuts

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