Update composition-functions.md

Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com>
This commit is contained in:
Joe Bowbeer 2024-05-15 14:44:49 -07:00
parent bfcad83310
commit cc36755c84
2 changed files with 9 additions and 7 deletions

View File

@ -249,7 +249,7 @@ spec:
{{<expand "The xr.yaml, composition.yaml and function.yaml files used in the example">}}
You can recreate the output below using by running `crossplane beta render` with
You can recreate the output below by running `crossplane beta render` with
these files.
The `xr.yaml` file contains the composite resource to render:
@ -309,7 +309,7 @@ spec:
{{</expand>}}
The Crossplane CLI uses Docker Engine to run functions. You can change how the
Crossplane CLI run a function by adding an annotation in `functions.yaml`. Add
Crossplane CLI runs a function by adding an annotation in `functions.yaml`. Add
the `render.crossplane.io/runtime` annotation to a Function to change how it's
run.
@ -379,8 +379,10 @@ func (f *Function) RunFunction(_ context.Context, req *fnv1beta1.RunFunctionRequ
}
```
Some people design composition functions for you to use them with any kind of
<!-- vale write-good.Passive = NO -->
Some composition functions are designed to be used with any kind of
composite resource.
<!-- vale write-good.Passive = YES -->
[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)
@ -550,7 +552,7 @@ spec:
```
If any composed resources already exist, Crossplane observes them and sends them
to your function to as part of the observed state.
to your function as part of the observed state.
Crossplane also observes the connection details of your composite resource and
any composed resources. It sends them to your function as part of the observed
@ -740,4 +742,4 @@ looking for a log line:
If you don't see the log line emitted when Crossplane starts, you have disabled
__extra resources__ for composition functions, which means requests by functions for __extra
resources__ are just ignored.
resources__ are just ignored.

View File

@ -37,14 +37,14 @@ Google.OxfordComma = NO
Google.Will = NO
Google.Latin = NO
# Ingore Microsoft duplicates
# Ignore Microsoft duplicates
Microsoft.We = NO
Microsoft.FirstPerson = NO
Microsoft.Foreign = NO
Microsoft.Quotes = NO
Microsoft.GeneralURL = NO
# ignore indivudal tokens
# ignore individual tokens
# Ignore the markdown link to check the last word of the link: ](.
# Ignore markdown image with alt: ![
# ignore v#.##