Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dump = cli.Command{ Name: "dump", Usage: "dumps information about a crashed process", Description: `Usually used as the default core dump handler. Install in your system with 'csi install' (requires elevated privileges).`, Action: actionDump, Flags: []cli.Flag{dumpFlagVerbose, dumpFlagCrashDir, dumpFlagPid, dumpFlagUid, dumpFlagGid, dumpFlagSig, dumpFlagTime, dumpFlagHost, dumpFlagExe, dumpFlagSize}, }
View Source
var Id = cli.Command{
Name: "id",
Usage: "prints the sha512 hash of the system id",
Action: actionId,
}
Command id prints the sha512 hash of the machine/device id.
View Source
var Inspect = cli.Command{ Name: "inspect", Usage: "inspects and collects information about the system and specific characteristics", Subcommands: []cli.Command{inspect.Process, inspect.System}, }
Inspect collects information about the entire system or a specific subsystem.
View Source
var List = cli.Command{ Name: "list", Usage: "lists all crash reports on the system", Flags: []cli.Flag{listFlagCrashDir}, Action: actionList, }
View Source
var Upload = cli.Command{ Name: "upload", Usage: "uploads crash reports to the server infrastructure", Action: actionUpload, Flags: []cli.Flag{uploadFlagDest, uploadFlagCrashDir, uploadFlagCleanup}, }
Command upload uploads crash reports to the server infrastructure
Functions ¶
This section is empty.
Types ¶
type ListingVisitor ¶
ListingVisitor provides listing of available crash reports.
func (ListingVisitor) NewError ¶
func (self ListingVisitor) NewError(err error)
type UploadingVisitor ¶
type UploadingVisitor struct { CrashDir string // The directory containing crashes Out io.Writer // Destination for output Persister crash.ReportPersister // Persister provides persistence of crash reports. Cleanup bool // If true, successfully uploaded crash reports are deleted. }
func (UploadingVisitor) NewError ¶
func (self UploadingVisitor) NewError(err error)
Click to show internal directories.
Click to hide internal directories.