snapshot

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSnapshotCmd

func NewSnapshotCmd() *cobra.Command

Types

type SnapshotGadget

type SnapshotGadget[Event commonsnapshot.SnapshotEvent] struct {
	commonsnapshot.SnapshotGadgetPrinter[Event]
	// contains filtered or unexported fields
}

SnapshotGadget represents a gadget belonging to the snapshot category.

func (*SnapshotGadget[Event]) Run

func (g *SnapshotGadget[Event]) Run() error

Run runs a SnapshotGadget and prints the output after parsing it using the SnapshotParser's methods.

Jump to

Keyboard shortcuts

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