MCPcopy
hub / github.com/hatchet-dev/hatchet / View

Interface View

cmd/hatchet-cli/cli/tui/view.go:24–36  ·  view source on GitHub ↗

View represents a TUI view component

Source from the content-addressed store, hash-verified

22
23// View represents a TUI view component
24type View interface {
25 // Init initializes the view and returns any initial commands
26 Init() tea.Cmd
27
28 // Update handles messages and updates the view state
29 Update(msg tea.Msg) (View, tea.Cmd)
30
31 // View renders the view to a string
32 View() string
33
34 // SetSize updates the view dimensions
35 SetSize(width, height int)
36}
37
38// BaseModel contains common fields for all views
39type BaseModel struct {

Callers 32

UpdateMethod · 0.95
InitMethod · 0.65
InitMethod · 0.65
InitMethod · 0.65
InitMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
InitMethod · 0.65
updateResourceMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65

Implementers 11

HelpViewcmd/hatchet-cli/cli/tui/help.go
RunDetailsViewcmd/hatchet-cli/cli/tui/run_details.go
WorkflowDetailsViewcmd/hatchet-cli/cli/tui/workflow_detai
WorkersViewcmd/hatchet-cli/cli/tui/workers.go
WebhooksViewcmd/hatchet-cli/cli/tui/webhooks.go
RunsListViewcmd/hatchet-cli/cli/tui/runs_list.go
RateLimitsViewcmd/hatchet-cli/cli/tui/rate_limits.go
CronJobsViewcmd/hatchet-cli/cli/tui/cron_jobs.go
ScheduledRunsViewcmd/hatchet-cli/cli/tui/scheduled_runs
WorkflowsViewcmd/hatchet-cli/cli/tui/workflows.go
WorkerDetailsViewcmd/hatchet-cli/cli/tui/worker_details

Calls

no outgoing calls

Tested by

no test coverage detected