instances

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package instances is the instances area: the Pando instances running on this machine grouped by project path, and for the selected one its sessions with the conversation history, the live event stream (/instances/{id}/sessions/{sid}/stream), a message box and cancel. It mirrors web-ui/src/components/instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instances

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

Instances is the area's view.

func New

func New(a *app.Context) *Instances

New returns the instances view.

func (*Instances) Build

func (in *Instances) Build(c *ui.Context, _ *ui.Route)

Build draws the view.

func (*Instances) Close

func (in *Instances) Close()

Close stops the stream.

func (*Instances) HeaderActions

func (in *Instances) HeaderActions(c *ui.Context)

HeaderActions adds the refresh button.

func (*Instances) Refresh

func (in *Instances) Refresh()

Refresh reloads the instance list.

func (*Instances) Select

func (in *Instances) Select(id string)

Select shows the sessions of an instance.

Jump to

Keyboard shortcuts

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