Commits
- Commit:
6d1ce85e966615f3886d8a2431b3e859d3008db6- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge get and getFilter methods
Doing a GET without a query is the same as doing a GET with
an empty query, so there's no point having 2 separate methods.
- Commit:
60c115fb1c7683cea9553380eddaeb0033dd17bf- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge filter and all objects methods
Getting all objects is the same as getting objects with a zero filter.
- Commit:
fc8956331f70b23ffe89c8307de77bbc0ecccb39- From:
- Oliver Lowe <o@olowe.co>
- Date:
Deduplicate case conditions
Encoding a Host, Service and User as JSON is the same so
there's no point having different statements.
- Commit:
730f973b47017c91cc9487391554c7ecc861dfc8- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add test for getting objects with a filter
- Commit:
ae81184d0c6aa8be7d10adac10e675d9096a3a3b- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add tests for user management
- Commit:
76669f9b1f06b7299f2261667b4b21db38db7cae- From:
- Oliver Lowe <o@olowe.co>
- Date:
I learned how to do some generic programming
New type "object" is an interface to represent an Icinga2 object.
I added heaps of other stuff! On our way to 1000 lines of code!
- Commit:
514f2cd100380e2d124fa33c56f4e9a9308b907e- From:
- Oliver Lowe <o@olowe.co>
- Date:
Export NewRequest
So that people using the package can make their own requests
for anything unimplemented by the package itself.
- Commit:
6456042b9dd325c6b9b1e246acac3a21bfae58fe- From:
- Oliver Lowe <o@olowe.co>
- Date:
Complete the README with a tutorial and a "why?"
- Commit:
9ea5152367e4cfb31a1d08d23200575dc64058c4- From:
- Oliver Lowe <o@olowe.co>
- Date:
Use slightly clearer param name
- Commit:
83f511305d76af055cecefced0265cee26d63d75- From:
- Oliver Lowe <o@olowe.co>
- Date:
add Icinga service and host states
Nothing actually uses these yet but they will soon!
- Commit:
8635d20e62566f62e2365441d2091b721cd8ef71- From:
- Oliver Lowe <o@olowe.co>
- Date:
Release under ISC license
- Commit:
5055878019b72a9ed3408e337a21e868c3842cf5- From:
- Oliver Lowe <o@olowe.co>
- Date:
more docs
- Commit:
6e415953de07ac11e0f54ac397d156b23f384a15- From:
- Oliver Lowe <o@olowe.co>
- Date:
dump
- Commit:
9ab732cda40be5693e3f1ddba1a5ebf7de9e1bd5- From:
- Oliver Lowe <o@olowe.co>
- Date:
README: use http.DefaultClient in example
The Go devs set useful things for us that we shouldn't lose just
because we're something insecure.
- Commit:
b74ab3b391ccb35e2941c6d15039804dfbcd55f4- From:
- Oliver Lowe <o@olowe.co>
- Date:
go fmt
- Commit:
dad28b1a8f4f17dd47854db715221aa985024cef- From:
- Oliver Lowe <o@olowe.co>
- Date:
set correct request Content-Type and Accept values in header
- Commit:
007a3d09eccd162b288c0584b68b0fdb83becf11- From:
- Oliver Lowe <o@olowe.co>
- Date:
Embed http.Client in Client
No need to have it named
- Commit:
2c4d16aea2e6138d88d6ecb7cec9d9af2e793593- From:
- Oliver Lowe <o@olowe.co>
- Date:
initial commit
