53-run-commands-pre-up-and-post-down

- Ability to run a command pre up and post down
- Ability to be a client in one mesh and a peer in the other
- Added dev card to specify different sync rate, keepalive rate per
  mesh.
This commit is contained in:
Tim Beatham
2023-12-10 19:21:54 +00:00
parent 4a8a39601f
commit fe14f63217
27 changed files with 466 additions and 474 deletions

View File

@@ -16,6 +16,7 @@ type NewMeshArgs struct {
// Endpoint is the routable alias of the machine. Can be an IP
// or DNS entry
Endpoint string
Role string
}
type JoinMeshArgs struct {
@@ -25,12 +26,12 @@ type JoinMeshArgs struct {
IpAdress string
// Port is the WireGuard port to expose
Port int
// Endpoint is the routable address of this machine. If not provided
// defaults to the default address
// Endpoint to use to override the default
Endpoint string
// Client specifies whether we should join as a client of the peer
// we are connecting to
Client bool
Role string
}
type PutServiceArgs struct {