executable

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutableListView

func NewExecutableListView(
	ctx *context.Context,
	executables executable.ExecutableList,
	runFunc func(string) error,
) tuikit.View

func NewExecutableView

func NewExecutableView(
	ctx *context.Context,
	exec *executable.Executable,
	runFunc func(string) error,
) tuikit.View

func NewLibraryView

func NewLibraryView(
	ctx *context.Context,
	workspaces workspace.WorkspaceList,
	execs executable.ExecutableList,
	filter Filter,
	runFunc func(string) error,
) tuikit.View

NewLibraryView builds the multi-page library browser. Pages drill down from workspaces -> executables -> executable details.

func NewTemplateListView

func NewTemplateListView(
	ctx *context.Context,
	templates executable.TemplateList,
	runFunc func(string) error,
) tuikit.View

func NewTemplateView

func NewTemplateView(
	ctx *context.Context,
	template *executable.Template,
	runFunc func(string) error,
) tuikit.View

func PrintExecutable

func PrintExecutable(format string, exec *executable.Executable)

func PrintExecutableList

func PrintExecutableList(format string, executables executable.ExecutableList)

func PrintTemplate

func PrintTemplate(format string, template *executable.Template)

func PrintTemplateList

func PrintTemplateList(format string, templates executable.TemplateList)

Types

type Filter

type Filter struct {
	Workspace, Namespace string
	Verb                 executable.Verb
	Tags                 flowCommon.Tags
	Annotations          []string
	Substring            string
	Visibility           flowCommon.Visibility
}

Filter narrows the executables shown by the library view.

Jump to

Keyboard shortcuts

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