Skip to content

Datasance/iofog-go-sdk

 
 

Repository files navigation

ioFog Go SDK

CI Go License

Upstream: eclipse-iofog/iofog-go-sdk · Datasance distribution: Datasance/iofog-go-sdk

This SDK contains a set of Golang packages developers can use for the purposes of:

  • Developing your own edge microservices that run on ioFog Edge Compute Networks
  • Interacting with ioFog Controller REST API

Go

The SDK requires Go 1.26.4+ (see go.mod).

go get github.com/eclipse-iofog/iofog-go-sdk/v3

Packages

The following is a high-level overview of the functionality provided by each package.

Each package contains its own README.md so please refer to those for further details.

Microservices

The microservices package (github.com/eclipse-iofog/iofog-go-sdk/v3/pkg/microservices) contains functionality required to implement edge microservices that run on ioFog Edge Compute Networks. It is aligned with EdgeletAPI v1 and includes microservice configuration retrieval and control websocket signal handling over HTTPS/WSS using mounted service-account token and CA material.

Client

The client package (github.com/eclipse-iofog/iofog-go-sdk/v3/pkg/client) contains an HTTP client to use with ioFog Controller's REST API v3. You can view the full REST API specification at iofog.org.

Deploy applications

The apps package (github.com/eclipse-iofog/iofog-go-sdk/v3/pkg/apps) contains executors to deploy ioFog applications and microservices using the client package. This package is used by iofogctl and iofog-operator to deploy applications and microservices based on YAML configuration files with default apiVersion: iofog.org/v3.

Quality gates

Quality gates before contributing:

make lint
make security-code
make vulncheck

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 97.8%
  • Makefile 1.9%
  • Shell 0.3%