selection

package
v0.52.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewWorkspaceIdentifier = "<NEW_WORKSPACE>"

Functions

func GetWorkspaceFromPrompt added in v0.2.0

func GetWorkspaceFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb ActionVerb) *apiclient.WorkspaceDTO

func GetWorkspacesFromPrompt added in v0.18.0

func GetWorkspacesFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb ActionVerb) []*apiclient.WorkspaceDTO

Types

type ActionVerb added in v0.52.0

type ActionVerb string
var DeleteActionVerb ActionVerb = "Delete"
var RestartActionVerb ActionVerb = "Restart"
var StartActionVerb ActionVerb = "Start"
var StopActionVerb ActionVerb = "Stop"

type ItemDelegate added in v0.4.0

type ItemDelegate[T any] struct {
}

func (ItemDelegate[T]) Height added in v0.4.0

func (d ItemDelegate[T]) Height() int

func (ItemDelegate[T]) Render added in v0.4.0

func (d ItemDelegate[T]) Render(w io.Writer, m list.Model, index int, listItem list.Item)

func (ItemDelegate[T]) Spacing added in v0.4.0

func (d ItemDelegate[T]) Spacing() int

func (ItemDelegate[T]) Update added in v0.4.0

func (d ItemDelegate[T]) Update(msg tea.Msg, m *list.Model) tea.Cmd

Jump to

Keyboard shortcuts

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