2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
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
|
|
|
}
|