Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Names []string
View Source
var Outputs = []Output{ Yaml, Table, }
View Source
var Table = &table{}
View Source
var Yaml = &yaml{}
Functions ¶
func MarshalYaml ¶
Types ¶
type Output ¶
type Output interface { // GetName returns the name of the output format, will be used by the CLI to identify the output format. GetName() string // AsTable true if the kubernetes request should be made with the `application/json;as=Table;v=0.1` header. AsTable() bool // PrintObj prints the given object as a string. PrintObj(obj runtime.Unstructured) (string, error) }
func FromString ¶
Click to show internal directories.
Click to hide internal directories.