2023-04-13 13:07:06 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-04-13 13:07:06 +00:00
|
|
|
|
|
|
|
//go:build !consulent
|
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package proxycfg
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/go-testing-interface"
|
|
|
|
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
|
|
"github.com/hashicorp/consul/proto/private/pbpeering"
|
|
|
|
)
|
|
|
|
|
|
|
|
func extraDiscoChainConfig(t testing.T, variation string, entMeta acl.EnterpriseMeta) ([]structs.ConfigEntry, []*pbpeering.Peering) {
|
|
|
|
t.Fatalf("unexpected variation: %q", variation)
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func extraUpdateEvents(t testing.T, variation string, dbUID UpstreamID) []UpdateEvent {
|
|
|
|
t.Fatalf("unexpected variation: %q", variation)
|
|
|
|
return nil
|
|
|
|
}
|