Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAPIDocs ¶
GenAPIDocs reads the trial and experiment source code from source path and outputs Markdown to the output directory
Types ¶
type DocsOptions ¶
type DocsOptions struct {
Directory string
DocType string
SourcePath string
cmdutil.IOStreams
// contains filtered or unexported fields
}
DocsOptions is the configuration for generating documentation
func NewDocsOptions ¶
func NewDocsOptions(ioStreams cmdutil.IOStreams) *DocsOptions
NewDocsOptions returns a new documentation options struct
type KubeTypes ¶
type KubeTypes []Pair
KubeTypes is an array to represent all available types in a parsed file. [0] is for the type itself
func ParseDocumentationFrom ¶
ParseDocumentationFrom gets all types' documentation and returns them as an array. Each type is again represented as an array (we have to use arrays as we need to be sure for the order of the fields). This function returns fields and struct definitions that have no documentation as {name, ""}.
Click to show internal directories.
Click to hide internal directories.