Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthorizationExampleCmd = &cobra.Command{ Use: "authorization", Short: "Example usage for authorization service", RunE: func(_ *cobra.Command, _ []string) error { return authorizationExamples() }, }
View Source
var ExamplesCmd = &cobra.Command{
Use: "examples",
}
View Source
var GenDocsCmd = &cobra.Command{ Use: "docs", Short: "Generates docs for the example commands", RunE: func(_ *cobra.Command, _ []string) error { err := doc.GenMarkdownTree(ExamplesCmd, "./docs") return err }, }
Functions ¶
Types ¶
type BenchmarkConfig ¶
type ExampleError ¶
type ExampleError string
const ( ErrInvalidArgument ExampleError = "invalid parameter" ErrNotFound ExampleError = "not found" )
func (ExampleError) Error ¶
func (e ExampleError) Error() string
Click to show internal directories.
Click to hide internal directories.