stdin

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *config.Config) source.Source

Types

type StdItem

type StdItem string

func (StdItem) Children

func (c StdItem) Children() []source.ListItem

Children returns an empty slice, as Docker containers don't have a hierarchical structure in this context.

func (StdItem) FilterValue

func (c StdItem) FilterValue() string

FilterValue returns the value used for filtering the list. It could be the container's name or ID.

func (StdItem) String

func (c StdItem) String() string

String returns a string representation of the container, which will be displayed in the list.

type Stdin

type Stdin struct {
	// contains filtered or unexported fields
}

func (*Stdin) Close

func (f *Stdin) Close()

func (*Stdin) Columns

func (f *Stdin) Columns() []*source.List

func (*Stdin) Init

func (f *Stdin) Init(stateChan chan state.State) tea.Cmd

func (*Stdin) Logs

func (f *Stdin) Logs(ctx context.Context, stateChan chan state.State, logChan chan string) tea.Cmd

Jump to

Keyboard shortcuts

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