Commits
- Commit:
e0c24850440b8bcaa5bf6a49c0dd493fb30e94fb- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support Icinga2 hostgroups
Tests of hostgroup operations are done in TestFilter
- Commit:
6c70362050af3bf13a06cde4ed47aa49064b1813- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: correct doc comment about type
- Commit:
26fb88e9ebc4192da36411de66032158b424369d- From:
- Oliver Lowe <o@olowe.co>
- Date:
Generate CRUD code using go generate
Explanation for use is in the README
- Commit:
82fc97ff8eb537c28bce19af5ffb697773bd200c- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge Hosts and FilterHosts
Getting all Hosts is the same as calling FilterHosts with an empty
filter anyway.
- 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:
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!
