Version 1 of a Go library for interacting with the Aurora Scheduler
Find a file
Renan DelValle a941bcb679
Thread safety, misc fixes, and refactoring (#51)
* Changing incorrect license in some source files.

* Changing CreateService to mimic CreateJob by setting the batch size to the instance count.

* Changing Getcerts to GetCerts to match the style of the rest of the codebase.

* Overhauled error handling. Backoff now recognizes temporary errors and continues to retry if it finds one.

* Changed thrift function call wrapper to be more explicitly named and to perform more safety checks.

* Moved Jitter function from realis to retry.

* API code is now more uniform and follows a certain template.

* Lock added whenever a thrift call is made or when a modification is done to the connection. Note that calling ReestablishConn externally may result in some race conditions. We will move to make this function private in the near future.

* Added test for Realis session thread safety. Tested ScheduleStatus monitor. Tested monitor timing out.

* Returning nil whenever there is an error return so that there are no ambiguities.

* Using defer with unlock so that the lock is still released if a panic is invoked.
2018-01-21 19:30:01 -08:00
.github Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
docs Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
examples Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
gen-go/apache/aurora Thrift API update and Pull Request template. (#43) 2017-12-14 14:37:08 -08:00
response Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
vendor Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
.auroraversion Thrift API update and Pull Request template. (#43) 2017-12-14 14:37:08 -08:00
.gitignore use exponential back off func from realis lib (#39) 2017-11-04 15:06:26 -07:00
auroraAPI.thrift Thrift API update and Pull Request template. (#43) 2017-12-14 14:37:08 -08:00
clusters.go Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
clusters_test.go Fixing semantic errors in docs/getting-started.md (#44) 2017-12-22 08:53:05 -08:00
container.go Specify field names when initializing structs (#47) 2017-12-23 10:33:42 -08:00
errors.go Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
generateBindings.sh Moving gen-go out of vendored folder into it's own package so that it can be imported by other projects 2016-09-19 13:15:44 -04:00
Gopkg.lock Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
Gopkg.toml Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
job.go Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
LICENSE Public release of gorealis 2016-08-02 11:42:00 -07:00
logger.go Fixing semantic errors in docs/getting-started.md (#44) 2017-12-22 08:53:05 -08:00
monitors.go Changing the drain monitor to match the rest of the monitors using timer and ticker. Made a generic schedule status monitor that can be used with any of the default sets provided. (#49) 2018-01-07 13:30:02 -08:00
README.md Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
realis.go Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
realis_e2e_test.go Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
retry.go Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
updatejob.go Specify field names when initializing structs (#47) 2017-12-23 10:33:42 -08:00
zk.go Introducing temporary errors. Refactored reestablish connection code … (#50) 2018-01-16 14:35:01 -08:00

gorealis GoDoc

Go library for interacting with Apache Aurora.

Aurora version compatibility

Please see .auroraversion to see the latest Aurora version against which this library has been tested.

Usage

To Do

Contributions

Contributions are always welcome. Please raise an issue so that the contribution may be discussed before it's made.