Commits
- Commit:
9ffce56b80990611dbb20ba6c4af4df4f9846140
- From:
- Oliver Lowe <o@olowe.co>
- Date:
Properly encode spaces in filter expressions
This is a bit tricky. url.QueryEscape() encodes spaces in queries as
"+", but Icinga2 wants them as "%20".
A test case is included because this was kinda tricky to debug.
- Commit:
02a1a10065dd3be4f89f30756adc670b1a8ab468
- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support cascading delete of objects
- Commit:
6c70362050af3bf13a06cde4ed47aa49064b1813
- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: correct doc comment about type
- 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:
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:
83f511305d76af055cecefced0265cee26d63d75
- From:
- Oliver Lowe <o@olowe.co>
- Date:
add Icinga service and host states
Nothing actually uses these yet but they will soon!
- Commit:
5055878019b72a9ed3408e337a21e868c3842cf5
- From:
- Oliver Lowe <o@olowe.co>
- Date:
more docs
- Commit:
6e415953de07ac11e0f54ac397d156b23f384a15
- From:
- Oliver Lowe <o@olowe.co>
- Date:
dump
- 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