Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintResourceLikeYamlFile ¶
take a interface that can be a resource or multiple resource and print it as the content of a file we could use for an apply.
func RenderTemplateAsKind ¶ added in v0.8.0
func RenderTemplateAsKind(templateSpec map[string]interface{}, kindName string, apiVersion int) (string, error)
RenderTemplateAsKind takes a template's `spec` (with a `defaults` key holding metadata and spec) and turns it into a YAML resource of the given kind/version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.