mirror of https://github.com/hashicorp/consul
17 lines
389 B
Go
17 lines
389 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package workloadselector
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
|
|
pbcatalog "github.com/hashicorp/consul/proto-public/pbcatalog/v2beta1"
|
|
)
|
|
|
|
// WorkloadSelecting denotes a resource type that uses workload selectors.
|
|
type WorkloadSelecting interface {
|
|
proto.Message
|
|
GetWorkloads() *pbcatalog.WorkloadSelector
|
|
}
|