Skip to main content
Version: v3.9.0

Go SDK

This is the documentation for module github.com/eclipse-iofog/iofog-go-sdk/v3. It describes the public API in the current source tree (Controller REST v3.9 client, EdgeletAPI v1, YAML apiVersion default iofog.org/v3). Release notes live in the module repository.

The SDK is a library. It does not ship a CLI. potctl and the operator call these packages.

Start here​

If you want toRead
Install the module and call the Controller onceGetting started
Understand which package to importPackages
Authenticate, TLS, and token handlingSecurity model
See why routes were removedMessaging

How-to guides​

TaskGuide
Log in and call Controller RESTUse the Controller client
Deploy Application or Microservice YAMLDeploy YAML
Read config inside an edge containerWrite an edge microservice
Exec into a container or tail logsExec and logs
Manage models, Knowledge, and RuntimeClassesFleet resources

Reference​

PackageImport pathReference
Controller REST client.../pkg/clientClient
YAML deploy executors.../pkg/appsApps
EdgeletAPI v1.../pkg/microservicesMicroservices
NATS control planemethods on client.ClientNATS
Kubernetes helpers.../pkg/k8s, .../pkg/k8s/operatorKubernetes
Architecture codes and registry ids.../pkg/arch, client mapsCodes
Errors, retries, HTTP statusclient, apps, microservicesErrors
Group 3See anything wrong with the document? Help us improve it!