Documentation
¶
Overview ¶
Package connector implements the connector detail page (dynamic page ID "connector:<connect>:<name>"). It renders a summary strip plus four tabs — Overview, Tasks, Config and Topics — over the shared template shell. The page is created by the router; see NewModelWithCommon for the constructor the router wires to the "connector:<connect>:<name>" dynamic ID.
Package connector implements the connector detail page (dynamic page ID "connector:<connect>:<name>"). It renders a summary strip plus four tabs — Overview, Tasks, Config and Topics — over the shared template shell. The page is created by the router; see NewModelWithCommon for the constructor the router wires to the "connector:<connect>:<name>" dynamic ID.
Package connector implements the connector detail page (dynamic page ID "connector:<connect>:<name>"). It renders a summary strip plus four tabs — Overview, Tasks, Config and Topics — over the shared template shell. The page is created by the router; see NewModelWithCommon for the constructor the router wires to the "connector:<connect>:<name>" dynamic ID.
Package connector implements the connector detail page (dynamic page ID "connector:<connect>:<name>"). It renders a summary strip plus four tabs — Overview, Tasks, Config and Topics — over the shared template shell. The page is created by the router; see NewModelWithCommon for the constructor the router wires to the "connector:<connect>:<name>" dynamic ID.
Package connector implements the connector detail page (dynamic page ID "connector:<connect>:<name>"). It renders a summary strip plus four tabs — Overview, Tasks, Config and Topics — over the shared template shell. The page is created by the router; see NewModelWithCommon for the constructor the router wires to the "connector:<connect>:<name>" dynamic ID.
Index ¶
- func NewModelWithCommon(common *core.Common, connectCluster, connectorName string) core.Page
- type Model
- func (m *Model) ContextActions() []menu.Entry
- func (m *Model) GetHelp() []key.Binding
- func (m *Model) GetID() string
- func (m *Model) GetTitle() string
- func (m *Model) HandleNavigation(msg tea.Msg) (core.Page, tea.Cmd)
- func (m *Model) Init() tea.Cmd
- func (m *Model) IsInputMode() bool
- func (m *Model) KeyScope() keys.Scope
- func (m *Model) OnBlur() tea.Cmd
- func (m *Model) OnFocus() tea.Cmd
- func (m *Model) SetDimensions(width, height int)
- func (m *Model) Unwind() (tea.Cmd, bool)
- func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the connector detail page.
func (*Model) ContextActions ¶ added in v0.1.35
ContextActions implements core.ActionProvider. The connector lifecycle used to live on p / u / s / R / z / t / T / f — eight bare letters, none of which appeared in the help overlay.
func (*Model) IsInputMode ¶ added in v0.1.36
IsInputMode implements core.InputModeReporter: while the JSON config editor is focused the shell stops intercepting hotkeys, so typing q, a or : goes to the editor.