HashiCorp maintains go-tfe, a Go client for Terraform Cloud's API.
Review the Terraform Cloud API Documentation.
Automatic runs
API-driven runs