* Add DB changes for host, set members, and host addresses for plugins. * Add priority, address review feedback, update tests, naming, protos Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com> Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
26 lines
592 B
Go
26 lines
592 B
Go
package host
|
|
|
|
import "github.com/hashicorp/boundary/internal/boundary"
|
|
|
|
// Catalog contains the common methods across all the different types of host
|
|
// catalogs.
|
|
type Catalog interface {
|
|
boundary.Resource
|
|
GetScopeId() string
|
|
}
|
|
|
|
// Set contains the common methods across all the different types of host sets.
|
|
type Set interface {
|
|
boundary.Resource
|
|
GetCatalogId() string
|
|
}
|
|
|
|
// Host contains the common methods across all the different types of hosts.
|
|
type Host interface {
|
|
boundary.Resource
|
|
GetCatalogId() string
|
|
GetAddress() string
|
|
GetIpAddresses() []string
|
|
GetDnsNames() []string
|
|
}
|