Go SDK
The code for the Golang SDk is available on Github. Please feel free to file PRs, issues, etc. there.
Quick Start
Setup conductor go package
Create a folder to build your package:
Get Conductor Go SDK
Configuration
Authentication settings (optional)
Use if your conductor server requires authentication * keyId: Key * keySecret: Secret for the Key
Access Control Setup
See Access Control for more details on role based access control with Conductor and generating API keys for your environment.
Configure API Client
apiClient := client.NewAPIClient(
settings.NewAuthenticationSettings(
KEY,
SECRET,
),
settings.NewHttpSettings(
"https://developer.orkescloud.com/",
),
)
Set up Logging
SDK uses logrus for the logging.
func init() {
log.SetFormatter(&log.TextFormatter{})
log.SetOutput(os.Stdout)
log.SetLevel(log.DebugLevel)
}