2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 18:39:22 +00:00
|
|
|
|
2021-02-12 22:31:02 +00:00
|
|
|
package structs
|
|
|
|
|
2022-03-13 03:55:53 +00:00
|
|
|
import "github.com/hashicorp/consul/acl"
|
|
|
|
|
2021-02-12 22:31:02 +00:00
|
|
|
// Identity of some entity (ex: service, node, check).
|
|
|
|
//
|
|
|
|
// TODO: this type should replace ServiceID, ServiceName, and CheckID which all
|
|
|
|
// have roughly identical implementations.
|
|
|
|
type Identity struct {
|
|
|
|
ID string
|
2022-03-13 03:55:53 +00:00
|
|
|
acl.EnterpriseMeta
|
2021-02-12 22:31:02 +00:00
|
|
|
}
|