import "istio.io/istio/istioctl/pkg/util/formatting"
const ( LogFormat = "log" JSONFormat = "json" YAMLFormat = "yaml" )
Formatting options for Messages
var ( MsgOutputFormatKeys = []string{LogFormat, JSONFormat, YAMLFormat} MsgOutputFormats = make(map[string]bool) )
Print output messages in the specified format with color options
MessageThreshold is a wrapper around Level to be used as a cobra command line argument. It should satisfy the pflag.Value interface.
func (m *MessageThreshold) Set(s string) error
Set is a function declared in the pflag.Value interface
func (m *MessageThreshold) String() string
String is a function declared in the pflag.Value interface
func (m *MessageThreshold) Type() string
Type is a function declared in the pflag.Value interface
Package formatting imports 10 packages (graph) and is imported by 4 packages. Updated 2020-12-21. Refresh now. Tools for package owners.