command

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyContentToClipboardCmd

func CopyContentToClipboardCmd(content string) tea.Cmd

func GetContainerListenerCmd

func GetContainerListenerCmd(
	client k8s.Client,
	cluster, namespace string,
	matchers model.Matchers,
	selector labels.Selector,
	ignorePodOwnerTypes []string,
) tea.Cmd

func GetNextContainerDeltasCmd

func GetNextContainerDeltasCmd(
	client k8s.Client,
	listener model.ContainerListener,
	duration time.Duration,
) tea.Cmd

func GetNextLogsCmd

func GetNextLogsCmd(ls model.LogScanner, duration time.Duration) tea.Cmd

func StartLogScannerCmd

func StartLogScannerCmd(
	client k8s.Client,
	container model.Container,
	sinceTime time.Time,
) tea.Cmd

func StopLogScannerCmd

func StopLogScannerCmd(entity model.Entity, keepLogs bool) tea.Cmd

StopLogScannerCmd stops an Entity's LogScanner

func StopLogScannersInPrepForNewSinceTimeCmd added in v0.4.0

func StopLogScannersInPrepForNewSinceTimeCmd(logScanners []model.LogScanner) tea.Cmd

Types

type ContentCopiedToClipboardMsg

type ContentCopiedToClipboardMsg struct {
	Content string
	Err     error
}

type GetContainerDeltasMsg

type GetContainerDeltasMsg struct {
	Listener model.ContainerListener
	DeltaSet model.ContainerDeltaSet
	Err      error
}

type GetContainerListenerMsg

type GetContainerListenerMsg struct {
	Listener model.ContainerListener
	Err      error
}

type GetNewLogsMsg

type GetNewLogsMsg struct {
	LogScanner   model.LogScanner
	NewLogs      []model.Log
	DoneScanning bool
	Err          error
}

type StartedLogScannerMsg

type StartedLogScannerMsg struct {
	LogScanner model.LogScanner
	Err        error
}

type StoppedLogScannersMsg added in v0.4.0

type StoppedLogScannersMsg struct {
	Containers []model.Container
	Restart    bool
	KeepLogs   bool
}

Jump to

Keyboard shortcuts

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