Documentation ¶
Index ¶
- Variables
- func BinTenets() ([]string, error)
- func DockerClient() (*goDocker.Client, error)
- func FormatOutput(in interface{}, tmplt string) (string, error)
- func LingoBin() (string, error)
- func LingoHome() (string, error)
- func MustLingoHome() string
- func NewBuffer(limit int, killc chan struct{}) *buffer
- func OpenFileCmd(editor, filename string, line int64) (*exec.Cmd, error)
- func Printf(format string, args ...interface{}) (int, error)
- func Println(line string)
- func UserHome() (string, error)
Constants ¶
This section is empty.
Variables ¶
var Printer printer
Printer is deprecated. Prefer tenets/go/dev/tenet/log.Logger.
Functions ¶
func DockerClient ¶
DockerClient returns a new goDocker client initialised with an endpoint specified by the current config.
func FormatOutput ¶
FormatOutput converts arbitrary data into a string using Go's standard template format.
func MustLingoHome ¶
func MustLingoHome() string
MustLingoHome returns the path to the user's lingo config directory or panics on failure.
func NewBuffer ¶
func NewBuffer(limit int, killc chan struct{}) *buffer
TODO(waigani) limit must be > 0
func OpenFileCmd ¶
OpenFileCmd launches the specified editor at the given filename and line number.
func Printf ¶
Printf provides indirection around the standard fmt.Printf function so that the output stream can be globally configured. WARNING: util.Printf is deprecated. Prefer tenets/go/dev/tenet/log.Printf.
Types ¶
This section is empty.