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
Copy file name to clipboardExpand all lines: main.go
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,7 @@
2
2
package main
3
3
4
4
import (
5
-
"os"
6
-
7
5
"github.com/alecthomas/kong"
8
-
9
6
"github.com/crossplane/function-sdk-go"
10
7
)
11
8
@@ -18,6 +15,8 @@ type CLI struct {
18
15
TLSCertsDirstring`help:"Directory containing server certs (tls.key, tls.crt) and the CA used to verify client certificates (ca.crt)" env:"TLS_SERVER_CERTS_DIR"`
19
16
Insecurebool`help:"Run without mTLS credentials. If you supply this flag --tls-server-certs-dir will be ignored."`
20
17
MaxRecvMessageSizeint`help:"Maximum size of received messages in MB." default:"4"`
18
+
19
+
DefaultSourcestring`help:"Default template source to use when input is not provided to the function." default:"" env:"FUNCTION_GO_TEMPLATING_DEFAULT_SOURCE"`
0 commit comments