From ce0397828ba18f17c4a7dc5814958c8eda1048e5 Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Sat, 28 Oct 2023 14:11:14 -0700 Subject: [PATCH] Link to common functions We might want to update these to marketplace links once they're available. Signed-off-by: Nic Cope --- .../master/concepts/composition-functions.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/content/master/concepts/composition-functions.md b/content/master/concepts/composition-functions.md index c9fa4a3f5..65ef0c7e6 100644 --- a/content/master/concepts/composition-functions.md +++ b/content/master/concepts/composition-functions.md @@ -34,7 +34,7 @@ Install a Function with a Crossplane location of the function package. -For example, to install Function Patch and Transform, +For example, to install [Function Patch and Transform](https://github.com/crossplane-contrib/function-patch-and-transform), ```yaml {label="install"} apiVersion: pkg.crossplane.io/v1beta1 @@ -111,10 +111,11 @@ line="10">}}function-patch-and-transform{{}}. Some Functions allow you to specify an {{}}input{{}}. Different Functions each have a different {{}}kind{{}} of input. This example uses -Function Patch and Transform. Function Patch and Transform is a function that -implements Crossplane resource templates. Its input kind is `Resources`, and it -accepts [Patch and Transform]({{}}) {{}}resources{{}} as input. +[Function Patch and Transform](https://github.com/crossplane-contrib/function-patch-and-transform). +Function Patch and Transform is a function that implements Crossplane resource +templates. Its input kind is `Resources`, and it accepts [Patch and +Transform]({{}}) {{}}resources{{}} as input. ```yaml {label="single",copy-lines="none"} apiVersion: apiextensions.crossplane.io/v1 @@ -324,8 +325,11 @@ func (f *Function) RunFunction(_ context.Context, req *fnv1beta1.RunFunctionRequ ``` Some people design composition functions for you to use them with any kind of -composite resource. Function Patch and Transform and Function Auto Ready work -with any kind of composite resource. +composite resource. +[Function Patch and Transform](https://github.com/crossplane-contrib/function-patch-and-transform) +and +[Function Auto Ready](https://github.com/crossplane-contrib/function-auto-ready) +work with any kind of composite resource. Another common pattern is to write a composition function specific to one kind of composite resource. The function contains all the logic needed to tell