{"id":16928481,"url":"https://github.com/dirien/faas-cloud-svc-status","last_synced_at":"2026-05-08T18:35:53.588Z","repository":{"id":51308314,"uuid":"367822398","full_name":"dirien/faas-cloud-svc-status","owner":"dirien","description":"Get the status of different cloud services","archived":false,"fork":false,"pushed_at":"2021-05-16T16:01:14.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-31T19:55:46.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-16T08:19:28.000Z","updated_at":"2022-04-26T04:51:25.000Z","dependencies_parsed_at":"2022-09-09T23:22:27.605Z","dependency_job_id":null,"html_url":"https://github.com/dirien/faas-cloud-svc-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dirien/faas-cloud-svc-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ffaas-cloud-svc-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ffaas-cloud-svc-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ffaas-cloud-svc-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ffaas-cloud-svc-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirien","download_url":"https://codeload.github.com/dirien/faas-cloud-svc-status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ffaas-cloud-svc-status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32792428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:36:54.441Z","updated_at":"2026-05-08T18:35:53.564Z","avatar_url":"https://github.com/dirien.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Faasd Example function (golang)\nThis is an example function for the faasd and JAMstack Stack I recently build and deployed.\n\nThe idea of the function is tho get the status of different cloud services.\n\nAt the moment its only:\n\n- jFrog\n- STACKIT\n- github\n- digitalocean\n- dropbox\n- reddit\n- scaleway\n\n## faas-cli\n\nThere are several ways to download the faas-cli on your local machine. The most convinent way is to use arkade\n\n###Get arkade\n\nNote: you can also run without `sudo` and move the binary yourself\n\n```shell\ncurl -sLS https://dl.get-arkade.dev | sudo sh\n\narkade --help\nark --help  # a handy alias\n```\n\n###Install faas-cli\n\n```shell\nark get faas-cli\n```\n\nYou should see following output.\n\n```shell\nDownloading faas-cli\nhttps://github.com/openfaas/faas-cli/releases/download/0.13.9/faas-cli-darwin\n8.69 MiB / 8.69 MiB [-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%\nTool written to: /Users/dirien/.arkade/bin/faas-cli\n\n# Add (faas-cli) to your PATH variable\nexport PATH=$PATH:$HOME/.arkade/bin/\n\n# Test the binary:\n/Users/dirien/.arkade/bin/faas-cli\n\n# Or install with:\nsudo mv /Users/dirien/.arkade/bin/faas-cli /usr/local/bin/\n```\n\n## Templates\n\n```shell\nfaas-cli template store list\n\nNAME                    SOURCE             DESCRIPTION\ncsharp                  openfaas           Official C# template\ndockerfile              openfaas           Official Dockerfile template\n...\ngolang-http              openfaas           Golang HTTP template\ngolang-middleware        openfaas           Golang Middleware template\n...\n```\n\nChoose the golang-http template and retrieve it locally with the command:\n\n```shell\nfaas-cli template store pull golang-http\n```\n\nNow you can create the function via templage with this commmand:\n\n```shell\nfaas-cli new  faas-cloud-svc-status --lang golang-http\n```\n\nYou will now see two files generate:\n\n```shell\ngo-fn.yml\n./faas-cloud-svc-status/\n./faas-cloud-svc-status/handler.go\n```\n\nYou can now edit handler.go and use the faas-cli to build and deploy your function.\n\nDependencies should be managed with a Go vendoring tool such as dep or Go modules.\n\nI use go modules, so I created the `go.mod` and added \n\n```yaml\n...\nbuild_args:\n  GO111MODULE: auto\n...\n```\nto my faas-cloud-svc-status.yml\n\n## Build and deploy\n\nBuild your function via\n\n```shell\nfaas-cli build -f faas-cloud-svc-status.yml\n```\n\nBuild your function via\n\n```shell\nfaas-cli build -f faas-cloud-svc-status.yml\n```\n\nPush the image with following image to your registry\n\n```shell\nfaas-cli push -f faas-cloud-svc-status.yml\n```\n\nDo deploy the function, we need to\n\n```shell\nfaas-cli login --password xxxx\n```\n\nDon't forgett to set the URL for your openfaas server\n\n```shell\nexport OPENFAAS_URL=https://faasd.ediri.online\n```\n\nDeploy via this command:\n\n```shell\nfaas-cli deploy -f faas-cloud-svc-status.yml\n```\n\nLogs you can check via this command:\n\n```shell\nfaas-cli logs faas-cloud-svc-status\n\n2021-05-16T14:00:38Z 2021/05/16 14:00:38 SIGTERM received.. shutting down server in 10s\n2021-05-16T14:00:38Z 2021/05/16 14:00:38 Removing lock-file : /tmp/.lock\n2021-05-16T14:00:38Z 2021/05/16 14:00:38 [entrypoint] SIGTERM received.. shutting down server in 10s\n2021-05-16T14:00:48Z 2021/05/16 14:00:48 No new connections allowed. Exiting in: 10s\n2021-05-16T14:00:48Z 2021/05/16 14:00:48 [entrypoint] No new connections allowed. Exiting in: 10s\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Version: 0.8.4 SHA: bbd2e96214264d6b87cc97745ee9f604776dd80f\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Forking: ./handler, arguments: []\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Started logging: stderr from function.\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Started logging: stdout from function.\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Watchdog mode: http\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Timeouts: read: 10s, write: 10s hard: 10s.\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Listening on port: 8080\n2021-05-16T14:00:59Z 2021/05/16 14:00:59 Writing lock-file to: /tmp/.lock\n```\n\nCurrent details under the [official documentation](https://docs.openfaas.com/cli/templates/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Ffaas-cloud-svc-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirien%2Ffaas-cloud-svc-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Ffaas-cloud-svc-status/lists"}