expanded

package
v0.0.0-...-5db00e0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 4 Imported by: 0

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) 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(s string) *JSON

func (*JSON) Set

func (j *JSON) Set(s string)

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