Documentation ¶
Index ¶
Constants ¶
View Source
const ( OutputText = Output("text") OutputTable = Output("table") OutputJSON = Output("json") OutputYAML = Output("yaml") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Type reflect.Type `json:"type"` Value string `json:"value"` }
func (Config) MarshalJSON ¶
type ConfigList ¶
type ConfigList []Config
func ToConfigList ¶
func ToConfigList(c *config.Config) ConfigList
func (ConfigList) FormatJSON ¶
func (f ConfigList) FormatJSON(opts *Opts) (io.Reader, error)
func (ConfigList) FormatTable ¶
func (f ConfigList) FormatTable(_ *Opts) (io.Reader, error)
func (ConfigList) FormatYAML ¶
func (f ConfigList) FormatYAML(opts *Opts) (io.Reader, error)
Click to show internal directories.
Click to hide internal directories.