logs

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructLogGroupArn added in v0.0.3

func ConstructLogGroupArn(logGroupName string) (*string, error)

Types

type LogPage

type LogPage struct {
	Flex *tview.Flex
	// contains filtered or unexported fields
}

func NewLogPage

func NewLogPage(logGroupArn string) *LogPage

func (*LogPage) Close

func (l *LogPage) Close()

func (*LogPage) ContextView

func (l *LogPage) ContextView() tview.Primitive

func (*LogPage) IsPersistent

func (l *LogPage) IsPersistent() bool

func (*LogPage) Name

func (l *LogPage) Name() string

func (*LogPage) Render

func (l *LogPage) Render(accountData *data.AccountData)

func (*LogPage) SetFocus

func (l *LogPage) SetFocus(app *tview.Application)

func (*LogPage) View

func (l *LogPage) View() tview.Primitive

type LogStreamPage

type LogStreamPage struct {
	View      *tview.TextView
	NextToken *string

	LogGroupArn string
	ParseFields []string

	Json bool
	// contains filtered or unexported fields
}

func NewLogStreamPage

func NewLogStreamPage(logGroupArn string, load bool) *LogStreamPage

func (*LogStreamPage) End

func (p *LogStreamPage) End()

func (*LogStreamPage) HighlightText

func (p *LogStreamPage) HighlightText(text *string)

func (*LogStreamPage) LoadData

func (p *LogStreamPage) LoadData()

func (*LogStreamPage) ParseFirstMessage

func (p *LogStreamPage) ParseFirstMessage()

func (*LogStreamPage) SwitchFollow

func (p *LogStreamPage) SwitchFollow()

func (*LogStreamPage) SwitchWrap

func (p *LogStreamPage) SwitchWrap()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳