mirror of
https://github.com/smallstep/certificates.git
synced 2024-10-31 03:20:16 +00:00
eb42ea90db
Tags are more flexible and what we use in the managed offering.
17 lines
371 B
Go
17 lines
371 B
Go
package sshutil
|
|
|
|
// Hosts are tagged with k,v pairs. These tags are how a user is ultimately
|
|
// associated with a host.
|
|
type HostTag struct {
|
|
ID string
|
|
Name string
|
|
Value string
|
|
}
|
|
|
|
// Host defines expected attributes for an ssh host.
|
|
type Host struct {
|
|
HostID string `json:"hid"`
|
|
HostTags []HostTag `json:"host_tags"`
|
|
Hostname string `json:"hostname"`
|
|
}
|