Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtraFuncMap ¶
TxtFuncMap returns an aggregated template function map. Currently (custom functions + sprig)
func GetReferenceResourceName ¶
func GetReferenceResourceName(clusterNamespace, clusterName, clusterKind, referencedResourceName string) (string, error)
Resources referenced can have their name expressed in function of cluster information: clusterNamespace => .Cluster.metadata.namespace clusterName => .Cluster.metadata.name clusterType => .Cluster.kind
referencedResourceName can be expressed as a template using above cluster info
func GetReferenceResourceNamespace ¶
GetReferenceResourceNamespace returns the namespace to use for a referenced resource. If namespace is set on referencedResource, that namespace will be used. If namespace is not set, cluster namespace will be used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.