views

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobActionMsg

type JobActionMsg struct {
	Action string
	Job    entity.Job
}

type JobSelectedMsg

type JobSelectedMsg struct{ Job entity.Job }

type JobsView

type JobsView struct {
	Jobs   []entity.Job
	Cursor int
	// contains filtered or unexported fields
}

func NewJobsView

func NewJobsView() JobsView

func (*JobsView) SelectedJob added in v0.3.0

func (v *JobsView) SelectedJob() *entity.Job

func (*JobsView) SetHeight

func (v *JobsView) SetHeight(h int)

func (JobsView) Update

func (v JobsView) Update(msg tea.Msg) (JobsView, tea.Cmd)

func (JobsView) View

func (v JobsView) View() string

type LogContentMsg

type LogContentMsg struct {
	Content string
	JobName string
}

type LogView

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

func NewLogView

func NewLogView() LogView

func (LogView) Update

func (v LogView) Update(msg tea.Msg) (LogView, tea.Cmd)

func (LogView) View

func (v LogView) View() string

type PipelineLimitCycleMsg

type PipelineLimitCycleMsg struct{}

type PipelineSelectedMsg

type PipelineSelectedMsg struct{ Pipeline entity.Pipeline }

type PipelinesView

type PipelinesView struct {
	Pipelines []entity.Pipeline

	Cursor int

	Limit  int
	Filter string
	// contains filtered or unexported fields
}

func NewPipelinesView

func NewPipelinesView() PipelinesView

func (PipelinesView) IsInputMode

func (v PipelinesView) IsInputMode() bool

func (*PipelinesView) SetHeight

func (v *PipelinesView) SetHeight(h int)

func (*PipelinesView) SetPipelines

func (v *PipelinesView) SetPipelines(pls []entity.Pipeline)

func (PipelinesView) Update

func (v PipelinesView) Update(msg tea.Msg) (PipelinesView, tea.Cmd)

func (PipelinesView) View

func (v PipelinesView) View() string

type ProjectAddMsg

type ProjectAddMsg struct{ Path string }

type ProjectDeleteMsg

type ProjectDeleteMsg struct{ Path string }

type ProjectSearchMsg

type ProjectSearchMsg struct{ Query string }

ProjectSearchMsg is sent by the view to request a search. The app handles it and returns ProjectSearchResultMsg.

type ProjectSearchResultMsg

type ProjectSearchResultMsg struct{ Projects []entity.Project }

type ProjectSelectedMsg

type ProjectSelectedMsg struct{ Project entity.Project }

type ProjectsView

type ProjectsView struct {
	Projects []entity.Project
	Cursor   int
	// contains filtered or unexported fields
}

func NewProjectsView

func NewProjectsView() ProjectsView

func (ProjectsView) IsInputMode

func (v ProjectsView) IsInputMode() bool

func (ProjectsView) Update

func (v ProjectsView) Update(msg tea.Msg) (ProjectsView, tea.Cmd)

func (ProjectsView) View

func (v ProjectsView) View() string

Jump to

Keyboard shortcuts

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