You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialized package "function-xbuckets" in directory "/home/negz/control/negz/function-xbuckets" from https://github.com/crossplane/function-template-go/tree/91a1a5eed21964ff98966d72cc6db6f089ad63f4 (main)
87
+
88
+
To get started:
89
+
90
+
1. Replace `function-template-go` with your function in `go.mod`,
91
+
`package/crossplane.yaml`, and any Go imports. (You can also do this
92
+
automatically by running the `./init.sh <function-name>` script.)
93
+
2. Update `input/v1beta1/` to reflect your desired input (and run `go generate`)
94
+
3. Add your logic to `RunFunction` in `fn.go`
95
+
4. Add tests for your logic in `fn_test.go`
96
+
5. Update `README.md`, to be about your function!
97
+
98
+
Found init.sh script!
99
+
Do you want to run it? [y]es/[n]o/[v]iew: y
100
+
Function function-xbuckets has been initialised successfully
87
101
```
88
102
89
103
The `crossplane xpkg init` command creates a directory named
Initialized package "function-xbuckets" in directory "/home/negz/control/negz/function-xbuckets" from https://github.com/crossplane/function-template-go/tree/91a1a5eed21964ff98966d72cc6db6f089ad63f4 (main)
87
+
88
+
To get started:
89
+
90
+
1. Replace `function-template-go` with your function in `go.mod`,
91
+
`package/crossplane.yaml`, and any Go imports. (You can also do this
92
+
automatically by running the `./init.sh <function-name>` script.)
93
+
2. Update `input/v1beta1/` to reflect your desired input (and run `go generate`)
94
+
3. Add your logic to `RunFunction` in `fn.go`
95
+
4. Add tests for your logic in `fn_test.go`
96
+
5. Update `README.md`, to be about your function!
97
+
98
+
Found init.sh script!
99
+
Do you want to run it? [y]es/[n]o/[v]iew: y
100
+
Function function-xbuckets has been initialised successfully
87
101
```
88
102
89
103
The `crossplane xpkg init` command creates a directory named
0 commit comments