shared

package
v0.2.27 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDataArgs

func ParseDataArgs(dataArgs []string) (map[string]interface{}, error)

ParseDataArgs parses --data arguments in key=value format

Types

type AddComponentDelegate

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

func (AddComponentDelegate) FilterValue

func (i AddComponentDelegate) FilterValue() string

func (AddComponentDelegate) Height

func (i AddComponentDelegate) Height() int

func (AddComponentDelegate) Render

func (i AddComponentDelegate) Render(w io.Writer, m list.Model, index int, listItem list.Item)

func (AddComponentDelegate) Spacing

func (i AddComponentDelegate) Spacing() int

func (AddComponentDelegate) Update

func (i AddComponentDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd

type AddModel

type AddModel struct {
	RepoURLs []string
	// contains filtered or unexported fields
}

func NewAddModel

func NewAddModel() AddModel

func (AddModel) Init

func (am AddModel) Init() tea.Cmd

func (AddModel) Update

func (am AddModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (AddModel) View

func (am AddModel) View() string

type ListItem

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

func (ListItem) Description

func (i ListItem) Description() string

TODO: Decide if we return something for description - don't think needed - it's really just us adhering to interface

func (ListItem) FilterValue

func (i ListItem) FilterValue() string

func (ListItem) Title

func (i ListItem) Title() string

type UpdateModel

type UpdateModel struct {
	ExitMessage string

	ComponentUpdated bool
	// contains filtered or unexported fields
}

func NewUpdateComponentModel

func NewUpdateComponentModel(updateFlags copier.UpdateFlags) UpdateModel

func (UpdateModel) Init

func (m UpdateModel) Init() tea.Cmd

func (UpdateModel) Update

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

func (UpdateModel) View

func (m UpdateModel) View() string

Jump to

Keyboard shortcuts

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