generate

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DocForCommand

func DocForCommand(command *cobra.Command) (string, error)

DocForCommand returns the specific doc for that command

func Docs

func Docs(root *cobra.Command, path string, testPath string, codePath string) error

Docs generates docs for minikube command

func ErrorCodes added in v1.21.0

func ErrorCodes(docPath string, pathsToCheck []string) error

func GenMarkdown added in v1.16.0

func GenMarkdown(cmd *cobra.Command, w io.Writer) error

GenMarkdown creates markdown output.

func GenMarkdownCustom added in v1.16.0

func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error

GenMarkdownCustom creates custom markdown output.

func TestDocs added in v1.21.0

func TestDocs(docPath string, pathToCheck string) error

Types

type TestDoc added in v1.24.0

type TestDoc struct {
	// contains filtered or unexported fields
}

TestDoc is the documentation for a test case

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL