Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DeviceIPv4 string `json:"deviceIP"`
DeviceIPv6 string `json:"deviceIPv6"`
PublicKey string `json:"publicKey"`
TunnelEndpoint string `json:"tunnelEndpoint"`
APIServerIP string `json:"apiServerIP"`
}
Config is the information the device needs to bootstrap its connection to the APIServer
func (*Config) APIServerPeer ¶
type DeviceInfo ¶
type DeviceInfo struct {
Serial string `json:"serial"`
PublicKey string `json:"publicKey"`
Platform string `json:"platform"`
Owner string `json:"owner"`
}
DeviceInfo is the information sent by the device during enrollment
type GatewayInfo ¶
type GatewayInfo struct {
Name string `json:"name"`
PublicIP string `json:"endpoint"`
PublicKey string `json:"publicKey"`
}
GatewayInfo is the info provided by the gateway-agent in order to bootstrap a gateway
Click to show internal directories.
Click to hide internal directories.