Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultAddress = "https://metadata.packet.net/"
)
Variables ¶
This section is empty.
Functions ¶
func NewDatasource ¶
func NewDatasource(root string) *metadataService
Types ¶
type Metadata ¶
type Metadata struct { Hostname string `json:"hostname"` SSHKeys []string `json:"ssh_keys"` NetworkData NetworkData `json:"network"` }
Metadata that will be pulled from the https://metadata.packet.net/metadata only. We have the opportunity to add more later.
type NetworkData ¶
Click to show internal directories.
Click to hide internal directories.