Documentation
¶
Index ¶
- func FormatCreated(data interface{}) (string, error)
- func FormatFirst(data, data2 interface{}) (string, error)
- func FormatJSON(data interface{}) (string, error)
- func FormatJSONCompact(data interface{}) (string, error)
- func FormatSpew(data interface{}) (string, error)
- func FormatStackScopedName(cluster *clientcfg.Cluster) func(interface{}, interface{}) (string, error)
- func FormatYAML(data interface{}) (string, error)
- func SimpleFormat(values [][]string) (string, string)
- func WriterFlags() []cli.Flag
- type FormatFunc
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCreated ¶
func FormatFirst ¶
func FormatJSON ¶
func FormatJSONCompact ¶ added in v0.0.3
func FormatSpew ¶ added in v0.1.0
func FormatStackScopedName ¶
func FormatYAML ¶
func SimpleFormat ¶
func WriterFlags ¶
Types ¶
type FormatFunc ¶
type FormatFunc interface{}
type Writer ¶
type Writer struct { HeaderFormat string ValueFormat string Writer *tabwriter.Writer // contains filtered or unexported fields }
func NewWriter ¶
func NewWriter(values [][]string, ctx *clicontext.CLIContext) *Writer
func (*Writer) AddFormatFunc ¶
func (t *Writer) AddFormatFunc(name string, f FormatFunc)
Click to show internal directories.
Click to hide internal directories.