Documentation ¶
Index ¶
- type EntityPage
- func (p EntityPage) ContentForFile() []string
- func (p EntityPage) GetSelectionActions() (model.Entity, map[model.Entity]bool)
- func (p EntityPage) HasAppliedFilter() bool
- func (p EntityPage) Help() string
- func (p EntityPage) HighjackingInput() bool
- func (p EntityPage) ToggleShowContext() GenericPage
- func (p EntityPage) Update(msg tea.Msg) (GenericPage, tea.Cmd)
- func (p EntityPage) View() string
- func (p EntityPage) WithBlur() GenericPage
- func (p EntityPage) WithDimensions(width, height int) GenericPage
- func (p EntityPage) WithEntityTree(entityTree model.EntityTree) EntityPage
- func (p EntityPage) WithFocus() GenericPage
- func (p EntityPage) WithMaintainSelection(maintainSelection bool) EntityPage
- func (p EntityPage) WithStyles(styles style.Styles) GenericPage
- type GenericPage
- type LogsPage
- func (p LogsPage) ContentForFile() []string
- func (p LogsPage) GetSelectedLog() *model.PageLog
- func (p LogsPage) HasAppliedFilter() bool
- func (p LogsPage) Help() string
- func (p LogsPage) HighjackingInput() bool
- func (p LogsPage) ScrolledDownByOne() LogsPage
- func (p LogsPage) ScrolledUpByOne() LogsPage
- func (p LogsPage) ToggleShowContext() GenericPage
- func (p LogsPage) Update(msg tea.Msg) (GenericPage, tea.Cmd)
- func (p LogsPage) View() string
- func (p LogsPage) WithAppendedLogs(logs []model.PageLog) LogsPage
- func (p LogsPage) WithBlur() GenericPage
- func (p LogsPage) WithContainerColors(containerIdToColor map[string]model.ContainerColors) LogsPage
- func (p LogsPage) WithDimensions(width, height int) GenericPage
- func (p LogsPage) WithFocus() GenericPage
- func (p LogsPage) WithLogFilter(lf model.LogFilter) LogsPage
- func (p LogsPage) WithLogsRemovedForContainer(containerSpec model.Container) LogsPage
- func (p LogsPage) WithLogsTerminatedForContainer(containerSpec model.Container) LogsPage
- func (p LogsPage) WithNewNameFormat() LogsPage
- func (p LogsPage) WithNewTimestampFormat() LogsPage
- func (p LogsPage) WithNoStickyness() LogsPage
- func (p LogsPage) WithReversedLogOrder() LogsPage
- func (p LogsPage) WithStickyness() LogsPage
- func (p LogsPage) WithStyles(styles style.Styles) GenericPage
- func (p LogsPage) WithUpdatedShortNames(f func(model.Container) (model.PageLogContainerName, error)) (LogsPage, error)
- type SingleLogPage
- func (p SingleLogPage) ContentForClipboard() []string
- func (p SingleLogPage) ContentForFile() []string
- func (p SingleLogPage) HasAppliedFilter() bool
- func (p SingleLogPage) Help() string
- func (p SingleLogPage) HighjackingInput() bool
- func (p SingleLogPage) ToggleShowContext() GenericPage
- func (p SingleLogPage) Update(msg tea.Msg) (GenericPage, tea.Cmd)
- func (p SingleLogPage) View() string
- func (p SingleLogPage) WithBlur() GenericPage
- func (p SingleLogPage) WithDimensions(width, height int) GenericPage
- func (p SingleLogPage) WithFocus() GenericPage
- func (p SingleLogPage) WithLog(log model.PageLog) SingleLogPage
- func (p SingleLogPage) WithStyles(styles style.Styles) GenericPage
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityPage ¶
type EntityPage struct {
// contains filtered or unexported fields
}
func NewEntitiesPage ¶
func NewEntitiesPage( keyMap keymap.KeyMap, width, height int, entityTree model.EntityTree, styles style.Styles, ) EntityPage
func (EntityPage) ContentForFile ¶ added in v0.4.0
func (p EntityPage) ContentForFile() []string
func (EntityPage) GetSelectionActions ¶
func (EntityPage) HasAppliedFilter ¶ added in v0.3.0
func (p EntityPage) HasAppliedFilter() bool
func (EntityPage) Help ¶
func (p EntityPage) Help() string
func (EntityPage) HighjackingInput ¶
func (p EntityPage) HighjackingInput() bool
func (EntityPage) ToggleShowContext ¶ added in v0.5.0
func (p EntityPage) ToggleShowContext() GenericPage
func (EntityPage) Update ¶
func (p EntityPage) Update(msg tea.Msg) (GenericPage, tea.Cmd)
func (EntityPage) View ¶
func (p EntityPage) View() string
func (EntityPage) WithBlur ¶ added in v0.4.0
func (p EntityPage) WithBlur() GenericPage
func (EntityPage) WithDimensions ¶
func (p EntityPage) WithDimensions(width, height int) GenericPage
func (EntityPage) WithEntityTree ¶
func (p EntityPage) WithEntityTree(entityTree model.EntityTree) EntityPage
func (EntityPage) WithFocus ¶ added in v0.4.0
func (p EntityPage) WithFocus() GenericPage
func (EntityPage) WithMaintainSelection ¶
func (p EntityPage) WithMaintainSelection(maintainSelection bool) EntityPage
func (EntityPage) WithStyles ¶ added in v0.5.0
func (p EntityPage) WithStyles(styles style.Styles) GenericPage
type GenericPage ¶
type GenericPage interface { Update(msg tea.Msg) (GenericPage, tea.Cmd) View() string ContentForFile() []string ToggleShowContext() GenericPage HasAppliedFilter() bool HighjackingInput() bool WithDimensions(width, height int) GenericPage WithFocus() GenericPage WithBlur() GenericPage WithStyles(style.Styles) GenericPage Help() string }
type LogsPage ¶
type LogsPage struct {
// contains filtered or unexported fields
}
func NewLogsPage ¶
func (LogsPage) ContentForFile ¶ added in v0.4.0
func (LogsPage) GetSelectedLog ¶
func (LogsPage) HasAppliedFilter ¶ added in v0.3.0
func (LogsPage) HighjackingInput ¶
func (LogsPage) ScrolledDownByOne ¶
func (LogsPage) ScrolledUpByOne ¶
func (LogsPage) ToggleShowContext ¶ added in v0.5.0
func (p LogsPage) ToggleShowContext() GenericPage
func (LogsPage) WithAppendedLogs ¶
func (LogsPage) WithBlur ¶ added in v0.4.0
func (p LogsPage) WithBlur() GenericPage
func (LogsPage) WithContainerColors ¶ added in v0.4.0
func (p LogsPage) WithContainerColors(containerIdToColor map[string]model.ContainerColors) LogsPage
func (LogsPage) WithDimensions ¶
func (p LogsPage) WithDimensions(width, height int) GenericPage
func (LogsPage) WithFocus ¶ added in v0.4.0
func (p LogsPage) WithFocus() GenericPage
func (LogsPage) WithLogFilter ¶ added in v0.4.0
func (LogsPage) WithLogsRemovedForContainer ¶
func (LogsPage) WithLogsTerminatedForContainer ¶
func (LogsPage) WithNewNameFormat ¶ added in v0.4.0
func (LogsPage) WithNewTimestampFormat ¶ added in v0.4.0
func (LogsPage) WithNoStickyness ¶
func (LogsPage) WithReversedLogOrder ¶ added in v0.4.0
func (LogsPage) WithStickyness ¶
func (LogsPage) WithStyles ¶ added in v0.5.0
func (p LogsPage) WithStyles(styles style.Styles) GenericPage
func (LogsPage) WithUpdatedShortNames ¶
type SingleLogPage ¶
type SingleLogPage struct {
// contains filtered or unexported fields
}
func NewSingleLogPage ¶
func (SingleLogPage) ContentForClipboard ¶ added in v0.4.0
func (p SingleLogPage) ContentForClipboard() []string
func (SingleLogPage) ContentForFile ¶ added in v0.4.0
func (p SingleLogPage) ContentForFile() []string
func (SingleLogPage) HasAppliedFilter ¶
func (p SingleLogPage) HasAppliedFilter() bool
func (SingleLogPage) Help ¶
func (p SingleLogPage) Help() string
func (SingleLogPage) HighjackingInput ¶
func (p SingleLogPage) HighjackingInput() bool
func (SingleLogPage) ToggleShowContext ¶ added in v0.5.0
func (p SingleLogPage) ToggleShowContext() GenericPage
func (SingleLogPage) Update ¶
func (p SingleLogPage) Update(msg tea.Msg) (GenericPage, tea.Cmd)
func (SingleLogPage) View ¶
func (p SingleLogPage) View() string
func (SingleLogPage) WithBlur ¶ added in v0.4.0
func (p SingleLogPage) WithBlur() GenericPage
func (SingleLogPage) WithDimensions ¶
func (p SingleLogPage) WithDimensions(width, height int) GenericPage
func (SingleLogPage) WithFocus ¶ added in v0.4.0
func (p SingleLogPage) WithFocus() GenericPage
func (SingleLogPage) WithLog ¶
func (p SingleLogPage) WithLog(log model.PageLog) SingleLogPage
func (SingleLogPage) WithStyles ¶ added in v0.5.0
func (p SingleLogPage) WithStyles(styles style.Styles) GenericPage
Click to show internal directories.
Click to hide internal directories.