component

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateRunbookDoneMsg

type GenerateRunbookDoneMsg struct {
	GeneratedRunbook *client.GeneratedRunbook
	Err              error
}

type GenerateRunbookModel

type GenerateRunbookModel struct {
	fetch.Model
	// contains filtered or unexported fields
}

func NewGenerateRunbookModel

func NewGenerateRunbookModel(
	commands []*server.RecordedCommand,
	cl client.Client,
) GenerateRunbookModel

func (*GenerateRunbookModel) Generate

func (m *GenerateRunbookModel) Generate() tea.Msg

func (GenerateRunbookModel) Init

func (m GenerateRunbookModel) Init() tea.Cmd

func (*GenerateRunbookModel) IsDone added in v0.4.0

func (m *GenerateRunbookModel) IsDone() bool

func (GenerateRunbookModel) RunbookCh

func (m GenerateRunbookModel) RunbookCh() chan *Runbook

func (GenerateRunbookModel) Update

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

func (GenerateRunbookModel) View

func (m GenerateRunbookModel) View() string

type Runbook

type Runbook struct {
	Title string
	Steps []RunbookStep
	URL   string
}

func NewRunbook added in v0.9.5

func NewRunbook(crb *client.GeneratedRunbook) *Runbook

type RunbookStep

type RunbookStep struct {
	Command     string
	Description string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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