mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-03 23:15:28 +00:00
15 lines
355 B
Go
15 lines
355 B
Go
package sshutil
|
|
|
|
// HostGroup defines expected attributes for a host group that a host might belong to.
|
|
type HostGroup struct {
|
|
ID string
|
|
Name string
|
|
}
|
|
|
|
// Host defines expected attributes for an ssh host.
|
|
type Host struct {
|
|
HostID string `json:"hid"`
|
|
HostGroups []HostGroup `json:"host_groups"`
|
|
Hostname string `json:"hostname"`
|
|
}
|