|
@@ -223,11 +223,12 @@ type TrafficKeys struct {
|
|
|
|
|
|
// HostPull - response of a host's pull
|
|
// HostPull - response of a host's pull
|
|
type HostPull struct {
|
|
type HostPull struct {
|
|
- Host Host `json:"host" yaml:"host"`
|
|
|
|
- Nodes []Node `json:"nodes" yaml:"nodes"`
|
|
|
|
- Peers []wgtypes.PeerConfig `json:"peers" yaml:"peers"`
|
|
|
|
- ServerConfig ServerConfig `json:"server_config" yaml:"server_config"`
|
|
|
|
- PeerIDs PeerMap `json:"peer_ids,omitempty" yaml:"peer_ids,omitempty"`
|
|
|
|
|
|
+ Host Host `json:"host" yaml:"host"`
|
|
|
|
+ Nodes []Node `json:"nodes" yaml:"nodes"`
|
|
|
|
+ Peers []wgtypes.PeerConfig `json:"peers" yaml:"peers"`
|
|
|
|
+ ServerConfig ServerConfig `json:"server_config" yaml:"server_config"`
|
|
|
|
+ PeerIDs PeerMap `json:"peer_ids,omitempty" yaml:"peer_ids,omitempty"`
|
|
|
|
+ HostNetworkInfo HostInfoMap `json:"host_network_info,omitempty" yaml:"host_network_info,omitempty"`
|
|
}
|
|
}
|
|
|
|
|
|
// NodeGet - struct for a single node get response
|
|
// NodeGet - struct for a single node get response
|