]> go.fuhry.dev Git - runtime.git/commit
machines: add agent, coredns plugin and conf file templates
authorDan Fuhry <dan@fuhry.com>
Tue, 27 Feb 2024 20:58:30 +0000 (15:58 -0500)
committerDan Fuhry <dan@fuhry.com>
Tue, 27 Feb 2024 20:58:30 +0000 (15:58 -0500)
commitfa038f76016883a1d361ba4712bc9be0aa2f283a
treefeb09d8c2463d6c4dfde37c48ceb4c6c9ddc6102
parenta6b678330226c35d0213c67a79afc6f4b76662b6
machines: add agent, coredns plugin and conf file templates

Port of the python machines client.

Not all templates are fixed up and ready to go, only the ones that are known to be needed on linux routers.

No captive portal support for Linux yet.
34 files changed:
go.mod
go.sum
machines/agent.go [new file with mode: 0644]
machines/client.go
machines/coredns_plugin/registry.go [new file with mode: 0644]
machines/coredns_plugin/registry_store.go [new file with mode: 0644]
machines/coredns_plugin/setup.go [new file with mode: 0644]
machines/coredns_plugin/stats.go [new file with mode: 0644]
machines/event_watcher.go
machines/machines_agent/Makefile [new file with mode: 0644]
machines/machines_agent/main.go [new file with mode: 0644]
machines/oauth2.go
machines/render.go [new file with mode: 0644]
machines/router_addresses_bsd.go [new file with mode: 0644]
machines/router_addresses_linux.go [new file with mode: 0644]
machines/services.go [new file with mode: 0644]
machines/services_linux.go [new file with mode: 0644]
machines/stats.go [new file with mode: 0644]
machines/templates/corefile.conf.j2 [new file with mode: 0644]
machines/templates/dhcpd4.conf.j2 [new file with mode: 0644]
machines/templates/dhcpd6.conf.j2 [new file with mode: 0644]
machines/templates/forward.zone.j2 [new file with mode: 0644]
machines/templates/hostname.bridge.j2 [new file with mode: 0644]
machines/templates/hostname.native.j2 [new file with mode: 0644]
machines/templates/hostname.vlan.j2 [new file with mode: 0644]
machines/templates/maclist.conf.j2 [new file with mode: 0644]
machines/templates/named.conf.j2 [new file with mode: 0644]
machines/templates/rad.conf.j2 [new file with mode: 0644]
machines/templates/radvd.conf.j2 [new file with mode: 0644]
machines/templates/reverse.zone.j2 [new file with mode: 0644]
machines/templates/rtadvd.conf.j2 [new file with mode: 0644]
machines/templates/unreg-lockdown.conf.j2 [new file with mode: 0644]
machines/types_test.go [new file with mode: 0644]
utils/strings2/strings2.go [new file with mode: 0644]