Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertNilError ¶
func AssertNilError(err error)
func TemplatedExample ¶
templatedExample applies a templating function to the example string so we can make the text dyanamic. It also applies standard Kubernetes formatting rules after the templating step.
func UniqueString ¶
UniqueString removes duplicates from a list. There are no ordering guarantees.
Types ¶
type DynamicTemplateOptions ¶
type DynamicTemplateOptions struct { // Application is the application name as defined by argv[0]. Application string }
DynamicTemplateOptions allows some parameters to be passed into help text and that text to be templated so it will update automatically when the options do.
Click to show internal directories.
Click to hide internal directories.