ui

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderUI

func RenderUI(db *sql.DB, jiraClient *jira.Client, installationType JiraInstallationType, jql string, jiraTimeDeltaMins int, fallbackComment *string) error

Types

type JiraInstallationType added in v1.2.0

type JiraInstallationType uint
const (
	OnPremiseInstallation JiraInstallationType = iota
	CloudInstallation
)

type Model added in v1.2.0

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

func InitialModel

func InitialModel(db *sql.DB, jiraClient *jira.Client, installationType JiraInstallationType, jql string, jiraTimeDeltaMins int, fallbackComment *string, debug bool) Model

func (Model) Init added in v1.2.0

func (m Model) Init() tea.Cmd

func (Model) Update added in v1.2.0

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

func (Model) View added in v1.2.0

func (m Model) View() string

Jump to

Keyboard shortcuts

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