mirror of https://github.com/crossplane/docs.git
Update all links to point to master, not latest
I do actually want latest, but HTML test complains when I try. There's no v1.14 release directory to link to yet, so master will have to do. Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
parent
a1542b2f4e
commit
6487b23a4f
|
@ -11,7 +11,7 @@ Composition functions (or just functions, for short) are custom programs that
|
||||||
template Crossplane resources. Crossplane calls composition functions to
|
template Crossplane resources. Crossplane calls composition functions to
|
||||||
determine what resources it should create when you create a composite resource
|
determine what resources it should create when you create a composite resource
|
||||||
(XR). Read the
|
(XR). Read the
|
||||||
[concepts](/latest/concepts/composition-functions)
|
[concepts]({{<ref "../../master/concepts/composition-functions">}})
|
||||||
page to learn more about composition functions.
|
page to learn more about composition functions.
|
||||||
|
|
||||||
You can write a function to template resources using a general purpose
|
You can write a function to template resources using a general purpose
|
||||||
|
@ -22,7 +22,7 @@ conditionals. This guide explains how to write a composition function in
|
||||||
|
|
||||||
{{< hint "important" >}}
|
{{< hint "important" >}}
|
||||||
It helps to be familiar with
|
It helps to be familiar with
|
||||||
[how composition functions work](/latest/concepts/composition-functions#how-composition-functions-work)
|
[how composition functions work]({{<ref "../../master/concepts/composition-functions#how-composition-functions-work">}})
|
||||||
before following this guide.
|
before following this guide.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
|
@ -131,9 +131,10 @@ you push Go code to GitHub, you can use your GitHub username. For example
|
||||||
|
|
||||||
The `input` directory defines a Go struct that a function can use to take input,
|
The `input` directory defines a Go struct that a function can use to take input,
|
||||||
using the `input` field from a Composition. The
|
using the `input` field from a Composition. The
|
||||||
[composition functions](/latest/concepts/composition-functions) documentation
|
[composition functions]({{<ref "../../master/concepts/composition-functions">}})
|
||||||
explains how to pass an input to a composition function. function-xbuckets
|
documentation explains how to pass an input to a composition function.
|
||||||
doesn't use an input, so you should delete the `input` directory.
|
function-xbuckets doesn't use an input, so you should delete the `input`
|
||||||
|
directory.
|
||||||
|
|
||||||
You should also delete the `package/input` directory. It contains an OpenAPI
|
You should also delete the `package/input` directory. It contains an OpenAPI
|
||||||
schema automatically generated from the structs in the `input` directory.
|
schema automatically generated from the structs in the `input` directory.
|
||||||
|
@ -730,7 +731,7 @@ spec:
|
||||||
|
|
||||||
{{<hint "tip">}}
|
{{<hint "tip">}}
|
||||||
Read the composition functions documentation to learn more about
|
Read the composition functions documentation to learn more about
|
||||||
[testing composition functions](/latest/concepts/composition-functions#test-a-composition-that-uses-functions).
|
[testing composition functions]({{<ref "../../master/concepts/composition-functions#test-a-composition-that-uses-functions">}}).
|
||||||
{{</hint>}}
|
{{</hint>}}
|
||||||
|
|
||||||
## Build and push the function to a package registry
|
## Build and push the function to a package registry
|
||||||
|
@ -747,7 +748,7 @@ then pushing all the packages to a single tag in the registry.
|
||||||
|
|
||||||
Pushing your function to a registry allows you to use your function in a
|
Pushing your function to a registry allows you to use your function in a
|
||||||
Crossplane control plane. See the
|
Crossplane control plane. See the
|
||||||
[composition functions documentation](/latest/concepts/composition-functions)
|
[composition functions documentation]({{<ref "../../master/concepts/composition-functions">}}).
|
||||||
to learn how to use a function in a control plane.
|
to learn how to use a function in a control plane.
|
||||||
|
|
||||||
Use Docker to build a runtime for each platform.
|
Use Docker to build a runtime for each platform.
|
||||||
|
@ -798,7 +799,7 @@ crossplane xpkg build \
|
||||||
|
|
||||||
{{<hint "tip">}}
|
{{<hint "tip">}}
|
||||||
Crossplane packages are special OCI images. Read more about packages in the
|
Crossplane packages are special OCI images. Read more about packages in the
|
||||||
[packages documentation](/latest/concepts/packages).
|
[packages documentation]{{<ref "../../master/concepts/packages">}}.
|
||||||
{{</hint>}}
|
{{</hint>}}
|
||||||
|
|
||||||
Push both package files to a registry. Pushing both files to one tag in the
|
Push both package files to a registry. Pushing both files to one tag in the
|
||||||
|
|
Loading…
Reference in New Issue