console

package
v2.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(format string, a ...interface{})

Write prints text to the console

func WriteCluster

func WriteCluster(cluster common.Cluster)

WriteCluster prints the cluster data to the console

func WriteClusters

func WriteClusters(clusters []common.Cluster)

WriteClusters prints the clusters data to the console

func WriteMap

func WriteMap(items []Tuple)

WriteMap prints the cluster data to the console

func WriteTable

func WriteTable(rows [][]string)

WriteTable prints rows of tabular data to the console

Types

type Tuple

type Tuple struct {
	Key   string
	Value interface{}
}

Tuple is used to create ordered key-value pairs

Jump to

Keyboard shortcuts

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