rename machines to connections in config

This commit is contained in:
Pavel Sviderski committed 2024-09-10 16:20:00 +10:00
1 parent ddf7d23351
commit 4e2640bbd2
4 files changed
+31 -17

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@ package config
import "uncloud/internal/secret"
type Cluster struct {
Name string `toml:"-"`
Machines []MachineConnection `toml:"machines"`
Name string `toml:"-"`
Connections []MachineConnection `toml:"connections"`
// UserPrivateKey is the user's WireGuard private key used to connect to cluster machines.
UserPrivateKey secret.Secret `toml:"user_private_key"`
}