Documentation ¶
Index ¶
- func BoolToStar(obj interface{}) (string, error)
- func FormatCreated(data interface{}) (string, error)
- func FormatFirst(data, data2 interface{}) (string, error)
- func FormatID(obj runtime.Object, namespace string) (string, error)
- func FormatJSON(data interface{}) (string, error)
- func FormatJSONCompact(data interface{}) (string, error)
- func FormatSpew(data interface{}) (string, error)
- func FormatYAML(data interface{}) (string, error)
- func Graph(value int) (string, error)
- func Pointer(data interface{}) string
- func SimpleFormat(values [][]string) (string, string)
- func ToArray(s []string) (string, error)
- func ToArrayFirst(s []string) (string, error)
- func ToJSON(data interface{}) (map[string]interface{}, error)
- type Args
- type FormatFunc
- type Writer
- type WriterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToStar ¶
func FormatCreated ¶
func FormatFirst ¶
func FormatJSON ¶
func FormatJSONCompact ¶
func FormatSpew ¶
func FormatYAML ¶
func SimpleFormat ¶
func ToArrayFirst ¶
Types ¶
type FormatFunc ¶
type FormatFunc interface{}
type Writer ¶
type Writer interface { Write(obj interface{}) Close() error Err() error AddFormatFunc(name string, f FormatFunc) }
type WriterConfig ¶
Click to show internal directories.
Click to hide internal directories.