This follows the same model as https://github.com/hashicorp/boundary/pull/1413 See there and CHANGELOG for more details.
9 lines
175 B
Go
9 lines
175 B
Go
package target
|
|
|
|
// HostSource is an interface that can be implemented by both a set and a
|
|
// singular host.
|
|
type HostSource interface {
|
|
HostCatalogId() string
|
|
Id() string
|
|
}
|