{"modulePath":"github.com/kcp-dev/api-syncagent","version":"v0.9.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package templating\n\n## Functions\n\n```go\nfunc GenerateLocalObjectName(pr *syncagentv1alpha1.PublishedResource, object *unstructured.Unstructured, clusterName logicalcluster.Name, workspacePath logicalcluster.Path) (types.NamespacedName, error)\n```\n\n```go\nfunc NewRelatedObjectContext(object *unstructured.Unstructured, side syncagentv1alpha1.RelatedResourceOrigin, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectContext\n```\n\n```go\nfunc NewRelatedObjectLabelContext(localObject, remoteObject *unstructured.Unstructured, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectLabelContext\n```\n\n```go\nfunc NewRelatedObjectLabelRewriteContext(value string, localObject, remoteObject, relatedObject *unstructured.Unstructured, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectLabelRewriteContext\n```\n\n```go\nfunc Render(tpl string, data any) (string, error)\n```\n\n","path":"github.com/kcp-dev/api-syncagent/internal/sync/templating","name":"templating","synopsis":"","isRedistributable":true}
