chore: move legacy unused WG tunnel and client connector to experiment/wg

This commit is contained in:
Pasha Sviderski committed 2026-09-14 19:22:42 +10:00
1 parent e81e130544
commit e9e7b3a61e
7 files changed
+45 -33

No files matched your search

+2 -6
View File
@@ -7,8 +7,6 @@ import (
"net/netip"
"strconv"
"strings"
"github.com/psviderski/uncloud/internal/secret"
)
type MachineConnection struct {
@@ -23,10 +21,8 @@ type MachineConnection struct {
// The pointer is used to omit the field when not set. Otherwise, yaml marshalling includes an empty object.
TCP *netip.AddrPort `yaml:"tcp,omitempty"`
// Unix is the path to the machine's API unix socket.
Unix string `yaml:"unix,omitempty"`
Host string `yaml:"host,omitempty"`
PublicKey secret.Secret `yaml:"public_key,omitempty"`
MachineID string `yaml:"machine_id,omitempty"`
Unix string `yaml:"unix,omitempty"`
MachineID string `yaml:"machine_id,omitempty"`
}
func (c *MachineConnection) String() string {