commands

package
v0.0.0-...-3c039c4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Overview

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Package commands contains the fleet console CLI.

Index

Constants

This section is empty.

Variables

View Source
var GetDeviceCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "get-device [options...]",
	ShortDesc: "",
	LongDesc:  "",
	CommandRun: func() subcommands.CommandRun {
		c := &getDeviceCommand{}
		c.Init()
		c.Flags.StringVar(&c.name, "name", "", "name of the device to ping")
		c.Flags.StringVar(&c.mode, "mode", "default", `how to ping DM {"default", "direct"}`)
		return c
	},
}
View Source
var ListDevicesCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "list-devices [options...]",
	ShortDesc: "",
	LongDesc:  "",
	CommandRun: func() subcommands.CommandRun {
		c := &listDevicesCommand{}
		c.Init()
		c.Flags.StringVar(&c.mode, "mode", "default", `how to ping DM {"default", "direct"}`)
		return c
	},
}
View Source
var PingBigQueryCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping-bq [options...]",
	ShortDesc: "ping a big query service",
	LongDesc:  "Ping a big query service",
	CommandRun: func() subcommands.CommandRun {
		c := &pingBigQueryQueryCommand{}
		c.Init()
		return c
	},
}

PingBigQueryCommand pings the service.

View Source
var PingCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping [options...]",
	ShortDesc: "ping a fleet console instance",
	LongDesc:  "Ping a fleet console instance",
	CommandRun: func() subcommands.CommandRun {
		c := &pingCommand{}
		c.Init()
		return c
	},
}

PingCommand pings the service.

View Source
var PingDBCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping-db [options...]",
	ShortDesc: "ping the db",
	LongDesc:  "ping the db",
	CommandRun: func() subcommands.CommandRun {
		c := &pingDBCommand{}
		c.Init()
		return c
	},
}

PingDBCommand tries to ping the database.

View Source
var PingDeviceManagerCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping-dm [options...]",
	ShortDesc: "ping device manager through a fleet console instance",
	LongDesc:  "Ping device manager through a fleet console instance",
	CommandRun: func() subcommands.CommandRun {
		c := &pingDeviceManagerCommand{}
		c.Init()
		c.Flags.StringVar(&c.mode, "mode", "default", `how to ping DM {"default", "direct"}`)
		return c
	},
}

PingDeviceManagerCommand pings device manager, via the Console UI server by default.

View Source
var PingUFSCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping-ufs [options...]",
	ShortDesc: "ping UFS through a fleet console instance",
	LongDesc:  "Ping UFS through a fleet console instance",
	CommandRun: func() subcommands.CommandRun {
		c := &pingUFSCommand{}
		c.Init()
		c.Flags.StringVar(&c.mode, "mode", "default", `how to ping UFS {"default", "direct"}`)
		return c
	},
}

PingUFSCommand pings ufs, via the Console UI server by default.

View Source
var PingUICommand *subcommands.Command = &subcommands.Command{
	UsageLine: "ping-ui [options...]",
	ShortDesc: "ping the UI",
	LongDesc:  "ping the UI",
	CommandRun: func() subcommands.CommandRun {
		c := &pingUICommand{}
		c.Init()
		return c
	},
}

PingUICommand pings the service.

View Source
var RepopulateCacheCommand *subcommands.Command = &subcommands.Command{
	UsageLine: "repopulate-cache [options...]",
	ShortDesc: "repopulate the cache",
	LongDesc:  "repopulate the cache",
	CommandRun: func() subcommands.CommandRun {
		c := &repopulateCacheCommand{}
		c.Init()
		return c
	},
}

RepopulateCacheCommand manually triggers a job to repopulate the cache.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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