Documentation
¶
Index ¶
Constants ¶
View Source
const SafeYAMLAnnotation = "bundle.gke.io/safe-yaml"
SafeYAMLAnnotation is an annotation that can be put on a component that indicates that the component should be processed with the SafeYAML library rather than the default library.
Variables ¶
This section is empty.
Functions ¶
func HasSafeYAMLAnnotation ¶ added in v0.14.1
func HasSafeYAMLAnnotation(objmeta metav1.ObjectMeta) bool
HasSafeYAMLAnnotation returns whether ObjectMeta contains the SafeYAMLAnnotation.
Types ¶
type Templater ¶
type Templater struct {
// contains filtered or unexported fields
}
Templater provides templating functionality for YAML templating.
func NewTemplater ¶
func NewTemplater(tmplName, templateDoc string, funcs map[string]interface{}, useSafeYAMLTemplater bool) (*Templater, error)
NewTemplater creates a new Templater.
Click to show internal directories.
Click to hide internal directories.