program

package
v0.0.0-...-16fbdda Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

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

func Filter

func Filter(list []Program, f filter.Filter) []Program

Filter applies the filter to each program, returning only the ones that match the filter criteria.

func Make

func Make(group string, label string, cmdLine []string, args map[string]interface{}) Program

func (Program) Args

func (p Program) Args() map[string]interface{}

func (Program) CommandLine

func (p Program) CommandLine() []string

func (Program) Group

func (p Program) Group() string

func (Program) ID

func (p Program) ID() int

func (Program) Label

func (p Program) Label() string

func (Program) String

func (p Program) String() string

type Programs

type Programs []Program

func FromPreset

func FromPreset(preset preset.Preset, c int) (list Programs, err error)

func FromPresetFiles

func FromPresetFiles(paths []string, f filter.Filter) (Programs, error)

func (Programs) Labels

func (p Programs) Labels() []string

Source Files

  • factory.go
  • program.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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