expanded

package
v0.0.0-...-2e51320 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expanded

type Expanded struct {
	TaskJSON *JSON
	// TaskInfo    *TaskInfo
	// TaskInputs  *TaskParameter
	// TaskOutputs *TaskParameter
	// TaskResources *TaskResources
	// TaskExecutors *TaskExecutors
	// TaskLogs      *TaskLogs
	X, Y  int
	Width int
}

func NewExpanded

func NewExpanded(t *tes.Task) *Expanded

func (*Expanded) Align

func (e *Expanded) Align()

func (*Expanded) Buffer

func (e *Expanded) Buffer() ui.Buffer

func (*Expanded) DisplayError

func (e *Expanded) DisplayError(err error)

func (*Expanded) Down

func (e *Expanded) Down()

func (*Expanded) GetHeight

func (e *Expanded) GetHeight() (h int)

Return total column height

func (*Expanded) SetWidth

func (e *Expanded) SetWidth(w int)

func (*Expanded) Up

func (e *Expanded) Up()

func (*Expanded) Update

func (e *Expanded) Update(t *tes.Task)

type JSON

type JSON struct {
	*ui.Par
}

func NewJSON

func NewJSON(t *tes.Task) *JSON

func (*JSON) Set

func (j *JSON) Set(t *tes.Task)

func (*JSON) SetErrorMessage

func (j *JSON) SetErrorMessage(err error)

type TaskInfo

type TaskInfo struct {
	*ui.Table
	// contains filtered or unexported fields
}

func NewTaskInfo

func NewTaskInfo(t *tes.Task) *TaskInfo

func (*TaskInfo) Set

func (w *TaskInfo) Set(k, v string)

type TaskInput

type TaskInput struct {
	*ui.Table
	// contains filtered or unexported fields
}

func NewTaskInputs

func NewTaskInputs(t []*tes.Input, label string) *TaskInput

func (*TaskInput) Set

func (w *TaskInput) Set(k, v string)

type TaskOutput

type TaskOutput struct {
	*ui.Table
	// contains filtered or unexported fields
}

func NewTaskOutputs

func NewTaskOutputs(t []*tes.Output, label string) *TaskOutput

func (*TaskOutput) Set

func (w *TaskOutput) Set(k, v string)

Jump to

Keyboard shortcuts

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