This is a implementation of dim, which is built in python. But this time in go.
Go to file
Gibheer 25e2046e78 add container functions
This is the first major container draft and implements most of the
functions to create containers, remove them, show and set attributes on
them.

It also implements the special case in dim, that a list of all
containers and their free space is returned.
It currently does not implement a partial output when a subnet or
layer3domain is returned.
First I want to know how well it actually scales and works as this is a
major pain point in the python implementation.

At the moment the output also has the problem that it can grow quite
large in memory as the tree is built in the middleware. A better way
would be to build the json directly in the database so it can be
returned directly. We will have to see when this becomes a major issue.
2021-05-21 20:56:50 +02:00
query ignore unmapped values 2021-05-21 20:54:44 +02:00
schema fix not null constraint 2021-05-21 20:53:50 +02:00
types fix sql driver interface for subnet type 2021-05-21 20:56:17 +02:00
.gitignore add new dim config name to block list 2021-05-03 22:41:58 +02:00
container.go add container functions 2021-05-21 20:56:50 +02:00
dim.conf.example make dim.conf the default config name 2021-05-03 19:58:44 +02:00
go.mod add go.mod 2021-04-22 10:07:16 +02:00
go.sum add dependency file 2021-05-03 19:44:28 +02:00
ipblock_create.go add layer3domain create and ipblock create 2021-05-03 22:40:27 +02:00
layer3domain_attr.go fix a small typo 2021-05-09 21:22:20 +02:00
layer3domain_create.go add a way to set attributes 2021-05-07 10:17:05 +02:00
layer3domain_list.go add a way to set attributes 2021-05-07 10:17:05 +02:00
main.go add a debug output mode 2021-05-21 20:55:48 +02:00
pool.go add support for attributes in pools 2021-05-09 21:22:52 +02:00
server.go add a debug output mode 2021-05-21 20:55:48 +02:00
zone_create.go provide initial versions of zone endpoints 2021-04-28 21:09:38 +02:00
zone_list.go convert query result to dim result 2021-05-03 19:39:41 +02:00