Help us shape the future of Go! Take the 2026 Go Developer Survey

connector

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModelWithCommon

func NewModelWithCommon(common *core.Common, connectCluster, connectorName string) core.Page

NewModelWithCommon builds the connector detail page for the given Connect cluster and connector name. The router wires this to the "connector:<connect>:<name>" dynamic page ID.

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

func (m *Model) ContextActions() []menu.Entry

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) GetHelp

func (m *Model) GetHelp() []key.Binding

func (*Model) GetID

func (m *Model) GetID() string

func (*Model) GetTitle

func (m *Model) GetTitle() string

func (*Model) HandleNavigation

func (m *Model) HandleNavigation(msg tea.Msg) (core.Page, tea.Cmd)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) IsInputMode added in v0.1.36

func (m *Model) IsInputMode() bool

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.

func (*Model) KeyScope added in v0.1.35

func (m *Model) KeyScope() keys.Scope

KeyScope implements core.KeyScoper.

func (*Model) OnBlur

func (m *Model) OnBlur() tea.Cmd

func (*Model) OnFocus

func (m *Model) OnFocus() tea.Cmd

OnFocus kicks off the initial detail load.

func (*Model) SetDimensions

func (m *Model) SetDimensions(width, height int)

func (*Model) Unwind added in v0.1.35

func (m *Model) Unwind() (tea.Cmd, bool)

Unwind implements core.Unwinder: esc leaves the config editor or collapses an expanded task before the shell navigates back to the connector list.

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

Jump to

Keyboard shortcuts

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