mirror of https://github.com/hashicorp/consul
parent
dc685df58e
commit
3e27e57c48
@ -1,19 +0,0 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package authv2beta1
|
||||
|
||||
import (
|
||||
pbresource "github.com/hashicorp/consul/proto-public/pbresource"
|
||||
)
|
||||
|
||||
func (src *Source) GetWorkloadIdentityReference() *pbresource.Reference {
|
||||
return &pbresource.Reference{
|
||||
Type: WorkloadIdentityType,
|
||||
Name: src.IdentityName,
|
||||
Tenancy: &pbresource.Tenancy{
|
||||
Partition: src.Partition,
|
||||
Namespace: src.Namespace,
|
||||
},
|
||||
}
|
||||
}
|
Loading…
Reference in new issue