command

package
v0.0.0-...-767721b Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2015 License: GPL-2.0 Imports: 17 Imported by: 2

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

type ListingVisitor struct {
	Out io.Writer // Destination for output.
}

ListingVisitor provides listing of available crash reports.

func (ListingVisitor) NewError

func (self ListingVisitor) NewError(err error)

func (ListingVisitor) NewReport

func (self ListingVisitor) NewReport(name string, report crash.Report)

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)

func (UploadingVisitor) NewReport

func (self UploadingVisitor) NewReport(name string, report crash.Report)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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