A go (golang) port of taskcluster-client
Go Other
Latest commit 72514fa Feb 22, 2017 @petemoore petemoore committed on GitHub Merge pull request #17 from taskcluster/imbstack-patch-1
Update build.sh version mismatch message
Permalink
Failed to load latest commit information.
auth Regenerated library to pick up latest schema changes Feb 22, 2017
authevents Committed generated code Jun 24, 2016
awsprovisioner Regenerated library to pick up latest schema changes Feb 22, 2017
awsprovisionerevents Regenerated library to pick up latest schema changes Jul 6, 2016
codegenerator Regenerated library to pick up latest schema changes Feb 22, 2017
github Regenerated library to pick up latest schema changes Feb 22, 2017
githubevents Regenerated library to pick up latest schema changes Feb 8, 2017
hooks Regenerated library to pick up latest schema changes Feb 22, 2017
index Regenerated library to pick up latest schema changes Feb 22, 2017
integrationtest Rename tcclient.ConnectionData -> tcclient.Client Jan 27, 2017
login Regenerated library to pick up latest schema changes Feb 22, 2017
notify Regenerated library to pick up latest schema changes Feb 22, 2017
pulse Regenerated library to pick up latest schema changes Feb 22, 2017
purgecache Regenerated library to pick up latest schema changes Feb 22, 2017
purgecacheevents Committed generated code Jun 24, 2016
queue Regenerated library to pick up latest schema changes Feb 22, 2017
queueevents Regenerated library to pick up latest schema changes Oct 4, 2016
scheduler Regenerated library to pick up latest schema changes Feb 22, 2017
schedulerevents Committed generated code Jun 24, 2016
secrets Regenerated library to pick up latest schema changes Feb 22, 2017
treeherderevents Regenerated library to pick up latest schema changes Jul 14, 2016
.gitignore Added code coverage reporting and corrected IRC channel name in READM… Aug 5, 2015
.travis.yml Upgrade go from 1.7 to 1.7.3 to get security fixes Oct 24, 2016
LICENSE Initial commit Jan 19, 2015
README.md Added notify service to README.md Aug 10, 2016
build.sh Update build.sh version mismatch message Feb 22, 2017
creds.go Rename tcclient.ConnectionData -> tcclient.Client Jan 27, 2017
creds_hmac_test.go Bug 1285197 - relocate github.com/taskcluster/taskcluster-client-go/t… Jul 7, 2016
creds_test.go Bug 1285197 - relocate github.com/taskcluster/taskcluster-client-go/t… Jul 7, 2016
http.go Rename tcclient.ConnectionData -> tcclient.Client Jan 27, 2017
http_test.go Bug 1285197 - relocate github.com/taskcluster/taskcluster-client-go/t… Jul 7, 2016
testcases.json Bug 1285197 - relocate github.com/taskcluster/taskcluster-client-go/t… Jul 7, 2016
time.go Bug 1285197 - relocate github.com/taskcluster/taskcluster-client-go/t… Jul 7, 2016

README.md

taskcluster-client-go

Build Status GoDoc Coverage Status License

A go (golang) port of taskcluster-client.

Complete godoc documentation here.

This library provides the following packages to interface with TaskCluster:

HTTP APIs

AMQP APIs

Example programs

To get you started quickly, I have also included some example programs that use both the http services and the amqp services:

  • This HTTP example program demonstrates the use of the auth package to query the expiry and expanded scopes of a given clientId.
  • This HTTP example program demonstrates the use of the auth package to update an existing clientId with a new description and expiry.
  • The AMQP example program demonstrates the use of the queueevents package to listen in on Task Cluster tasks being defined and executed.

Building

The libraries provided by this client are auto-generated based on the schemas listed under http://references.taskcluster.net/manifest.json combined with the supplementary information stored in apis.json.

In order to completely regenerate all of the HTTP and AMQP libraries, please run build.sh found in the top level directory. This will completely regenerate the library. Please note you will need an active internet connection as the build process must download several json files and schemas in order to build the library.

The code which generates the library can all be found under the top level codegenerator directory.

Contributing

Contributions are welcome. Please fork, and issue a Pull Request back with an explanation of your changes.

Travis

Travis build success/failure messages are posted to irc channel #taskcluster-bots on irc.mozilla.org:6697.