Documentation
¶
Index ¶
- func GenerateLocalObjectName(pr *syncagentv1alpha1.PublishedResource, object *unstructured.Unstructured, ...) (types.NamespacedName, error)
- func NewRelatedObjectContext(object *unstructured.Unstructured, ...) relatedObjectContext
- func NewRelatedObjectLabelContext(localObject, remoteObject *unstructured.Unstructured, ...) relatedObjectLabelContext
- func NewRelatedObjectLabelRewriteContext(value string, ...) relatedObjectLabelRewriteContext
- func Render(tpl string, data any) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLocalObjectName ¶
func GenerateLocalObjectName(pr *syncagentv1alpha1.PublishedResource, object *unstructured.Unstructured, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) (types.NamespacedName, error)
func NewRelatedObjectContext ¶
func NewRelatedObjectContext(object *unstructured.Unstructured, side syncagentv1alpha1.RelatedResourceOrigin, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectContext
func NewRelatedObjectLabelContext ¶
func NewRelatedObjectLabelContext(localObject, remoteObject *unstructured.Unstructured, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectLabelContext
func NewRelatedObjectLabelRewriteContext ¶
func NewRelatedObjectLabelRewriteContext(value string, localObject, remoteObject, relatedObject *unstructured.Unstructured, clusterName logicalcluster.Name, clusterPath logicalcluster.Path) relatedObjectLabelRewriteContext
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.