Skip to content

Commit 7827f93

Browse files
committed
Remove armhf templates
These are not required, build on the device or use buildx Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent d48ad24 commit 7827f93

File tree

19 files changed

+0
-540
lines changed

19 files changed

+0
-540
lines changed

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ $ faas new --list
99
1010
Languages available as templates:
1111
- golang-http
12-
- golang-http-armhf
1312
- golang-middleware
14-
- golang-middleware-armhf
1513
```
1614

17-
> To build and deploy a function for your Raspberry Pi or ARMv7 in general, use the language templates ending in `-armhf`.
18-
1915
The two templates are equivalent with `golang-http` using a structured request/response object and the alternative implementing a Golang `http.HandleFunc` from the Golang stdlib. `golang-http` is more "conventional" for a Golang serverless template but this is a question of style/taste.
2016

2117
## Dependencies
@@ -43,8 +39,6 @@ $ faas template pull https://github.com/openfaas-incubator/golang-http-template
4339
$ faas new --lang golang-http <fn-name>
4440
```
4541

46-
This template is also available for armhf / Raspberry Pi via the name `golang-http-armhf`.
47-
4842
### Example usage
4943

5044
Example writing a successful message:
@@ -199,8 +193,6 @@ $ faas template pull https://github.com/openfaas-incubator/golang-http-template
199193
$ faas new --lang golang-middleware <fn-name>
200194
```
201195

202-
This template is also available for armhf / Raspberry Pi via the name `golang-middleware-armhf`.
203-
204196
### Example usage
205197

206198
Example writing a JSON response:

template/golang-http-armhf/.dockerignore

-1
This file was deleted.

template/golang-http-armhf/.gitignore

-1
This file was deleted.

template/golang-http-armhf/Dockerfile

-51
This file was deleted.

template/golang-http-armhf/function/handler.go

-20
This file was deleted.

template/golang-http-armhf/go.mod

-7
This file was deleted.

template/golang-http-armhf/go.sum

-2
This file was deleted.

template/golang-http-armhf/main.go

-138
This file was deleted.

template/golang-http-armhf/template.yml

-12
This file was deleted.

template/golang-http-armhf/vendor/github.com/openfaas/templates-sdk/LICENSE

-21
This file was deleted.

template/golang-http-armhf/vendor/github.com/openfaas/templates-sdk/go-http/README.md

-41
This file was deleted.

template/golang-http-armhf/vendor/github.com/openfaas/templates-sdk/go-http/handler.go

-56
This file was deleted.

template/golang-http-armhf/vendor/modules.txt

-2
This file was deleted.

template/golang-middleware-armhf/.gitignore

-1
This file was deleted.

0 commit comments

Comments
 (0)