tail

package
v1.6.11 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRegion is the default region to use.
	DefaultRegion = region.US

	// Interval is the interval between each request to fetch events.
	Interval = 3 * time.Second
)

Variables

This section is empty.

Functions

func NewTailCmd

func NewTailCmd(f *cmdutil.Factory, runF func(*TailOptions) error) *cobra.Command

NewTailCmd returns a new command for tailing events.

Types

type TailOptions

type TailOptions struct {
	Config config.IConfig
	IO     *iostreams.IOStreams

	SearchClient func() (*search.Client, error)

	Region string

	PrintFlags *cmdutil.PrintFlags
}

TailOptions contains all the options for the `events tail` command.

Jump to

Keyboard shortcuts

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